ediFabric reads, writes, validates, and acknowledges EDI in three ways: ediFabric .NET inside a .NET application, ediFabric Native from Python, Java, C, or C# through a native library, and ediFabric Cloud as a REST API. All three use the same serial key and the same plan.
Sign up free for Community Compare products
Get a serial key
Sign up for Community and copy the serial from Your Account. One serial works for .NET, Native, and Cloud. Community is free, never expires, and allows 250 operations per day shared across all three products, for non-production use. One operation is one parse, generate, validate, or acknowledge call.
Choose a product
| Product | Use it from | Standards | How to get it |
|---|---|---|---|
| ediFabric .NET | C# and any .NET 8, 9, 10 or .NET Framework 4.8 application | X12, HIPAA, EDIFACT, HL7, NCPDP, IATA PADIS, VDA, EDIGAS, flat files | NuGet package |
| ediFabric Native | Python, Java, C, C#, or any language that can call a C library, on Windows, Linux and macOS | X12 and HIPAA. EDIFACT, NCPDP, HL7 and others follow. | Download a library and clone the bindings |
| ediFabric Cloud | Any language or tool that can make an HTTPS request | X12, HIPAA, EDIFACT, HL7, NCPDP, VDA | Nothing to install |
.NET and Native run in your own process, so EDI data never leaves your network. Cloud is hosted by ediFabric.
ediFabric .NET
A .NET library that reads EDI into typed C# objects, writes them back to EDI, and validates them. It ships as the EdiFabric NuGet package plus a template package per EDI standard.
-
From the project directory, install the library and the templates for your standard:
dotnet add package EdiFabric dotnet add package EdiFabric.Templates.X12Swap
EdiFabric.Templates.X12for.Hipaa,.Edifact,.Hl7,.Ncpdp,.Padis,.Vda, or.Edigas. In Visual Studio, run the same packages withInstall-Packagein the Package Manager Console. -
Set the serial before any other call:
License.SetSerial("YOUR_SERIAL_KEY"); -
Read a file:
using (var reader = new X12Reader(File.OpenRead("PurchaseOrders.txt"), "EdiFabric.Templates.X12")) { var purchaseOrders = reader.ReadToEnd().OfType<TS850>(); }
No access to nuget.org? Download the examples ZIP and install the package from its EdiFabric.Sdk\NuGet folder.
More: Install ediFabric .NET · Get started · X12, EDIFACT, HL7 and NCPDP examples
ediFabric Native
A native library that converts X12 to JSON and JSON back to X12, with validation and acknowledgments, inside your own process. Use it from Python, Java, C, or C# through the official bindings.
-
Download the library for your platform:
Platform File Download Windows x64 edifabric-x12-tools.dll.zip, 5.28 MB Linux x64 edifabric-x12-tools.so.zip, 4.16 MB macOS arm64 edifabric-x12-tools.dylib.zip, 3.50 MB - Clone the bindings for your language: Python, Java, C, or C#. For any other language, use the C ABI.
- Put the library next to your executable, or set its path in the bindings.
-
Set the serial and parse a file. In Python:
import json import edifabric_x12 as ef serial = "YOUR_SERIAL_KEY" ef.load_library() ef.set_serial(serial) ef.set_map(json.dumps({"default": serial, "maps": {}})) output, offset = ef.parse(open("PurchaseOrders.txt", "rb").read(), ef.ParseMode.JSON_VALIDATE)
The Windows binaries are Authenticode-signed, the Linux binaries have a detached .asc signature, and the macOS binaries are codesigned. The Download article shows how to verify them.
More: Download ediFabric Native · Introduction · EDI models
ediFabric Cloud
A REST API that reads, writes, validates, and acknowledges EDI. Send a file or JSON over HTTPS and get JSON or EDI back. There is nothing to install.
- Send the serial on every request as the
Ocp-Apim-Subscription-Keyheader. -
POST an EDI file to the read endpoint for its standard (
x12,edifact,hl7,ncpdp, orvda):curl -X POST "https://api.edination.com/v2/x12/read" \ -H "Ocp-Apim-Subscription-Key: YOUR_SERIAL_KEY" \ -H "Content-Type: application/octet-stream" \ --data-binary @purchase-order.edi
Use /write to turn JSON back into EDI, /validate to check it, and /ack for X12 997, 999, TA1, or EDIFACT CONTRL. Treat the serial like a password and do not ship it in browser code.
More: Introduction to ediFabric Cloud · API reference · OpenAPI on SwaggerHub
Help
- EdiNation: view and validate EDI files in the browser, free
- EDI transaction examples: structure, samples and code for the most used transactions
- Plans and pricing
- Contact support or email support@edifabric.com
Comments
0 comments
Please sign in to leave a comment.