COSTOR — EDIFACT Container Stuffing / Stripping Order Message (D.96A)
The COSTOR message is the order sent by a forwarder or shipper to a container depot or consolidator to stuff (load) or strip (unload) goods into/from an LCL container: it specifies the goods, target container, booking and B/L references, and the handling constraints. Confirmation is returned via COSTCO. This page summarises the segment structure as published by UN/CEFACT for directory D.96A.
Purpose
The COSTOR message is the order sent by a forwarder or shipper to a container depot or consolidator to stuff (load) or strip (unload) goods into/from an LCL container: it specifies the goods, target container, booking and B/L references, and the handling constraints. Confirmation is returned via COSTCO.
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 costor_s.htm hosted on service.unece.org.
Segment structure
The COSTOR D.96A message has 51 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 | C | ×9 |
0050 | SG1 | Group (×1) | M | 1 |
0060 | TDT | Details of transport | M | 1 |
0070 | LOC | Place/location identification | C | ×9 |
0080 | DTM | Date/time/period | C | ×9 |
0090 | SG2 | Group (×9) | M | ×9 |
0100 | NAD | Name and address | M | 1 |
0110 | CTA | Contact information | C | ×9 |
0120 | SG3 | Group (×999) | M | ×999 |
0130 | EQD | Equipment details | M | 1 |
0140 | RFF | Reference | C | ×9 |
0150 | EQN | Number of units | C | 1 |
0160 | DTM | Date/time/period | C | ×9 |
0170 | TSR | Transport service requirements | C | ×9 |
0180 | LOC | Place/location identification | C | ×9 |
0190 | DIM | Dimensions | C | ×9 |
0200 | SG4 | Group (×9) | C | ×9 |
0210 | NAD | Name and address | M | 1 |
0220 | DTM | Date/time/period | C | ×9 |
0230 | SG5 | Group (×999) | M | ×999 |
0240 | CNI | Consignment information | M | 1 |
0250 | RFF | Reference | C | ×9 |
0260 | NAD | Name and address | C | ×9 |
0270 | SG6 | Group (×999) | C | ×999 |
0280 | GID | Goods item details | M | 1 |
0290 | HAN | Handling instructions | C | ×9 |
0300 | TMP | Temperature | C | ×9 |
0310 | RNG | Range details | C | ×9 |
0320 | FTX | Free text | C | ×9 |
0330 | DTM | Date/time/period | C | ×9 |
0340 | SG7 | Group (×9) | C | ×9 |
0350 | NAD | Name and address | M | 1 |
0360 | DTM | Date/time/period | C | ×9 |
0370 | MEA | Measurements | C | ×9 |
0380 | PCI | Package identification | C | ×9 |
0390 | DOC | Document/message details | C | ×9 |
0400 | SG8 | Group (×999) | C | ×999 |
0410 | SGP | Split goods placement | M | 1 |
0420 | MEA | Measurements | C | ×9 |
0430 | SG9 | Group (×9) | C | ×9 |
0440 | DGS | Dangerous goods | M | 1 |
0450 | FTX | Free text | C | ×9 |
0460 | MEA | Measurements | C | ×9 |
0470 | SG10 | Group (×999) | C | ×999 |
0480 | SGP | Split goods placement | M | 1 |
0490 | MEA | Measurements | C | ×9 |
0500 | CNT | Control total | M | 1 |
0510 | 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 COSTOR D.96A message with mandatory segments only. The goal is to show the exact version declared in UNH (COSTOR:D:96A:UN) — not to replicate a full business case.
UNB+UNOC:3+5410000000123:14+5410000000456:14+260514:1430+CTRL096001'
UNH+1+COSTOR:D:96A:UN'
BGM+266+COSTOR-2026-STUFF-0007+9'
DTM+137:20260514:102'
DTM+200:20260518:102'
TDT+20+TRUCK-FR1234+3'
LOC+11+FRLEH::6'
NAD+CA+5410000000123::9'
NAD+CN+5410000000456::9'
EQD+CN+MSCU1234567+45G1+++5'
GID+1+18:CT'
UNT+10+1'
UNZ+1+CTRL096001' Common errors
- Misaligned UNH tokens — The
UNH+...+COSTOR: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: COSTOR D.10A, COSTOR D.16B, COSTOR D.21B, COSTOR D.24A.