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.
ORDERS D.05A

ORDERS — EDIFACT Purchase Order (D.05A)

The ORDERS message conveys a buyer’s intent to purchase goods or services from a seller under terms agreed upstream. It supports spot orders, call-offs against blanket contracts, and replenishment flows alike. This page summarises the segment structure as published by UN/CEFACT for directory D.05A.

Purpose

The ORDERS message conveys a buyer’s intent to purchase goods or services from a seller under terms agreed upstream. It supports spot orders, call-offs against blanket contracts, and replenishment flows alike.

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

Segment structure

The ORDERS D.05A message has 102 header entries, 130 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 descriptionC×999
0070FTXFree textC×99
0080GIRRelated identification numbersC×10
0090  SG1Group (×9999)C×9999
0100  RFFReferenceM1
0110  DTMDate/time/periodC×5
0120    SG2Group (×99)C×99
0130    NADName and addressM1
0140    LOCPlace/location identificationC×99
0150    FIIFinancial institution informationC×5
0160      SG3Group (×99)C×99
0170      RFFReferenceM1
0180      DTMDate/time/periodC×5
0190        SG4Group (×5)C×5
0200        DOCDocument/message detailsM1
0210        DTMDate/time/periodC×5
0220          SG5Group (×5)C×5
0230          CTAContact informationM1
0240          COMCommunication contactC×5
0250            SG6Group (×5)C×5
0260            TAXDuty/tax/fee detailsM1
0270            MOAMonetary amountC1
0280            LOCPlace/location identificationC×9
0290              SG7Group (×5)C×5
0300              CUXCurrenciesM1
0310              PCDPercentage detailsC×5
0320              DTMDate/time/periodC×5
0330                SG8Group (×10)C×10
0340                PYTPayment termsM1
0350                DTMDate/time/periodC×5
0360                PCDPercentage detailsC1
0370                  SG9Group (×9999)C×9999
0380                  MOAMonetary amountM1
0390                  GIRRelated identification numbersC×9
0400                  RJLAccounting journal identificationC×99
0410                    SG10Group (×10)C×10
0420                    TDTTransport informationM1
0430                      SG11Group (×10)C×10
0440                      LOCPlace/location identificationM1
0450                      DTMDate/time/periodC×5
0460                        SG12Group (×5)C×5
0470                        TODTerms of delivery or transportM1
0480                        LOCPlace/location identificationC×2
0490                          SG13Group (×99)C×99
0500                          PACPackageM1
0510                          MEAMeasurementsC×5
0520                            SG14Group (×5)C×5
0530                            PCIPackage identificationM1
0540                            RFFReferenceC1
0550                            DTMDate/time/periodC×5
0560                            GINGoods identity numberC×10
0570                              SG15Group (×10)C×10
0580                              EQDEquipment detailsM1
0590                              HANHandling instructionsC×5
0600                              MEAMeasurementsC×5
0610                              FTXFree textC×5
0620                                SG16Group (×10)C×10
0630                                SCCScheduling conditionsM1
0640                                FTXFree textC×5
0650                                RFFReferenceC×5
0660                                  SG17Group (×10)C×10
0670                                  QTYQuantityM1
0680                                  DTMDate/time/periodC×5
0690                                    SG18Group (×25)C×25
0700                                    APRAdditional price informationM1
0710                                    DTMDate/time/periodC×5
0720                                    RNGRange detailsC1
0730                                      SG19Group (×99)C×99
0740                                      ALCAllowance or chargeM1
0750                                      ALIAdditional informationC×5
0760                                      DTMDate/time/periodC×5
0770                                        SG20Group (×1)C1
0780                                        QTYQuantityM1
0790                                        RNGRange detailsC1
0800                                          SG21Group (×1)C1
0810                                          PCDPercentage detailsM1
0820                                          RNGRange detailsC1
0830                                            SG22Group (×2)C×2
0840                                            MOAMonetary amountM1
0850                                            RNGRange detailsC1
0860                                              SG23Group (×1)C1
0870                                              RTERate detailsM1
0880                                              RNGRange detailsC1
0890                                                SG24Group (×5)C×5
0900                                                TAXDuty/tax/fee detailsM1
0910                                                MOAMonetary amountC1
0920                                                  SG25Group (×999)C×999
0930                                                  RCSRequirements and conditionsM1
0940                                                  RFFReferenceC×5
0950                                                  DTMDate/time/periodC×5
0960                                                  FTXFree textC×99999
0970                                                    SG26Group (×999)C×999
0980                                                    DGSDangerous goodsM1
0990                                                    FTXFree textC×5
1000                                                      SG27Group (×99)C×99
1010                                                      CTAContact informationM1
1020                                                      COMCommunication contactC×5

Detail

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

Summary

Pos.TagNameSRep.
2330UNSSection controlM1
2340MOAMonetary amountC×99
2350CNTControl totalC×10
2360  SG60Group (×10)C×10
2370  ALCAllowance or chargeM1
2380  ALIAdditional informationC1
2390  MOAMonetary amountM×2
2400UNTMessage trailerM1

Changes vs D.96A

Top-level differences between D.96A and D.05A for the ORDERS 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.

Segments added vs D.96A

  • GIR in the header section (status C, repeat ×10) — not present at the top of the corresponding D.96A section.
  • PYT in the header section (status M, repeat ×1) — not present at the top of the corresponding D.96A section.
  • RJL in the header section (status C, repeat ×99) — not present at the top of the corresponding D.96A section.
  • DGS in the header section (status M, repeat ×1) — not present at the top of the corresponding D.96A section.
  • GEI in the detail section (status C, repeat ×99) — not present at the top of the corresponding D.96A section.
  • MTD in the detail section (status C, repeat ×99) — not present at the top of the corresponding D.96A section.
  • PYT in the detail section (status M, repeat ×1) — not present at the top of the corresponding D.96A section.
  • FII in the detail section (status C, repeat ×5) — not present at the top of the corresponding D.96A section.
  • DGS in the detail section (status M, repeat ×1) — not present at the top of the corresponding D.96A section.

Segments removed vs D.96A

  • PAT in the header section — present in D.96A but missing in D.05A at the same level.
  • PAT in the detail section — present in D.96A but missing in D.05A at the same level.

Max-repeat changes

  • IMD (header): repeat ×1 in D.96A → ×999 in D.05A.
  • LOC (header): repeat ×25 in D.96A → ×99 in D.05A.
  • MEA (detail): repeat ×5 in D.96A → ×99 in D.05A.
  • QTY (detail): repeat ×10 in D.96A → ×99 in D.05A.
  • DOC (detail): repeat ×5 in D.96A → ×99 in D.05A.
  • APR (detail): repeat ×1 in D.96A → ×99 in D.05A.
  • MOA (summary): repeat ×12 in D.96A → ×99 in D.05A.

Structural example

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

edifact orders-d05a-example.edi
UNB+UNOC:3+5410000000123:14+5410000000456:14+260514:1430+CTRL005001'
UNH+1+ORDERS:D:05A:UN'
BGM+220+ORDER789+9'
DTM+137:20260514:102'
DTM+2:20260520:102'
NAD+BY+5410000000123::9'
NAD+SU+5410000000456::9'
LIN+1++3520000001234:EN'
QTY+21:10'
PRI+AAA:42.00'
UNS+S'
CNT+2:1'
UNT+11+1'
UNZ+1+CTRL005001'

Common errors

  • Misaligned UNH tokens — The UNH+...+ORDERS:D:05A: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.05A, 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: ORDERS D.96A, ORDERS D.01B, ORDERS D.10A, ORDERS D.16B, ORDERS D.21B, ORDERS D.24A, ORDERS D.97A, ORDERS D.99B, ORDERS D.00B, ORDERS D.02B, ORDERS D.08A, ORDERS D.13B, ORDERS D.18B, ORDERS D.20B.

X12 functional equivalent: X12 850.

← All EDIFACT versions