The EDIFACT ORDRSP, Decoded: An Order Response Is Where the Seller Stops Nodding and Starts Committing
Short answer: ORDRSP is UN/EDIFACT's order response message — the global counterpart to the X12 855 · Purchase Order Acknowledgment. A seller sends ORDRSP to answer an ORDERS message line by line: accepted as ordered, accepted with changes, or rejected — with the dates, quantities, and prices the seller is actually committing to. If ORDERS is the buyer's promise request, ORDRSP is the seller's signed answer.
I build EDI tooling for a living. Here is how ORDRSP actually works, segment by segment.
What does an ORDRSP message actually contain?
An ORDRSP sits inside an EDIFACT interchange (UNB/UNZ envelope), and its own structure runs like this:
- UNH — opens the message and names it: message type ORDRSP, plus the directory version and release (for example D:96A or D:01B). The directory decides which segments and codes are even legal.
- BGM — the document header: the response type and the seller's response number. That number is what the buyer files the commitment against.
- DTM — the dates that matter commercially: the response date, and the confirmed delivery date where it differs from what the buyer asked for. A changed delivery date buried in DTM is still a change — buyers who only check quantities miss it.
- RFF — the references that tie the response back to the chain: above all the buyer's order number from ORDERS. Lose that reference and the buyer cannot match your commitment to their order automatically.
- NAD — the parties: buyer, seller, delivery party. Each NAD carries a qualifier naming its role; the same company often appears in several roles at once.
- LIN / PIA / IMD — the answered lines themselves: line number, the buyer's item number and additional IDs such as a GTIN in PIA, and the description. LIN numbers the line; everything about that commitment hangs off it.
- QTY / PRI / MOA — the confirmed quantity, the confirmed unit price, and the line amount. ORDRSP states what the seller will actually do; whether it matches what the buyer ordered is the comparison both sides need to run.
- UNS / CNT / UNT — the summary and trailer: control counts and the segment count that proves the message arrived whole.
The line-level action code is the heart of the message. Each LIN group carries a code that says, in effect: accepted without change, accepted with a quantity change, accepted with a date change, accepted with a price change, or not accepted. That code — not the prose around it — is what the buyer's system acts on.
How is ORDRSP different from the X12 855?
The business content is nearly identical — parties, lines, quantities, prices, dates, and a per-line accept/change/reject decision. The differences that break integrations are structural:
One message, whole vocabulary of answers. X12 splits acknowledgment behavior across the 855 · Purchase Order Acknowledgment and the 865 · Purchase Order Change Acknowledgment. ORDRSP carries the response to the original order in one message type, with the per-line action code doing the work that X12 spreads across ACK segment status codes.
Changes are stated, not implied. In a well-formed ORDRSP, a changed line restates the confirmed quantity, price, and date explicitly. Code that reads only the action code and assumes the original ORDERS values for everything else will commit the warehouse to numbers the seller never confirmed.
The acknowledgment pair is different. X12 answers an 850 at the syntax layer with a 997 · Functional Acknowledgment. EDIFACT answers ORDERS with CONTRL for syntax where the agreement calls for it — and ORDRSP is the commercial answer. Confusing those two layers is how teams end up believing an order was accepted when it was only received.
Versions are directories, not releases of one guide. X12 partners argue about 4010 versus 5010. EDIFACT partners argue about D.96A versus D.01B, and a code value legal in one directory may not exist in the other. The version negotiation happens before mapping, or it happens as a rejection.
What breaks most often in production?
Accepting in the response what the warehouse cannot ship. ORDRSP is a commitment, not a courtesy. Sellers who auto-accept every line and fix it later with a changed DESADV discover that the buyer's planning system already consumed the confirmed date — and the late change reads as a broken promise, not an update.
Confirming the order quantity instead of the shippable quantity. The confirmed QTY is the quantity the seller will deliver on the confirmed date. Echoing the ordered quantity when stock is short turns a manageable partial shipment into a surprise short shipment at the dock.
Dropping the buyer's line references. The order number, the buyer's line number, and the item identifiers are how the buyer's system matches response to order. An ORDRSP that carries only the seller's internal references forces a human to do the matching, at human speed and human error rates.
Treating a price change as a footnote. A confirmed PRI that differs from the ordered price will surface again at invoice time, when INVOIC is matched against the order. A price disagreement belongs in the ORDRSP, negotiated while there is still time — not discovered in the three-way match.
What should you do with an ORDRSP message?
- Read the action code first, per line. It tells you whether that line is a commitment, a changed commitment, or a refusal — before you look at a single amount.
- Compare confirmed against ordered, field by field. Quantity, price, and delivery date, per line. Any difference is a decision the buyer needs to accept explicitly, not absorb silently.
- Validate against the partner's subset, not the directory alone. Almost nobody trades raw D.01B; they trade a documented subset of it. The subset is the contract.
- Answer changes commercially and explicitly. A rejected or changed line gets a revised order, a phone call, or a new agreement — never silence, and never a quietly edited resend with the same references.
FAQ
Is ORDRSP the same as an 855?
In business purpose, yes: both are the seller's line-by-line answer to a purchase order. In syntax, change handling, and versioning, no — plan a real mapping between them, not a rename.
What answers an ORDRSP message?
Nothing at the syntax layer beyond CONTRL where the agreement calls for it. Commercially, the buyer accepts the confirmed terms, negotiates the changed lines, or issues a revised ORDERS — the response starts that conversation, it does not end it.
Can one ORDRSP answer more than one order?
Normally no: an ORDRSP answers one ORDERS message, and its RFF trail points back to that order. Splitting one response across orders breaks the matching both sides depend on.
What directory version should a new ORDRSP integration use?
The one your partner's implementation guide specifies. D.96A and D.01B are both still common in production; supporting "EDIFACT" without naming a directory is supporting neither.
Getting ORDRSP matched cleanly against the original order — and catching a changed date or price before it becomes an invoice dispute — is a large part of what we built SignalEDI to handle. I'm Chris, founder of SignalEDI — if your order responses keep confirming things your warehouse never agreed to, I'd genuinely like to hear where yours break.
Top comments (1)
The point about the line-level action code doing the real work, rather than the prose around it, matches what I see in practice. A changed delivery date buried in DTM is easy to miss when a system only compares quantities and prices, so the buyer thinks the order was accepted as placed. Restating the confirmed quantity, price and date on every changed line is a sensible rule for anyone writing a parser. One thing I'm curious about: when an ORDRSP comes back with 'accepted with date change' on a few lines but the rest unchanged, how do you usually surface that to the buyer? Do you auto-update the expected receipt dates, or hold the order for a human to approve the new commitment first?