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.
COPINO D.21B

COPINO — EDIFACT Container Pre-Notification Message (D.21B)

The COPINO message is the container pre-notification sent by an inland carrier (road, rail, barge) to a port terminal or depot: it announces the arrival or pick-up of a set of containers, with their identification, status (full/empty), goods, means of transport and booking references. This page summarises the segment structure as published by UN/CEFACT for directory D.21B.

Purpose

The COPINO message is the container pre-notification sent by an inland carrier (road, rail, barge) to a port terminal or depot: it announces the arrival or pick-up of a set of containers, with their identification, status (full/empty), goods, means of transport and booking references.

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

Segment structure

The COPINO D.21B message has 71 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.
00010UNHMessage headerM1
00020BGMBeginning of messageM1
00030DTMDate/time/periodC×9
00040FTXFree textC×9
00050  SG1Group (×9)C×9
00060  RFFReferenceM1
00070  DTMDate/time/periodC×9
00080    SG2Group (×1)M1
00090    TDTTransport informationM1
00100    DTMDate/time/periodC×9
00110    RFFReferenceC×9
00120      SG3Group (×9)C×9
00130      LOCPlace/location identificationM1
00140      DTMDate/time/periodC×9
00150        SG4Group (×9)M×9
00160        NADName and addressM1
00170          SG5Group (×9)C×9
00180          CTAContact informationM1
00190          COMCommunication contactC×9
00200            SG6Group (×99999)C×99999
00210            GIDGoods item detailsM1
00220            HANHandling instructionsC×9
00230              SG7Group (×9)C×9
00240              TMPTemperatureM1
00250              RNGRange detailsC1
00260                SG8Group (×9)C×9
00270                DOCDocument/message detailsM1
00280                DTMDate/time/periodC×9
00290                LOCPlace/location identificationC×9
00300                SGPSplit goods placementC×999
00310                  SG9Group (×999)C×999
00320                  DGSDangerous goodsM1
00330                  ATTAttributeC×9
00340                  FTXFree textC×9
00350                  MEAMeasurementsC×9
00360                    SG10Group (×9)C×9
00370                    CTAContact informationM1
00380                    COMCommunication contactC×9
00390                      SG11Group (×99999)M×99999
00400                      EQDEquipment detailsM1
00410                      RFFReferenceC×9
00420                      EQNNumber of unitsC1
00430                      MEAMeasurementsC×9
00440                      DIMDimensionsC×9
00450                      FTXFree textC×9
00460                      PCDPercentage detailsC×9
00470                      SELSeal numberC×9
00480                      EQAAttached equipmentC1
00490                      HANHandling instructionsC×99
00500                      ATTAttributeC×99
00510                        SG12Group (×9)C×9
00520                        TDTTransport informationM1
00530                        DTMDate/time/periodC×9
00540                        RFFReferenceC×9
00550                          SG13Group (×9)C×9
00560                          LOCPlace/location identificationM1
00570                          DTMDate/time/periodC×9
00580                          NADName and addressC×9
00590                            SG14Group (×999)C×999
00600                            DGSDangerous goodsM1
00610                            ATTAttributeC×9
00620                            FTXFree textC×9
00630                            MEAMeasurementsC×9
00640                              SG15Group (×9)C×9
00650                              CTAContact informationM1
00660                              COMCommunication contactC×9
00670                                SG16Group (×9)C×9
00680                                TMPTemperatureM1
00690                                RNGRange detailsC1
00700                                CNTControl totalC1
00710UNTMessage 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.21B for the COPINO 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

  • COM in the header section (status C, repeat ×9) — not present at the top of the corresponding D.96A section.
  • DOC in the header section (status M, repeat ×1) — not present at the top of the corresponding D.96A section.
  • ATT in the header section (status C, repeat ×9) — not present at the top of the corresponding D.96A section.
  • PCD in the header section (status C, repeat ×9) — not present at the top of the corresponding D.96A section.

Status changes (M ↔ C)

  • RFF (header): status C in D.96A → M in D.21B.
  • LOC (header): status C in D.96A → M in D.21B.
  • CTA (header): status C in D.96A → M in D.21B.
  • TMP (header): status C in D.96A → M in D.21B.
  • DGS (header): status C in D.96A → M in D.21B.
  • CNT (header): status M in D.96A → C in D.21B.

Max-repeat changes

  • RFF (header): repeat ×9 in D.96A → ×1 in D.21B.
  • LOC (header): repeat ×9 in D.96A → ×1 in D.21B.
  • CTA (header): repeat ×9 in D.96A → ×1 in D.21B.
  • TMP (header): repeat ×9 in D.96A → ×1 in D.21B.
  • RNG (header): repeat ×9 in D.96A → ×1 in D.21B.
  • DGS (header): repeat ×9 in D.96A → ×1 in D.21B.

Structural example

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

edifact copino-d21b-example.edi
UNB+UNOC:3+5410000000123:14+5410000000456:14+260514:1430+CTRL021001'
UNH+1+COPINO:D:21B:UN'
BGM+350+COPINO-2026-NOT-0091+9'
DTM+137:202605141430:203'
TDT+20+TRUCK-FR1234+3'
LOC+9+FRLEH::6'
DTM+232:202605141630:203'
NAD+CA+5410000000123::9'
EQD+CN+MSCU1234567+45G1+++5'
UNT+9+1'
UNZ+1+CTRL021001'

Common errors

  • Misaligned UNH tokens — The UNH+...+COPINO:D:21B: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.21B, 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: COPINO D.96A, COPINO D.10A, COPINO D.16B, COPINO D.24A.

← All EDIFACT versions