Skip to main content

EDIFACT: ORDRSP (D.96A) Purchase Order Response

Overview of the EDIFACT ORDRSP D.96A message, covering its purpose, message structure, required segments, segment groups, and line item detail used to communicate Purchase Order Response data between trading partners.

L
Written by Lorilei Nash

Product/Topic: EDIFACT – ORDRSP (D.96A)


The EDIFACT Order Response (ORDRSP) (D.96A) message is a United Nations (UN) standard Electronic Data Interchange (EDI) message used by a supplier to respond to a buyer's Purchase Order. It communicates whether the order is accepted, rejected, or accepted with modifications, and includes confirmed quantities, prices, delivery dates, and scheduling information.

Understanding the structure of the ORDRSP message is important when configuring, mapping, or troubleshooting Purchase Order Response transactions within your EDI setup. The ORDRSP supports order confirmation, rejection, and modification workflows, providing line-level acceptance and exception details across trading partner relationships.


Transaction Overview


Field

Value

Standard

EDIFACT

Message Type

ORDRSP

Version

D.96A

Agency

UN (United Nations)

Purpose

Purchase Order Response

UNH S009

ORDRSP / D / 96A / UN


Message Structure


The ORDRSP message is divided into three primary sections: Header, Detail, and Summary.

Header Section

Contains message identification, dates, references, parties, and delivery information. This section establishes the full context of the supplier's response to the purchase order.

Detail Section

Contains individual line-item responses — the specific goods or services being responded to, including confirmed quantities, pricing, taxes, allowances, scheduling, and related information.

Summary Section

Contains section control, totals, and message trailer information that close out and validate the Purchase Order Response.


Required Segments


The following segments are required in every ORDRSP (D.96A) message.

Segment

Description

UNH

Message Header — identifies the message as ORDRSP D.96A UN

BGM

Beginning of Message — includes response type and function

DTM

Date/Time/Period — response and delivery dates

UNS

Section Control — separates the Detail and Summary sections

CNT

Control Total — message integrity validation using message reference and segment count

UNT

Message Trailer — closes the transaction and verifies segment count

Header Segments


The segments in the following table appear in the Header section and provide supporting information about the Purchase Order Response.

Segment

Description

PAI

Payment Instructions

ALI

Additional Commercial Information

IMD

Item Description

FTX

Free Text Notes

Segment Groups


Segment Groups (SG) are logical groupings of related segments within the ORDRSP (D.96A) message.

Segment Group

Name

Key Segments

SG1

References

RFF, DTM

SG2

Parties

NAD

SG3

Contact Information

CTA, COM

SG4

Currency

CUX

SG5

References

RFF, DTM

SG6

Documents

DOC, DTM

SG7

Delivery Terms

TOD, LOC


Detail Section — Purchase Order Response Line Items (SG25)


The SG25 loop contains the individual line-item response details of the Purchase Order Response. Each iteration of the Line Item (LIN) segment represents one line item being responded to.

Segment

Description

LIN

Line Item — identifies each individual product line being responded to

PIA

Additional Product Identification — alternate product codes and identifiers

IMD

Item Description — free-form or coded description of the item

MEA

Measurements — physical measurements associated with the line item

QTY / DTM

Quantities and Dates — confirmed quantities and associated delivery dates

PRI

Price Details — confirmed pricing information per line item

RFF / DTM

References — line-level references

PAC

Package Information — packaging details per line

LOC

Place/Location — location information per line

TAX / MOA

Tax Information — duty, tax, and fee details with associated monetary amounts

ALC / PCD / MOA

Allowances and Charges — allowance or charge details with percentage and monetary amounts

SCC

Scheduling Conditions — scheduling information per line


Summary Section


The Summary Section closes out the ORDRSP message and provides control and totals information:

  • UNS — Separates the Detail section from the Summary section

  • CNT — Provides control totals for the message

  • UNT — Closes the transaction and verifies segment count

Important: This article describes the base UN/EDIFACT D.96A ORDRSP structure. It is not a substitute for a trading partner-specific specification guide.


Additional Resources


rev. 08/07/26

Did this answer your question?