The Legendary EDI .NET

Translator and Validator

for B2B & Healthcare Files

Versatile, fast, and easy-to-use SDK for any .NET developer to parse, generate, validate, split, acknowledge, represent, view, document, and programmatically manipulate EDI files.

var stream = File.OpenRead(@"C:\ClaimPayment_837P.txt"); 
List<IEdiItem> ediItems;
using (var reader = new X12Reader(stream, "EdiFabric.Templates.Hipaa"))
{
    var items = await reader.ReadToEndAsync();
    ediItems = items.ToList();
}

var claims837P = ediItems.OfType<TS837P>();
var claim837P = new TS837P();
// build claim
var isa = new ISA();
// build ISA
var gs = new GS();
// build gs

using (var stream = new MemoryStream())
    using (var writer = new X12Writer(stream))
    {
        writer.Write(isa);
        writer.Write(gs);
        writer.Write(claim837P);
    }
var stream = File.OpenRead(@"C:\ClaimPayment_837P.txt"); 

using (var ediReader = new X12Reader(stream, 
		(ISA isa, GS gs, ST st) => typeof(TS837P).GetTypeInfo(), 
		new X12ReaderSettings { Split = true }))
{
	while (ediReader.Read())
	{		
		var claim837P = ediReader.Item as TS837P;		
	}
}
var claims837P = ediItems.OfType<TS837P>();

foreach (var claim837P in claims837P)
{
    MessageErrorContext errorContext;
    if (!claim837P.IsValid(out errorContext))
    {
        var errors = errorContext.Flatten();
    }
}
See Examples X12 EDIFACT HL7 NCPDP SCRIPT
var stream = File.OpenRead(@"C:\ClaimPayment_837P.txt"); 
List<IEdiItem> ediItems;

using (var reader = new X12Reader(stream, "EdiFabric.Templates.Hipaa"))
{
    ediItems = reader.ReadToEnd().ToList();
}

var claims837P = ediItems.OfType<TS837P>();
foreach (var claim837P in claims837P)
{
    var json = Newtonsoft.Json.JsonConvert.SerializeObject(claim837P);
}
See Examples X12 EDIFACT HL7 NCPDP SCRIPT
var stream = File.OpenRead(@"C:\ClaimPayment_837P.txt"); 
List<IEdiItem> ediItems;

using (var reader = new X12Reader(stream, "EdiFabric.Templates.Hipaa"))
{
    ediItems = reader.ReadToEnd().ToList();
}

var claims837P = ediItems.OfType<TS837P>();
foreach (var claim837P in claims837P)
{
    XDocument xml = claims837P.Serialize();
}
See Examples X12 EDIFACT HL7 NCPDP SCRIPT
var stream = File.OpenRead(@"C:\ClaimPayment_837P.txt");           
using (var reader = new X12Reader(stream, "EdiFabric.Templates.Hipaa"))
    while(reader.Read()) {
        var claim837P = reader.Item as TS837P;
        if(claim837P != null) {
            using (var db = new HIPAA_5010_837P_Context()) {
                claim837P.ClearCache();
                db.TS837P.Add(claim837P);
                db.SaveChanges();
            }
        }
    }
See Examples X12 EDIFACT

Designed for C#, .NET, EDI, X12, HIPAA, EDIFACT, HL7, NCPDP, EANCOM, VDA, PNRGOV

EdiFabric Veterans Affairs
EdiFabric Premera
EdiFabric Mckesson
EdiFabric Mckesson
EdiFabric Accenture
EdiFabric UnitedHealth Group
EdiFabric FedEx
EdiFabric FedEx
EdiFabric FedEx
EdiFabric FedEx

Developers first

Take your mind off the intricacies of EDI because we eliminate needless complexity and format specifics. You can get up and running with EDI in just a couple of minutes

Ready to roll

Parse, generate, validate, represent and acknowledge EDI with a collection of 5000+ customizable EDI templates for X12, EDIFACT, HIPAA, EANCOM, VDA, HL7, NCPDP, etc.

Scale at will

EdiFabric is a NuGet package and is fully integrated into your application(s). Scaling EdiFabric is as simple as scaling your other solutions, on-prem or in the cloud

Import & export

All EDI templates are compliant with Entity Framework 6 , and can be used to maintain custom databases. Native support for JSON and XML using Json.NET and XmlSerializer

Custom CSV files

Read or write custom flat files such as CSV, positional, delimited, or mixed mode. Use the common EDI templates format to model any flat file - plain, hierarchical, or composite

X12 HIPAA support

All messages for HIPAA 5010 and 4010 , HIPAA SNIP validation, external EDI Codes, Entity Framework databases, splitting for large messages or files

All EDI standards - One EDI developer tool

An EDI .NET developer SDK to parse, generate, validate, split, acknowledge, represent, view, and document EDI files. Supports X12, EDIFACT, HIPAA, EANCOM, HL7, NCPDP, VDA, IATA, IAIABC, etc.

Incorporate a small but powerful .NET SDK that supports all versions of .NET Framework and .NET Core, and gain instant insight into your EDI files.

All your EDI translation and validation operations in one place so you can reuse and attach them to any of your internal processes or solutions in a standard way.

EdiFabric Features
EDI SDK for .NET developers to parse, translate, read, create, generate or write EDI, X12, HIPAA, EDIFACT, EANCOM, VDA, PNRGOV, HL7, NCPDP, IAIABC
EDI SDK for .NET developers to parse, translate, read, create, generate or write EDI, X12, HIPAA, EDIFACT, EANCOM, VDA, PNRGOV, HL7, NCPDP, IAIABC

Handle partner-specific transactions with ease

EdiFabric was built to support both the standard and partner-specific EDI specifications easily. In fact, EdiFabric doesn't know the difference and processes all EDI messages according to their corresponding EDI template.

EDI templates are simple C# classes and can be configured to either match the standard EDI specification or the partner-specific version. Therefore, modifying an EDI template is a simple C# class modification, such as adding a new class property, adding a new field attribute, or deriving from a loop or segment class.

Partner Transactions

Get started with EDI in seconds, not weeks

Download, unzip and install a single NuGet package in seconds - no external dependencies, no lengthy setup, no hassle. Requires Visual Studio or Code.

Documentation, code examples and dedicated support directly from the developers who created the product.

Our license is perpetual, royalty-free, and account-owner unlimited, and you can deploy EdiFabric to as many environments as you want within your enterprise.

Install from NuGet
EDI SDK for .NET developers to parse, translate, read, create, generate or write EDI, X12, HIPAA, EDIFACT, EANCOM, VDA, PNRGOV, HL7, NCPDP, IAIABC
EDI NuGet for .NET developers to parse, translate, read, create, generate or write EDI, X12, HIPAA, EDIFACT, EANCOM, VDA, PNRGOV, HL7, NCPDP, IAIABC

Host it on-prem or in the cloud, scale as you grow

EdiFabric integrates well with Microsoft Azure (Functions, Logic Apps, Web Apps, etc.), AWS (Buckets and Lambda), MuleSoft, and many more.

The .NET Core version supports Linux, MacOs, Docker, and powers successful B2B (Amazon Vendor Portal) and Healthcare (Medicaid) implementations.

EdiFabric integrates into your product, hence, scales as part of your product.

C# Examples

Powering EDI Webpad & REST API for EDI

Let us handle all the heavy lifting for translating and validating your EDI files, so you don't have to worry about product updates, deployments or the latest EDI transaction releases.

EDI Webpad - the web editor to translate & validate X12, EDIFACT, HL7, NCPDP, VDA or Flat Files right in your browser. No software to install. Built for everyone. Instant results. Fully configurable.

Developer API - translate, view, edit, create, verify, document, import SEF, and acknowledge EDI & flat files in seconds.

Free API for EDI
EDI API to parse, translate, read, create, generate or write EDI, X12, HIPAA, EDIFACT, EANCOM, VDA, PNRGOV, HL7, NCPDP, IAIABC

Trusted by 500+ customers across the Globe

  • Translating EDI files for the top 3 healthcare companies in America, the U.S. Department of Veterans Affairs, the Government of New Zealand, the Danish Police, the Ports of Vancouver and Le Havre, the American Academy of Pediatrics, and many more
  • An integral part of Accenture's Public Health Platform for helping Medicaid Programs
  • Featured in BizTalk: Azure Applications book by the Technology Business Partner at the Bill & Melinda Gates Foundation
  • Used for Azure EDI order processing POC by the Principal Software Engineer Lead at Microsoft
Customer Reviews
EDI SDK for .NET developers to parse, translate, read, create, generate or write EDI, X12, HIPAA, EDIFACT, EANCOM, VDA, PNRGOV, HL7, NCPDP, IAIABC
EdiFabric, U.S. Veterans Affairs
EdiFabric, Premera
EdiFabric, Mckesson
EdiFabric, Accenture
EdiFabric, UnitedHealth Group
EdiFabric, FedEx

Ready to get started?

Get in touch or download the examples.