ediverse Explore the platform

Spotlight PEPPOL BIS Billing 3.0 The EU e-invoicing mandate is here — France Sept 2026, Belgium Jan 2026, Germany 2025.
ORDRSP D.97A

ORDRSP — EDIFACT Order Response (D.97A)

The ORDRSP message is the supplier’s formal response to a received ORDERS message: full acceptance, proposed changes, partial or full rejection. It carries per-line commitments on quantity, price and delivery date. This page summarises the segment structure as published by UN/CEFACT for directory D.97A.

Purpose

The ORDRSP message is the supplier’s formal response to a received ORDERS message: full acceptance, proposed changes, partial or full rejection. It carries per-line commitments on quantity, price and delivery date.

This page focuses on the structure published by UN/CEFACT for directory D.97A. The segments listed, their status (M / C), position and repetition factor are extracted from the official file ordrsp_s.htm hosted on service.unece.org.

Segment structure

The ORDRSP D.97A message has 95 header entries, 120 detail entries and 8 summary entries (segments and groups combined). Groups are shown in bold and their members are indented by actual nesting depth.

Pos.TagNameSRep.
0010UNHMessage headerM1
0020BGMBeginning of messageM1
0030DTMDate/time/periodM×35
0040PAIPayment instructionsC1
0050ALIAdditional informationC×5
0060IMDItem descriptionC1
0070FTXFree textC×99
0080  SG1Group (×99)C×99
0090  RFFReferenceM1
0100  DTMDate/time/periodC×5
0110    SG2Group (×1)C1
0120    AJTAdjustment detailsM1
0130    FTXFree textC×5
0140      SG3Group (×99)C×99
0150      NADName and addressM1
0160      LOCPlace/location identificationC×25
0170      FIIFinancial institution informationC×5
0180        SG4Group (×10)C×10
0190        RFFReferenceM1
0200        DTMDate/time/periodC×5
0210          SG5Group (×5)C×5
0220          DOCDocument/message detailsM1
0230          DTMDate/time/periodC×5
0240            SG6Group (×5)C×5
0250            CTAContact informationM1
0260            COMCommunication contactC×5
0270              SG7Group (×5)C×5
0280              TAXDuty/tax/fee detailsM1
0290              MOAMonetary amountC1
0300              LOCPlace/location identificationC×5
0310                SG8Group (×5)C×5
0320                CUXCurrenciesM1
0330                PCDPercentage detailsC×5
0340                DTMDate/time/periodC×5
0350                  SG9Group (×10)C×10
0360                  PATPayment terms basisM1
0370                  DTMDate/time/periodC×5
0380                  PCDPercentage detailsC1
0390                  MOAMonetary amountC1
0400                    SG10Group (×10)C×10
0410                    TDTDetails of transportM1
0420                      SG11Group (×10)C×10
0430                      LOCPlace/location identificationM1
0440                      DTMDate/time/periodC×5
0450                        SG12Group (×5)C×5
0460                        TODTerms of delivery or transportM1
0470                        LOCPlace/location identificationC×2
0480                          SG13Group (×10)C×10
0490                          PACPackageM1
0500                          MEAMeasurementsC×5
0510                            SG14Group (×5)C×5
0520                            PCIPackage identificationM1
0530                            RFFReferenceC1
0540                            DTMDate/time/periodC×5
0550                            GINGoods identity numberC×99
0560                              SG15Group (×10)C×10
0570                              EQDEquipment detailsM1
0580                              HANHandling instructionsC×5
0590                              MEAMeasurementsC×5
0600                              FTXFree textC×5
0610                                SG16Group (×10)C×10
0620                                SCCScheduling conditionsM1
0630                                FTXFree textC×5
0640                                RFFReferenceC×5
0650                                  SG17Group (×10)C×10
0660                                  QTYQuantityM1
0670                                  DTMDate/time/periodC×5
0680                                    SG18Group (×25)C×25
0690                                    APRAdditional price informationM1
0700                                    DTMDate/time/periodC×5
0710                                    RNGRange detailsC1
0720                                      SG19Group (×15)C×15
0730                                      ALCAllowance or chargeM1
0740                                      ALIAdditional informationC×5
0750                                      DTMDate/time/periodC×5
0760                                        SG20Group (×1)C1
0770                                        QTYQuantityM1
0780                                        RNGRange detailsC1
0790                                          SG21Group (×1)C1
0800                                          PCDPercentage detailsM1
0810                                          RNGRange detailsC1
0820                                            SG22Group (×2)C×2
0830                                            MOAMonetary amountM1
0840                                            RNGRange detailsC1
0850                                              SG23Group (×1)C1
0860                                              RTERate detailsM1
0870                                              RNGRange detailsC1
0880                                                SG24Group (×5)C×5
0890                                                TAXDuty/tax/fee detailsM1
0900                                                MOAMonetary amountC1
0910                                                  SG25Group (×100)C×100
0920                                                  RCSRequirements and conditionsM1
0930                                                  RFFReferenceC×5
0940                                                  DTMDate/time/periodC×5
0950                                                  FTXFree textC×5

Detail

Pos.TagNameSRep.
0960  SG26Group (×200000)C×200000
0970  LINLine itemM1
0980  PIAAdditional product idC×25
0990  IMDItem descriptionC×99
1000  MEAMeasurementsC×99
1010  QTYQuantityC×10
1020  PCDPercentage detailsC×5
1030  ALIAdditional informationC×5
1040  DTMDate/time/periodC×35
1050  MOAMonetary amountC×10
1060  GINGoods identity numberC×1000
1070  GIRRelated identification numbersC×1000
1080  QVRQuantity variancesC1
1090  DOCDocument/message detailsC×5
1100  PAIPayment instructionsC1
1110  FTXFree textC×99
1120    SG27Group (×999)C×999
1130    CCICharacteristic/class idM1
1140    CAVCharacteristic valueC×10
1150    MEAMeasurementsC×10
1160      SG28Group (×10)C×10
1170      PATPayment terms basisM1
1180      DTMDate/time/periodC×5
1190      PCDPercentage detailsC1
1200      MOAMonetary amountC1
1210        SG29Group (×1)C1
1220        AJTAdjustment detailsM1
1230        FTXFree textC×5
1240          SG30Group (×25)C×25
1250          PRIPrice detailsM1
1260          CUXCurrenciesC1
1270          APRAdditional price informationC1
1280          RNGRange detailsC1
1290          DTMDate/time/periodC×5
1300            SG31Group (×999)C×999
1310            RFFReferenceM1
1320            DTMDate/time/periodC×5
1330              SG32Group (×10)C×10
1340              PACPackageM1
1350              MEAMeasurementsC×5
1360              QTYQuantityC×5
1370              DTMDate/time/periodC×5
1380                SG33Group (×1)C1
1390                RFFReferenceM1
1400                DTMDate/time/periodC×5
1410                  SG34Group (×5)C×5
1420                  PCIPackage identificationM1
1430                  RFFReferenceC1
1440                  DTMDate/time/periodC×5
1450                  GINGoods identity numberC×99
1460                    SG35Group (×9999)C×9999
1470                    LOCPlace/location identificationM1
1480                    QTYQuantityC1
1490                    PCDPercentage detailsC1
1500                    DTMDate/time/periodC×5
1510                      SG36Group (×10)C×10
1520                      TAXDuty/tax/fee detailsM1
1530                      MOAMonetary amountC1
1540                      LOCPlace/location identificationC×5
1550                        SG37Group (×99)C×99
1560                        NADName and addressM1
1570                        LOCPlace/location identificationC×5
1580                          SG38Group (×5)C×5
1590                          RFFReferenceM1
1600                          DTMDate/time/periodC×5
1610                            SG39Group (×5)C×5
1620                            DOCDocument/message detailsM1
1630                            DTMDate/time/periodC×5
1640                              SG40Group (×5)C×5
1650                              CTAContact informationM1
1660                              COMCommunication contactC×5
1670                                SG41Group (×99)C×99
1680                                ALCAllowance or chargeM1
1690                                ALIAdditional informationC×5
1700                                DTMDate/time/periodC×5
1710                                  SG42Group (×1)C1
1720                                  QTYQuantityM1
1730                                  RNGRange detailsC1
1740                                    SG43Group (×1)C1
1750                                    PCDPercentage detailsM1
1760                                    RNGRange detailsC1
1770                                      SG44Group (×2)C×2
1780                                      MOAMonetary amountM1
1790                                      RNGRange detailsC1
1800                                        SG45Group (×1)C1
1810                                        RTERate detailsM1
1820                                        RNGRange detailsC1
1830                                          SG46Group (×5)C×5
1840                                          TAXDuty/tax/fee detailsM1
1850                                          MOAMonetary amountC1
1860                                            SG47Group (×10)C×10
1870                                            TDTDetails of transportM1
1880                                              SG48Group (×10)C×10
1890                                              LOCPlace/location identificationM1
1900                                              DTMDate/time/periodC×5
1910                                                SG49Group (×5)C×5
1920                                                TODTerms of delivery or transportM1
1930                                                LOCPlace/location identificationC×2
1940                                                  SG50Group (×10)C×10
1950                                                  EQDEquipment detailsM1
1960                                                  HANHandling instructionsC×5
1970                                                  MEAMeasurementsC×5
1980                                                  FTXFree textC×5
1990                                                    SG51Group (×100)C×100
2000                                                    SCCScheduling conditionsM1
2010                                                    FTXFree textC×5
2020                                                    RFFReferenceC×5
2030                                                      SG52Group (×10)C×10
2040                                                      QTYQuantityM1
2050                                                      DTMDate/time/periodC×5
2060                                                        SG53Group (×100)C×100
2070                                                        RCSRequirements and conditionsM1
2080                                                        RFFReferenceC×5
2090                                                        DTMDate/time/periodC×5
2100                                                        FTXFree textC×5
2110                                                          SG54Group (×10)C×10
2120                                                          STGStagesM1
2130                                                            SG55Group (×3)C×3
2140                                                            QTYQuantityM1
2150                                                            MOAMonetary amountC1

Summary

Pos.TagNameSRep.
2160UNSSection controlM1
2170MOAMonetary amountC×12
2180CNTControl totalC×10
2190  SG56Group (×10)C×10
2200  ALCAllowance or chargeM1
2210  ALIAdditional informationC1
2220  MOAMonetary amountM×2
2230UNTMessage trailerM1

Changes vs D.96A

Top-level differences between D.96A and D.97A for the ORDRSP message (segments directly inside header / detail / summary, ignoring nested groups). The comparison is indicative: a given tag may have evolved inside nested groups without showing up in this synthesis.

Max-repeat changes

  • MEA (detail): repeat ×5 in D.96A → ×99 in D.97A.

Structural example

Minimal example of an ORDRSP D.97A message with mandatory segments only. The goal is to show the exact version declared in UNH (ORDRSP:D:97A:UN) — not to replicate a full business case (see the ORDRSP D.96A page for an annotated example).

edifact ordrsp-d97a-example.edi
UNB+UNOC:3+5410000000123:14+5410000000456:14+260514:1430+CTRL097001'
UNH+1+ORDRSP:D:97A:UN'
BGM+231+ORD789-RSP+9'
DTM+137:20260514:102'
NAD+SU+5410000000456::9'
NAD+BY+5410000000123::9'
LIN+1++3520000001234:EN'
QTY+21:10'
QTY+83:10'
PRI+AAA:42.00'
UNS+S'
CNT+2:1'
UNT+11+1'
UNZ+1+CTRL097001'

Common errors

  • Misaligned UNH tokens — The UNH+...+ORDRSP:D:97A:UN token must reflect exactly the directory in use — a mismatch between the UNH release and the release agreed with the partner is rejected by every strict validator.
  • Wrong UNT segment count — The value after UNT+ must include UNH and UNT themselves. By far the most common sender-side error, regardless of the directory in use.
  • Stale code lists — Between D.96A and D.97A, several code lists received new qualifiers (DTM status, RFF qualifier, NAD codes…). Reusing an older directory’s code tables triggers warnings or even rejections depending on the partner’s strict-conformance mode.

Other versions of this message available on ediverse.io: ORDRSP D.96A, ORDRSP D.01B, ORDRSP D.10A, ORDRSP D.16B, ORDRSP D.21B, ORDRSP D.24A, ORDRSP D.99B, ORDRSP D.00B, ORDRSP D.02B, ORDRSP D.05A, ORDRSP D.08A, ORDRSP D.13B, ORDRSP D.18B, ORDRSP D.20B.

X12 functional equivalent: X12 855.

← All EDIFACT versions