Skip to main content
One inbound endpoint auto-detects the syntax: X12 interchanges (ISA) are acknowledged with a 997, EDIFACT interchanges (UNA/UNB) with a CONTRL.

X12

EDIFACT

Inbound EDIFACT arrives on the same POST /v1/edi/inbound endpoint as X12 — the syntax is detected from the envelope.

Outbound endpoints

Each outbound set takes StateSet-shaped JSON and returns enveloped wire format:
Post StateSet-shaped JSON; get enveloped X12 back:

Validation and debugging

Before sending anything live, dry-run it:
A guide violation produces a 997 with an R rather than a silent accept. An invalid envelope produces a TA1 rejection. Nothing is ever consumed silently.
Validate against the partner’s guide (/validate/{partner_id}), not the bare /validate. The bare endpoint resolves the partner from the ISA header, so a document with a wrong or placeholder ISA validates against the wrong guide — and passes. Retailers reject on their own guide, not on the standard.
Last modified on August 31, 2026