A fully managed C# library that translates, validates, acknowledges and rebuilds EDI

Ships as a NuGet package for .NET Core and .NET Framework. Covers all ten EDI standards plus custom flat files, and it is included in every plan.
EDI to typed objects

Translates between EDI and typed .NET objects that are compatible with the structured JSON. Read a purchase order as a C# class, then serialize it with System.Text.Json — or write the object back out as valid EDI.

Stream-based parser

Read large files, split by loops or transactions, de-batch multiple transmissions, and extract data from broken files. Every reader is stream-based and async, with automatic delimiter detection.

Configurable templates

Every message type is specified by a C# class annotated with EDI attributes. Rename properties, share segments across versions, and modify any template to a partner-specific format.

EDI generator

Write typed objects out to files or streams. Configurable delimiters, automatic trailers and line suffixes, and batches that span multiple interchanges.

Validation and acks

Attribute-based rules, CAQH-compliant HIPAA SNIP levels, and generated TA1, 997, 999 or CONTRL acknowledgments. Async validation also works on split messages.

Database and flat files

Entity Framework DbContexts available for X12, EDIFACT and HIPAA 5010. Support for read and write CSV, VDA and flat files - a capability neither Native nor Cloud has.

Translate EDI to typed .NET objects in a few lines

Typed C# objects for every message. They match the structured JSON Native and Cloud produce, and serialize with the JSON library you already use.
var edi = File.OpenRead(@"C:\ClaimPayment_837P.txt");
using (var reader = new X12Reader(edi, "EdiFabric.Templates.Hipaa"))
{
     var msg837P = (await reader.ReadToEndAsync()).OfType<TS837P>();
}
See examples X12 EDIFACT HL7 NCPDP
var claims837P = ediItems.OfType<TS837P>();
foreach (var claim837P in claims837P)
{
     var json = System.Text.Json.JsonSerializer.Serialize(claim837P);
}
See examples X12 EDIFACT HL7 NCPDP
foreach (var claim837P in claims837P)
{
    MessageErrorContext errorContext;
    if (!claim837P.IsValid(out errorContext))
    {
        var errors = errorContext.Flatten();
    }
}
See examples X12 EDIFACT HL7 NCPDP

Official examples by standard

Clone a repository, open it in Visual Studio, and run the same parse / generate / validate samples against your own files.
X12 and HIPAA

The full X12 suite, including HIPAA 5010 claims and benefits.

View on GitHub
EDIFACT

UN/EDIFACT messages, plus EANCOM where the same models apply.

View on GitHub
HL7

HL7 v2 messages parsed and written with the same C# templates.

View on GitHub
NCPDP

NCPDP Telco claims and transactions for pharmacy EDI.

View on GitHub
VDA

Automotive VDA files using the same reader and writer as EDI.

View on GitHub
Flat files

CSV, positional and mixed-mode files, unique to ediFabric .NET.

View on GitHub
SCRIPT

NCPDP SCRIPT examples for e-prescribing workflows.

View on GitHub

You do not buy ediFabric .NET on its own

Every plan includes ediFabric .NET, ediFabric Native and ediFabric Cloud. Pick .NET because you are building on .NET, not because of what it costs.
Included in every plan
Free forever to start

Community costs nothing and never expires, giving you 250 operations a day and one leased seat for non-production work. Developer and Enterprise lift the quota and the seat count, and all three include the same library.

The main EDI standards
All ten, plus flat files

X12, HIPAA, EDIFACT, EANCOM, HL7, NCPDP, VDA, IAIABC, EDIGAS and IATA, and it is the only one of the three that also reads and writes custom flat files. Your plan never limits which standards you get.

Your EDI data is safe
Nothing reaches us

Every operation runs inside your own application, on your own hardware. No EDI data and no PHI is ever transported to us, so ediFabric .NET sits entirely within the controls you already have in place for HIPAA or SOC 2.

Start translating EDI today

Install the NuGet package, authorize it with your serial key, and translate your first interchange in minutes. The free Community plan needs no credit card and never expires.