← All messages  /  ORDCHG
ORDCHG

Purchase Order Change Request

D01B

What is the ORDCHG message used for?

  • The ORDCHG 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 ORDCHG (Purchase Order Change Request) message is sent by the buyer to the supplier to request changes to or cancellation of a previously sent purchase order. It allows modifying quantities, delivery dates, line items, or prices.

Key usage areas

  • Changing line item quantities
  • Adjusting delivery schedules and dates
  • Adding or cancelling order items
Usage scenarios:
Retail, automotive (JIT/JIS), wholesale and manufacturing order amendments.
Segment Name Mandatory Max Repeat
UNB Interchange Header Mandatory 1
UNH Message Header Mandatory 1
BGM Beginning of Message Mandatory 1
DTM Date/Time/Period Optional 1
RFF Reference Optional 1
NAD Name and Address Optional 10
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 Mandatory 1
CNT Control Total Optional 1
UNT Message Trailer Mandatory 1
UNZ Interchange Trailer Mandatory 1
ORDCHG – Sample message (D01B) Download (.edi) Test in validator
UNA:+.? '
UNB+UNOC:3+BUYER:14+SUPPLIER:14+260311:0930+00004'
UNH+1+ORDCHG:D:01B:UN'
BGM+230+ORD-2026-0310-CHG1+9'
DTM+137:20260311:102'
RFF+ON:ORD-2026-0310'
NAD+BY+1234567890123::9++ACME Kft++Budapest+1051+HU'
NAD+SE+9876543210123::9++Supplier GmbH++Berlin+10115+DE'
LIN+1+1+4000862141404:EN'
QTY+21:1500:PCE'
PRI+AAA:1.25'
UNS+S'
CNT+2:1'
UNT+12+1'
UNZ+1+00004'

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