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.
COPRAR D.16B

COPRAR — EDIFACT Container Discharge / Loading Order Message (D.16B)

The COPRAR message is the order from a carrier to a port terminal to load or discharge a precise list of containers onto or from a seagoing vessel: it identifies the vessel, the voyage, the containers concerned and the booking references. The related report is CODECO (or CASRES in some flows). This page summarises the segment structure as published by UN/CEFACT for directory D.16B.

Purpose

The COPRAR message is the order from a carrier to a port terminal to load or discharge a precise list of containers onto or from a seagoing vessel: it identifies the vessel, the voyage, the containers concerned and the booking references. The related report is CODECO (or CASRES in some flows).

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

Segment structure

The COPRAR D.16B message has 54 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      FTXFree textC×9
00160        SG4Group (×9)M×9
00170        NADName and addressM1
00180          SG5Group (×9)C×9
00190          CTAContact informationM1
00200          COMCommunication contactC×9
00210            SG6Group (×9999)M×9999
00220            EQDEquipment detailsM1
00230            RFFReferenceC×9
00240            EQNNumber of unitsC1
00250            TMDTransport movement detailsC×9
00260            DTMDate/time/periodC×9
00270            LOCPlace/location identificationC×9
00280            MEAMeasurementsC×9
00290            DIMDimensionsC×9
00300              SG7Group (×9)C×9
00310              TMPTemperatureM1
00320              RNGRange detailsC1
00330              SELSeal numberC×9
00340              FTXFree textC×9
00350              PCDPercentage detailsC×9
00360                SG8Group (×99)C×99
00370                DGSDangerous goodsM1
00380                FTXFree textC×9
00390                MEAMeasurementsC×9
00400                  SG9Group (×9)C×9
00410                  CTAContact informationM1
00420                  COMCommunication contactC×9
00430                  EQAAttached equipmentC×9
00440                  HANHandling instructionsC×9
00450                    SG10Group (×1)C1
00460                    TDTTransport informationM1
00470                    DTMDate/time/periodC×9
00480                    RFFReferenceC×9
00490                      SG11Group (×9)C×9
00500                      LOCPlace/location identificationM1
00510                      DTMDate/time/periodC×9
00520                      NADName and addressC×9
00530                      CNTControl totalC1
00540UNTMessage 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.16B for the COPRAR 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.
  • PCD in the header section (status C, repeat ×9) — not present at the top of the corresponding D.96A section.
  • HAN in the header section (status C, repeat ×9) — not present at the top of the corresponding D.96A section.

Status changes (M ↔ C)

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

Max-repeat changes

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

Structural example

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

edifact coprar-d16b-example.edi
UNB+UNOC:3+5410000000123:14+5410000000456:14+260514:1430+CTRL016001'
UNH+1+COPRAR:D:16B:UN'
BGM+750+COPRAR-2026-MSC1234+9'
DTM+137:202605141430:203'
TDT+20+MSC1234W+1++MSC::ZZZ+++9301234:103:::MSC OSCAR'
LOC+11+FRLEH::6'
LOC+13+NLRTM::6'
NAD+CA+5410000000123::9'
EQD+CN+MSCU1234567+45G1+++5'
RFF+BN:BKG-2026-MSC-7811'
UNT+10+1'
UNZ+1+CTRL016001'

Common errors

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

← All EDIFACT versions