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.
CUSREP D.02B

CUSREP — EDIFACT Customs Conveyance Report Message (D.02B)

The CUSREP message is the conveyance report (vessel, aircraft, truck, train) sent to customs before or upon arrival: it carries vehicle identification, crew, route and references to the associated CUSCAR cargo reports. This page summarises the segment structure as published by UN/CEFACT for directory D.02B.

Purpose

The CUSREP message is the conveyance report (vessel, aircraft, truck, train) sent to customs before or upon arrival: it carries vehicle identification, crew, route and references to the associated CUSCAR cargo reports.

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

Segment structure

The CUSREP D.02B message has 55 header entries, 0 detail entries and 0 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/periodC×9
0040QTYQuantityC×9
0050POCPurpose of conveyance callC×99
0060FTXFree textC×9
0070MEAMeasurementsC×9
0080GEIProcessing informationC×9
0090  SG1Group (×99)C×99
0100  RFFReferenceM1
0110  DTMDate/time/periodC1
0120    SG2Group (×99)C×99
0130    LOCPlace/location identificationM1
0140    DTMDate/time/periodC×9
0150      SG3Group (×9)C×9
0160      DOCDocument/message detailsM1
0170      RFFReferenceC1
0180      DTMDate/time/periodC1
0190      LOCPlace/location identificationC1
0200        SG4Group (×9)C×9
0210        TAXDuty/tax/fee detailsM1
0220        MOAMonetary amountC1
0230        FIIFinancial institution informationC1
0240        LOCPlace/location identificationC1
0250        RFFReferenceC1
0260        DTMDate/time/periodC×9
0270        GEIProcessing informationC1
0280          SG5Group (×9)C×9
0290          NADName and addressM1
0300            SG6Group (×9)C×9
0310            CTAContact informationM1
0320            COMCommunication contactC×5
0330              SG7Group (×9)C×9
0340              RFFReferenceM1
0350              DTMDate/time/periodC1
0360                SG8Group (×99)C×99
0370                TDTTransport informationM1
0380                TPLTransport placementC1
0390                DTMDate/time/periodC1
0400                  SG9Group (×99)C×99
0410                  LOCPlace/location identificationM1
0420                  DTMDate/time/periodC×9
0430                  QTYQuantityC×9
0440                  NADName and addressC×99
0450                  MEAMeasurementsC×9
0460                  POCPurpose of conveyance callC×9
0470                  STSStatusC×9
0480                  FTXFree textC×9
0490                    SG10Group (×999)C×999
0500                    EQDEquipment detailsM1
0510                    EQNNumber of unitsC1
0520                      SG11Group (×1)C1
0530                      AUTAuthentication resultM1
0540                      DTMDate/time/periodC1
0550UNTMessage trailerM1

Detail

No segment in this section.

Summary

No segment in this section.

Changes vs D.96A

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

  • POC in the header section (status C, repeat ×99) — not present at the top of the corresponding D.96A section.
  • GEI in the header section (status C, repeat ×9) — not present at the top of the corresponding D.96A section.
  • FII in the header section (status C, repeat ×1) — not present at the top of the corresponding D.96A section.
  • STS in the header section (status C, repeat ×9) — not present at the top of the corresponding D.96A section.

Segments removed vs D.96A

  • GIS in the header section — present in D.96A but missing in D.02B at the same level.

Structural example

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

edifact cusrep-d02b-example.edi
UNB+UNOC:3+5410000000123:14+5410000000456:14+260514:1430+CTRL002001'
UNH+1+CUSREP:D:02B:UN'
BGM+929+CUSREP-2026-0099+9'
DTM+137:202605141430:203'
NAD+CA+5410000000123::9'
NAD+CZ+5410000000456::9'
TDT+20+MSC1234W+1++MSC::ZZZ+++9301234:103:::MSC OSCAR'
LOC+5+FRLEH::6'
DTM+178:202605141200:203'
LOC+6+NLRTM::6'
DTM+178:20260516:102'
UNT+10+1'
UNZ+1+CTRL002001'

Common errors

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

X12 functional equivalent: X12 309.

← All EDIFACT versions