COPRAR — EDIFACT Container Discharge / Loading Order Message (D.96A)
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.96A.
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.96A. The segments listed, their status (M / C), position and repetition factor are extracted from the official file coprar_s.htm hosted on service.unece.org.
Segment structure
The COPRAR D.96A message has 36 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.
Header
| Pos. | Tag | Name | S | Rep. |
|---|---|---|---|---|
0010 | UNH | Message header | M | 1 |
0020 | BGM | Beginning of message | M | 1 |
0030 | FTX | Free text | C | ×9 |
0040 | RFF | Reference | M | ×9 |
0050 | SG1 | Group (×1) | M | 1 |
0060 | TDT | Details of transport | M | 1 |
0070 | RFF | Reference | C | ×9 |
0080 | LOC | Place/location identification | C | ×9 |
0090 | DTM | Date/time/period | C | ×9 |
0100 | FTX | Free text | C | ×9 |
0110 | SG2 | Group (×9) | M | ×9 |
0120 | NAD | Name and address | M | 1 |
0130 | CTA | Contact information | C | ×9 |
0140 | SG3 | Group (×9999) | M | ×9999 |
0150 | EQD | Equipment details | M | 1 |
0160 | RFF | Reference | C | ×9 |
0170 | EQN | Number of units | C | 1 |
0180 | TMD | Transport movement details | C | ×9 |
0190 | DTM | Date/time/period | C | ×9 |
0200 | LOC | Place/location identification | C | ×9 |
0210 | MEA | Measurements | C | ×9 |
0220 | DIM | Dimensions | C | ×9 |
0230 | TMP | Temperature | C | ×9 |
0240 | RNG | Range details | C | ×9 |
0250 | SEL | Seal number | C | ×9 |
0260 | FTX | Free text | C | ×9 |
0270 | DGS | Dangerous goods | C | ×9 |
0280 | EQA | Attached equipment | C | ×9 |
0290 | SG4 | Group (×1) | C | 1 |
0300 | TDT | Details of transport | M | 1 |
0310 | RFF | Reference | C | ×9 |
0320 | LOC | Place/location identification | C | ×9 |
0330 | DTM | Date/time/period | C | ×9 |
0340 | NAD | Name and address | C | 1 |
0350 | CNT | Control total | M | 1 |
0360 | UNT | Message trailer | M | 1 |
Detail
No segment in this section.
Summary
No segment in this section.
Changes vs D.96A
This page documents directory D.96A itself: it serves as the reference for every other version of the message. The synthesis below describes the structural changes that later directories will introduce relative to it.
No top-level differences detected between D.96A and D.96A for this message. Differences are then limited to nested groups and code lists.
Structural example
Minimal example of an COPRAR D.96A message with mandatory segments only. The goal is to show the exact version declared in UNH (COPRAR:D:96A:UN) — not to replicate a full business case.
UNB+UNOC:3+5410000000123:14+5410000000456:14+260514:1430+CTRL096001'
UNH+1+COPRAR:D:96A: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+CTRL096001' Common errors
- Misaligned UNH tokens — The
UNH+...+COPRAR:D:96A:UNtoken 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.96A, 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.
Related messages
Other versions of this message available on ediverse.io: COPRAR D.10A, COPRAR D.16B, COPRAR D.21B, COPRAR D.24A.