EDIFACT ORDERS: the purchase order message
The EDIFACT ORDERS purchase order: what it is for, its segments (BGM, DTM, NAD, LIN, QTY), key qualifiers and an annotated EANCOM D96A example.
The EDIFACT ORDERS purchase order: what it is for, its segments (BGM, DTM, NAD, LIN, QTY), key qualifiers and an annotated EANCOM D96A example.
| Segment | Group | Status | What it carries |
|---|---|---|---|
UNH Message header | ORDERS:D:96A:UN:EAN008. | ||
BGM Beginning of message | 220 order), order number and message function. | ||
DTM Date/time/period | |||
FTX Free text | |||
RFF Reference | |||
NAD Name and address | |||
CTA Contact information | |||
COM Communication contact | |||
CUX Currencies | |||
PAT Payment terms basis | |||
TDT Details of transport | |||
TOD Terms of delivery or transport | |||
LIN Line item | |||
PIA Additional product id | |||
IMD Item description | |||
QTY Quantity | |||
DTM Date/time/period | |||
PRI Price details | |||
UNS Section control | UNS+S). | ||
CNT Control total | |||
UNT Message trailer |
| Segment | Data element | Code | Meaning |
|---|---|---|---|
BGM | 220 | ||
BGM | 9 | ||
BGM | 1 | ||
DTM | 137 | ||
DTM | 2 | ||
DTM | 102 | ||
NAD | BY | ||
NAD | SU | ||
NAD | DP | ||
NAD | IV | ||
LIN | EN | ||
QTY | 21 | ||
PRI | AAA | ||
CNT | 2 |
UNA:+.? '
UNB+UNOC:3+5412345000013:14+8712345000011:14+261123:1015+ORD0001'
UNH+1+ORDERS:D:96A:UN:EAN008'
BGM+220+PO12345+9'
DTM+137:20261123:102'
DTM+2:20261127:102'
RFF+CT:CONTRACT2026'
NAD+BY+5412345000013::9'
NAD+SU+8712345000011::9'
NAD+DP+5412345000020::9'
CUX+2:EUR:9'
LIN+1++8712345100018:EN'
PIA+1+ART001:SA'
IMD+F++:::Sparkling water 6x1.5 l'
QTY+21:48'
PRI+AAA:4.75'
LIN+2++8712345100025:EN'
PIA+1+ART002:SA'
QTY+21:12'
PRI+AAA:12.5'
UNS+S'
CNT+2:2'
UNT+21+1'
UNZ+1+ORD0001'| Segment | Meaning |
|---|---|
UNH+1+ORDERS:D:96A:UN:EAN008 | EAN008. |
BGM+220+PO12345+9 | |
DTM+2:20261127:102 | |
NAD+DP+5412345000020::9 | 9 says the code comes from GS1 (EAN). |
CUX+2:EUR:9 | |
LIN+1++8712345100018:EN | |
QTY+21:48 | |
PRI+AAA:4.75 | |
CNT+2:2 | |
UNT+21+1 |