All guides
Home / Guides / EDIFACT INVOIC

EDIFACT INVOIC: The Invoice, Explained

EdiPeek · Updated June 2026 · 5 min read

INVOIC is the UN/EDIFACT Invoice message — the international equivalent of the X12 810. The supplier uses it to bill the buyer for goods or services, usually referencing an earlier ORDERS.

Key segments

BGM — Beginning of Message

BGM+380+INV-3391+9 = invoice (code 380), number INV-3391, function 9 (original).

RFF — Reference

Links the invoice to the order. RFF+ON:PO-55012 references order number PO-55012.

NAD — Parties

NAD+SU supplier, NAD+BY buyer, NAD+IV invoicee.

LIN / QTY / MOA / PRI — Line items

Each line carries product (LIN), quantity (QTY+47:100), line amount (MOA+203:1250.00), and price (PRI+AAA:12.50).

MOA — Monetary Amount

Used for line and total amounts. MOA+77:1687.50 is commonly the invoice total amount.

Ad slot — insert AdSense unit here

A complete mini example

UNH+1+INVOIC:D:96A:UN'
BGM+380+INV-3391+9'
RFF+ON:PO-55012'
NAD+SU+4012345000094::9'
LIN+1++5410738377056:EN'
QTY+47:100'
MOA+203:1250.00'
MOA+77:1250.00'
UNT+8+1'

In plain English: the supplier is billing 1,250.00 for 100 units on invoice INV-3391, against order PO-55012.

Decode your own INVOIC

Paste an EDIFACT invoice into the viewer to see parties, references, line items and totals explained. Nothing leaves your browser.

Open the EDIFACT viewer

Frequently asked questions

How is INVOIC different from the X12 810?
Same purpose, different syntax and segment names. INVOIC uses MOA for amounts and NAD for parties, with EDIFACT delimiters. See X12 vs EDIFACT.
How does the invoice link to the order?
Through an RFF segment with the ON (order number) qualifier, referencing the original ORDERS message.