Parse, build, and route EDIFACT messages with typed Python classes. Interchanges, dialects, and profiles - with byte-faithful round trips.
Parse incoming interchanges or build new messages from scratch, all with typed Python classes.
Parse, navigate, build, and exchange EDIFACT messages, all in Python.
Step-by-step guides for EDIFACT integration patterns.
In-depth documentation for working with EDIFACT messages in Python.
No. EDIFACT is text with its own internal envelope, it has no transport of its own. Whatever channel delivers the text - REST, SOAP, file transfer, SFTP, email or a message queue - your service calls parse_edifact on the payload and works with typed messages from there.
The generic engine parses any syntactically valid EDIFACT, and typed message definitions ship for the Dutch healthcare profiles (MEDLAB, MEDVRI, MEDRAD, MEDSPE) as a complete worked example of a dialect. Your own dialects are plain Python classes that follow the same pattern.
They parse into generic messages that keep every segment, element, and component navigable by position, and they serialize back byte-for-byte. Typed access is an addition, never a requirement.
Yes - parse and serialize gives you back the wire text, including separators, escapes, and elements that were empty on the wire. Fields you modify are re-serialized in place, everything else stays untouched.
Get started with Zato and connect your EDI systems in minutes.