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.
INVOIC D.00B

INVOIC — EDIFACT Invoice (D.00B)

The INVOIC message represents a commercial invoice, a credit note or a request for payment. It covers simple purchases as well as complex transactions with multi-rate VAT, allowances/charges and consolidated billing. This page summarises the segment structure as published by UN/CEFACT for directory D.00B.

Purpose

The INVOIC message represents a commercial invoice, a credit note or a request for payment. It covers simple purchases as well as complex transactions with multi-rate VAT, allowances/charges and consolidated billing.

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

Segment structure

The INVOIC D.00B message has 106 header entries, 106 detail entries and 16 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
0080LOCPlace/location identificationC×10
0100DGSDangerous goodsC1
0110GIRRelated identification numbersC×10
0120  SG1Group (×99999)C×99999
0130  RFFReferenceM1
0140  DTMDate/time/periodC×5
0150  GIRRelated identification numbersC×5
0160  LOCPlace/location identificationC×2
0170  MEAMeasurementsC×5
0180  QTYQuantityC×2
0190  FTXFree textC×5
0200  MOAMonetary amountC×2
0210  RTERate detailsC×99
0220    SG2Group (×99)C×99
0230    NADName and addressM1
0240    LOCPlace/location identificationC×25
0250    FIIFinancial institution informationC×5
0260    MOAMonetary amountC×99
0270      SG3Group (×9999)C×9999
0280      RFFReferenceM1
0290      DTMDate/time/periodC×5
0300        SG4Group (×5)C×5
0310        DOCDocument/message detailsM1
0320        DTMDate/time/periodC×5
0330          SG5Group (×5)C×5
0340          CTAContact informationM1
0350          COMCommunication contactC×5
0360            SG6Group (×5)C×5
0370            TAXDuty/tax/fee detailsM1
0380            MOAMonetary amountC1
0390            LOCPlace/location identificationC×5
0400              SG7Group (×99)C×99
0410              CUXCurrenciesM1
0420              DTMDate/time/periodC×5
0430                SG8Group (×10)C×10
0450                DTMDate/time/periodC×5
0460                PCDPercentage detailsC1
0470                MOAMonetary amountC1
0480                PAIPayment instructionsC1
0490                FIIFinancial institution informationC1
0500                  SG9Group (×10)C×10
0510                  TDTDetails of transportM1
0520                  TSRTransport service requirementsC1
0530                    SG10Group (×10)C×10
0540                    LOCPlace/location identificationM1
0550                    DTMDate/time/periodC×5
0560                      SG11Group (×9999)C×9999
0570                      RFFReferenceM1
0580                      DTMDate/time/periodC×5
0590                        SG12Group (×5)C×5
0600                        TODTerms of delivery or transportM1
0610                        LOCPlace/location identificationC×2
0620                          SG13Group (×99)C×99
0630                          EQDEquipment detailsM1
0640                          SELSeal numberC×9
0650                            SG14Group (×1000)C×1000
0660                            PACPackageM1
0670                            MEAMeasurementsC×5
0680                            EQDEquipment detailsC1
0690                              SG15Group (×5)C×5
0700                              PCIPackage identificationM1
0710                              RFFReferenceC1
0720                              DTMDate/time/periodC×5
0730                              GINGoods identity numberC×5
0740                                SG16Group (×9999)C×9999
0750                                ALCAllowance or chargeM1
0760                                ALIAdditional informationC×5
0770                                FTXFree textC1
0780                                  SG17Group (×5)C×5
0790                                  RFFReferenceM1
0800                                  DTMDate/time/periodC×5
0810                                    SG18Group (×1)C1
0820                                    QTYQuantityM1
0830                                    RNGRange detailsC1
0840                                      SG19Group (×1)C1
0850                                      PCDPercentage detailsM1
0860                                      RNGRange detailsC1
0870                                        SG20Group (×2)C×2
0880                                        MOAMonetary amountM1
0890                                        RNGRange detailsC1
0900                                        CUXCurrenciesC1
0910                                        DTMDate/time/periodC1
0920                                          SG21Group (×1)C1
0930                                          RTERate detailsM1
0940                                          RNGRange detailsC1
0950                                            SG22Group (×5)C×5
0960                                            TAXDuty/tax/fee detailsM1
0970                                            MOAMonetary amountC1
0980                                              SG23Group (×100)C×100
0990                                              RCSRequirements and conditionsM1
1000                                              RFFReferenceC×5
1010                                              DTMDate/time/periodC×5
1020                                              FTXFree textC×5
1030                                                SG24Group (×1)C1
1040                                                AJTAdjustment detailsM1
1050                                                FTXFree textC×5
1060                                                  SG25Group (×1)C1
1070                                                  INPParties and instructionM1
1080                                                  FTXFree textC×5

Detail

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

Summary

Pos.TagNameSRep.
2170UNSSection controlM1
2180CNTControl totalC×10
2190  SG50Group (×100)M×100
2200  MOAMonetary amountM1
2210    SG51Group (×1)C1
2220    RFFReferenceM1
2230    DTMDate/time/periodC×5
2240      SG52Group (×10)C×10
2250      TAXDuty/tax/fee detailsM1
2260      MOAMonetary amountC×2
2270        SG53Group (×15)C×15
2280        ALCAllowance or chargeM1
2290        ALIAdditional informationC1
2300        MOAMonetary amountC×2
2310        FTXFree textC1
2320UNTMessage trailerM1

Changes vs D.96A

Top-level differences between D.96A and D.00B for the INVOIC 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

  • DGS in the header section (status C, repeat ×1) — not present at the top of the corresponding D.96A section.
  • GIR in the header section (status C, repeat ×10) — not present at the top of the corresponding D.96A section.
  • TSR in the header section (status C, repeat ×1) — not present at the top of the corresponding D.96A section.
  • EQD in the header section (status M, repeat ×1) — not present at the top of the corresponding D.96A section.
  • SEL in the header section (status C, repeat ×9) — not present at the top of the corresponding D.96A section.
  • PGI in the detail section (status C, repeat ×99) — not present at the top of the corresponding D.96A section.
  • DGS in the detail section (status C, 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.
  • FTX in the summary section (status C, 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.00B at the same level.
  • PAT in the detail section — present in D.96A but missing in D.00B at the same level.

Status changes (M ↔ C)

  • QTY (header): status M in D.96A → C in D.00B.
  • RTE (header): status M in D.96A → C in D.00B.

Max-repeat changes

  • FTX (header): repeat ×10 in D.96A → ×99 in D.00B.
  • LOC (header): repeat ×25 in D.96A → ×10 in D.00B.
  • QTY (header): repeat ×1 in D.96A → ×2 in D.00B.
  • MOA (header): repeat ×1 in D.96A → ×2 in D.00B.
  • RTE (header): repeat ×1 in D.96A → ×99 in D.00B.
  • IMD (detail): repeat ×10 in D.96A → ×99 in D.00B.
  • FTX (detail): repeat ×5 in D.96A → ×99 in D.00B.

Structural example

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

edifact invoic-d00b-example.edi
UNB+UNOC:3+5410000000123:14+5410000000456:14+260514:1430+CTRL000001'
UNH+1+INVOIC:D:00B:UN'
BGM+380+INV456789+9'
DTM+137:20260514:102'
NAD+SU+5410000000456::9'
NAD+BY+5410000000123::9'
CUX+2:EUR:4'
LIN+1++3520000001234:EN'
QTY+47:10'
MOA+203:420.00'
PRI+AAA:42.00'
UNS+S'
MOA+77:504.00'
MOA+125:420.00'
MOA+124:84.00'
TAX+7+VAT+++:::20'
UNT+16+1'
UNZ+1+CTRL000001'

Common errors

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

X12 functional equivalent: X12 810.

← All EDIFACT versions