Quick Reference — EDIconnect v2.0
Quick reference for EANCOM D.01B qualifiers and XML v2.0. Intended for printing and daily use.
BGM — Document Type
| BGM_1001 Code |
Document Name |
EDI Message |
220 |
Purchase Order |
ORDERS |
351 |
Despatch Advice |
DESADV |
632 |
Goods Receipt Note (GRN) |
RECADV |
70E |
RECADV Seizure |
RECADV |
380 |
Fiscal Invoice |
INVOIC |
381 |
Credit Note |
INVOIC |
383 |
Debit Note |
INVOIC |
384 |
Corrective Invoice |
INVOIC |
| BGM_1225 Code |
Meaning |
9 |
Original document |
1 |
Reversal (cancellation) |
NAD — Party Roles
| Qualifier |
Role |
BY |
Buyer |
SU |
Supplier |
DP |
Delivery Point |
IV |
Invoiced Party |
DTM — Date Qualifiers
| Qualifier |
Meaning |
Notes |
137 |
Document date |
Also used for order date |
2 |
Requested delivery date |
|
17 |
Estimated delivery date |
|
35 |
Actual delivery date |
|
50 |
Receipt date |
|
13 |
Payment due date |
|
171 |
Reference date |
|
102 |
Date format: YYYYMMDD |
Format code, not a meaning qualifier |
Example segment: DTM+137:20240307:102'
QTY — Quantity Qualifiers
| Qualifier |
Meaning |
21 |
Ordered quantity |
12 |
Despatched quantity |
47 |
Invoiced quantity |
194 |
Received quantity |
59 |
Consumer units per traded unit |
58 |
Withdrawn quantity (negative correction) |
46 |
Delivered quantity |
MOA — Amount Qualifiers
| Qualifier |
Meaning |
66 |
Net line amount |
203 |
Net line total after ALC (discounts) |
77 |
Invoice total (with VAT) |
79 |
Net invoice total (excluding VAT) |
176 |
Total VAT amount |
125 |
Taxable basis |
124 |
VAT amount |
289 |
Subtotal including VAT |
131 |
Total ALC (total discounts) |
PRI — Price Type
| Qualifier |
Meaning |
AAA |
Net net price (after all applied discounts) |
AAB |
Gross price (before discounts) |
AAE |
Recommended retail price (RRP) |
TAX — Tax Codes
Tax type (TAX_5153)
| Code |
Meaning |
VAT |
Standard VAT |
OTH |
Other taxes or charges |
ENV |
Environmental/green tax |
VAT category (TAX_5305)
| Code |
Meaning |
S |
Standard rate |
E |
VAT exempt |
Z |
Zero rate |
AC |
VAT on cash basis |
G |
Export exempt |
RFF — References
| Qualifier |
Meaning |
ON |
Order Number |
DQ |
Despatch Advice Number |
ALO |
GRN / Receipt Number |
IV |
Reference Invoice Number |
VA |
VAT / Tax Registration Number |
FC |
Trade Register Number |
YC1 |
Supplier code assigned by buyer |
VN |
Internal order number of issuer |
BT |
Batch Number |
DocumentType XML — Valid Values per Message
| Message |
Accepted Values |
Value Descriptions |
| ORDERS |
O, C, R, RM, OR, OC |
Original, Confirmation, Replanning, Replanning with changes, Response, Operator confirmation |
| DESADV |
O, C, R |
Original, Correction, Replanning |
| RECADV |
O, C, R, RC, RP |
Original, Correction, Replanning, Conditional acknowledgement, Partial acknowledgement |
| INVOIC |
O, C, S, R, I |
Original, Correction, Reversal, Replanning, Informational |
UnitOfMeasure — Units of Measure
| Code |
Unit of Measure |
PCE |
Piece |
KGM |
Kilogram |
LTR |
Litre |
CTN |
Carton |
CS |
Case |
PLT |
Pallet |
MTR |
Metre |
Every EDIfact interchange is wrapped in control segments. Mandatory structure:
UNA:+.? '
UNB+UNOB:1+[SENDER_GLN]:14+[RECEIVER_GLN]:14+[YYYYMMDD]:[HHMM]+[CONTROL_REF]'
UNH+[MSG_REF]+[ORDERS/DESADV/RECADV/INVOIC]:D:01B:UN:EAN010'
[... message segments ...]
UNT+[SEGMENT_COUNT]+[MSG_REF]'
UNZ+[MESSAGE_COUNT]+[CONTROL_REF]'
| Segment |
Role |
UNA |
Special characters (delimiters) — optional, recommended |
UNB |
Interchange header: sender, receiver, date, control number |
UNH |
Message header: message reference, type and version |
UNT |
Message trailer: segment count (including UNH and UNT) |
UNZ |
Interchange trailer: number of messages in the interchange |
Note: UNT counts segments from UNH through UNT inclusive. This value must be calculated automatically by the application.