← All messages  /  ORDERS
ORDERS

Purchase Order

D96A

What is the ORDERS message used for?

  • The ORDERS 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 ORDERS message represents a commercial purchase order. It is one of the most widely used EDIFACT message types in retail, automotive and manufacturing. The buyer uses it to communicate ordered products, quantities, prices and delivery terms to the supplier.

Usage areas

  • Retail: supermarket and department store orders
  • Automotive: just-in-time parts orders
  • Manufacturing: raw material and component orders
Usage scenarios:
Retail (FMCG), automotive JIT orders, manufacturing component orders, logistics.
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
IMD Item Description Optional 1
TOD Terms of Delivery or Transport Optional 1
CUX Currencies Optional 1
FTX Free Text Optional 1
MOA Monetary Amount Optional 1
TAX Duty/Tax/Fee Details Optional 1
PAT Payment Terms Basis Optional 1
CTA Contact Information Optional 1
COM Communication Contact Optional 1
ALC Allowance or Charge Optional 1
UNS Section Control Optional 1
CNT Control Total Optional 1
ORDERS – Sample message (D96A) Download (.edi) Test in validator
UNA:+.? '
UNB+UNOC:3+BUYER:14+SUPPLIER:14+260310:0800+00001'
UNH+1+ORDERS:D:96A:UN'
BGM+220+ORD-2026-0310+9'
DTM+137:20260310:102'
DTM+2:20260315:102'
RFF+CR:CONTRACT-2026'
NAD+BY+1234567890123::9++ACME Kft++Budapest+1051+HU'
NAD+SE+9876543210123::9++Supplier GmbH++Berlin+10115+DE'
CUX+2:EUR:4'
LIN+1++4000862141404:EN'
IMD+F++:::Stainless Steel Bolt M8x30'
QTY+21:1000:PCE'
PRI+AAA:1.25'
LIN+2++4000862141411:EN'
IMD+F++:::Hex Nut M8'
QTY+21:2000:PCE'
PRI+AAA:0.45'
UNS+S'
CNT+2:2'
UNT+20+1'
UNZ+1+00001'

The sample above can be validated directly in the EDIFACT Validator – Online Syntax Checker.