Skip to main content
POST

Path parameters

string
required
Partner ID

Headers

string,null
Stable unique request key (1–128 ASCII letters/digits or -_.:). Requires Postgres. Retries return the original EDI bytes; changed JSON payload returns 409.

Request body

EdifactInvoice
EdifactInvoiceAllowance[]
Invoice-level allowances and charges (ALC + MOA): the header SG15 groups the summary does not total, then the summary SG51 totals (a summary group supersedes header groups with the same indicator and service code). The builder writes them in the summary.
string,null
string,null
CUX+2 — invoice currency (ISO 4217, e.g. EUR).
string,null
BGM C002 document name code (380 commercial invoice, 381 credit note).
string,null
string
required
EdifactInvoiceLine[]
required
string,null
SG1 RFF+ON at header level — the buyer’s purchase order number.
string,null
string,null
MOA+124 — the tax amount. Kept for compatibility with [Invoice::taxes]: the parser sets it to the sum of the summary tax groups’ amounts.
string,null
TAX+7 — the VAT rate in percent. Kept for compatibility with [Invoice::taxes]: the parser sets it to the first summary tax group’s rate (or, with no summary TAX, the header SG6 TAX+7). A line’s SG33 TAX goes to [InvoiceLine::tax_rate]; TAX inside an ALC group (SG21 / SG43) feeds neither.
EdifactInvoiceTax[]
The summary tax breakdown (SG50 TAX-MOA), one entry per rate. When non-empty the builder emits these and ignores tax_rate/tax_amount.
string,null
MOA+86 / +9 message total amount payable, when present.

Response

No response body. Wire-ready UN/EDIFACT INVOIC interchange.

Status codes

Using this contract

Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.
Last modified on October 20, 2026