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.99B

ORDERS — EDIFACT Purchase Order (D.99B)

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.99B.

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

Summary

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

Changes vs D.96A

Top-level differences between D.96A and D.99B 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.
  • 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.
  • GIS in the detail section (status C, repeat ×99) — 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.99B at the same level.
  • PAT in the detail section — present in D.96A but missing in D.99B at the same level.

Max-repeat changes

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

Structural example

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

edifact orders-d99b-example.edi
UNB+UNOC:3+5410000000123:14+5410000000456:14+260514:1430+CTRL099001'
UNH+1+ORDERS:D:99B: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+CTRL099001'

Common errors

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

X12 functional equivalent: X12 850.

← All EDIFACT versions