var edi = File.OpenRead(@"C:\ClaimPayment_837P.txt"); using (var reader = new X12Reader(edi, "EdiFabric.Templates.Hipaa")) { var msg837P = (await reader.ReadToEndAsync()).OfType<TS837P>(); }
import ctypes, json lib = ctypes.CDLL("./edifabric-x12-tools.so") lib.parse.restype = ctypes.c_int def parse(edi: bytes, mode: int = 1) -> str: cap = len(edi) * 12 out_len = ctypes.c_int(0); out_off = ctypes.c_int(0) while True: out = ctypes.create_string_buffer(cap) rc = lib.parse(edi, len(edi), mode, None, 0, out, cap, ctypes.byref(out_len), ctypes.byref(out_off)) if rc == 1: cap = out_len.value; continue if rc != 0: raise RuntimeError(f"parse failed: {rc}") return out.raw[:out_len.value].decode("utf-8")
curl -L -X POST 'https://api.edination.com/v2/x12/read' \ -H 'Ocp-Apim-Subscription-Key: 3726884f1b5d4fa686bf131e91476a60' \ -H 'Content-Type: text/plain' \ --data-binary '@/C:/purchase-order.edi'
Fully managed C# library for .NET Core and .NET Framework, installed as a NuGet package. Covers all ten EDI standards, custom flat files and Entity Framework mapping.
One blazing-fast native library per platform (Windows, Linux, macOS), callable from C, C++, Rust, Go, Python, Node.js, Java and .NET. X12 and HIPAA today, more standards to follow.
A REST API for all ten standards that any language can call, with nothing to install. Use it hosted by us, or build the same API with the libraries and run it on your own infrastructure.
Safely parse, validate, format, and edit EDI files directly in your browser.
Powered by WebAssembly, your sensitive EDI data never leaves your device.
Completely free. Unlimited files. No size limits. Works with EDI and JSON. No account or registration is needed.
Learn about EdiNation
Working with PHI or under SOC 2? ediFabric .NET and ediFabric Native run entirely inside your own application, and you can self-host the Cloud API on your own infrastructure. In all three cases your EDI data never leaves your network.