INVOIC
Invoice
D96AWhat is the INVOIC message used for?
- The INVOIC page serves as an instant reference for systems analysts, developers, and EDI operations teams.
- It brings together the message business role, associated segment breakdown, and a live example in one place.
- Highly valuable during trading partner onboarding, mapping verification, incident triage, and technical training.
The INVOIC message represents an electronic invoice. The seller notifies the buyer of the amount due for goods delivered or services rendered. It is among the most frequently exchanged EDIFACT message types across all industries.
Key features
- Net/gross amounts
- VAT breakdown (TAX segment)
- Line item and summary level
- Payment terms (PAT)
- Banking details (FII)
Usage scenarios:
All industries — retail, manufacturing, logistics, standard B2B transactions.
All industries — retail, manufacturing, logistics, standard B2B transactions.
| Segment | Name | Mandatory | Max Repeat |
|---|---|---|---|
| UNB | Interchange Header | Mandatory | 1 |
| UNH | Message Header | Mandatory | 1 |
| UNT | Message Trailer | Mandatory | 1 |
| UNZ | Interchange Trailer | Mandatory | 1 |
| BGM | Beginning of Message | Mandatory | 1 |
| DTM | Date/Time/Period | Optional | 1 |
| NAD | Name and Address | Optional | 10 |
| RFF | Reference | Optional | 1 |
| LIN | Line Item | Optional | N |
| QTY | Quantity | Optional | 1 |
| PRI | Price Details | Optional | 1 |
| MOA | Monetary Amount | Optional | 1 |
| TAX | Duty/Tax/Fee Details | Optional | 1 |
| CUX | Currencies | Optional | 1 |
| ALC | Allowance or Charge | Optional | 1 |
| PAT | Payment Terms Basis | Optional | 1 |
| UNS | Section Control | Optional | 1 |
| CNT | Control Total | Optional | 1 |
| FTX | Free Text | Optional | 1 |
| LOC | Place/Location Identification | Optional | 1 |
INVOIC – Sample message (D96A)
Download (.edi)
Test in validator
UNA:+.? ' UNB+UNOC:3+SELLER:14+BUYER:14+260310:0900+00002' UNH+1+INVOIC:D:96A:UN' BGM+380+INV-2026-0310+9' DTM+137:20260310:102' DTM+35:20260410:102' RFF+ON:ORD-2026-0305' NAD+SE+9876543210123::9++Supplier GmbH++Berlin+10115+DE' NAD+BY+1234567890123::9++ACME Kft++Budapest+1051+HU' CUX+2:EUR:4' LIN+1++4000862141404:EN' IMD+F++:::Stainless Steel Bolt M8x30' QTY+47:1000:PCE' MOA+79:1250.00' PRI+AAA:1.25' TAX+7+VAT+++:::27+S' UNS+S' CNT+2:1' MOA+124:337.50' MOA+9:1587.50' UNT+20+1' UNZ+1+00002'
The sample above can be validated directly in the EDIFACT Validator – Online Syntax Checker.