Skip to content

EDIFACT ORDRSP Sample File: Order Response

Answers the ORDERS sample, one line changed. Valid EDIFACT D:96A:UN:EAN005, explained segment by segment, free to download.

A synthetic file: made-up companies, IDs and amounts, safe to load into a test system.

EDIFACT ORDRSP is the supplier's response to an ORDERS message, like an X12 855. This sample answers order PO4500812: RFF+ON quotes the order, lines 1 and 3 are accepted with LIN action code 5, and line 2 is changed (code 3) to 48 of the 60 ordered, delivered on Oct 15.

Standard
EDIFACT ORDRSP
Version
D:96A:UN:EAN005
Sent by
Supplier to buyer
Segments
20

sample-edifact-ordrsp-order-response.edi

From 5012345000022 to 5012345000015. Click a line to jump to its explanation.

Open in EDI Inspector
UNA:+.? 'UNB+UNOC:3+5012345000022:14+5012345000015:14+261009:1402+20311'UNH+ME000002+ORDRSP:D:96A:UN:EAN005'BGM+231+RSP77120+29'DTM+137:20261009:102'RFF+ON:PO4500812'NAD+BY+5012345000015::9'NAD+SU+5012345000022::9'LIN+1+5+5012345100012:EN'QTY+21:120'LIN+2+3+5012345100029:EN'QTY+21:60'QTY+113:48'DTM+2:20261015:102'LIN+3+5+5012345100036:EN'QTY+21:48'UNS+S'CNT+2:3'UNT+17+ME000002'UNZ+1+20311'

ORDRSP Sample, Segment by Segment

Every segment and element, with what each code means. The 6 segments with a note are open; open any other to see its elements.

The Same File as a Document

What a person reads once the codes are translated. Download it as a PDF from the menu above.

Purchase Order Acknowledgment

RSP77120

Oct 9, 2026

PO number
PO4500812
Type
Purchase order response
Purpose
Accepted without amendment
Document/message date/time
Oct 9, 2026
Order number (buyer)
PO4500812

Buyer

GS1 (GLN): 5012345000015

Supplier

GS1 (GLN): 5012345000022

LineUPC / GTINOrderedConfirmedStatusDelivery date/time, requested
15012345100012120120Accepted without amendment
250123451000296048ChangedOct 15, 2026
350123451000364848Accepted without amendment
Lines
3
Total quantity
216

About This ORDRSP Sample

The action code in LIN02 carries the answer for each line. A changed line repeats the ordered quantity and adds the quantity that will actually be delivered, with its date.

Buyers use the ORDRSP to update the open order, so send one whenever a line will not arrive as ordered.

For every segment the standard allows and how retailers use them, read the EDIFACT ORDRSP guide. To check a file of your own, paste it into the EDI Inspector, or browse all 22 EDI sample files.

Related Sample Files

Frequently Asked Questions

What is a EDIFACT ORDRSP?

EDIFACT ORDRSP is the supplier's response to an ORDERS message, like an X12 855. This sample answers order PO4500812: RFF+ON quotes the order, lines 1 and 3 are accepted with LIN action code 5, and line 2 is changed (code 3) to 48 of the 60 ordered, delivered on Oct 15.

Can I use this EDIFACT ORDRSP sample to test my system?

Yes. It is a complete, valid EDIFACT file of 20 segments with made-up companies, IDs and amounts. Download it as .edi or .txt, load it into your translator or ERP test environment, and change the sender and receiver IDs to your test IDs if your system routes by them.

How do I check my own EDIFACT ORDRSP file?

Paste it into the free OrderSync EDI Inspector. It names every segment and element, checks the envelope counts and control numbers, tests GS1 check digits, and points at the exact segment a trading partner would reject. Nothing is uploaded: the file is read in your browser.