COSTCO — EDIFACT Container Stuffing Confirmation Message (D.00B)
The COSTCO message confirms the stuffing (loading) of a container, sent by a container depot operator or a consolidator: it fixes the actual contents (commodities, weight, seals), stuffing date and references to the upcoming booking and B/L. This page summarises the segment structure as published by UN/CEFACT for directory D.00B.
Purpose
The COSTCO message confirms the stuffing (loading) of a container, sent by a container depot operator or a consolidator: it fixes the actual contents (commodities, weight, seals), stuffing date and references to the upcoming booking and B/L.
This page focuses on the structure published by UN/CEFACT for directory D.00B. The segments listed, their status (M / C), position and repetition factor are extracted from the official file costco_c.htm hosted on service.unece.org.
Segment structure
The COSTCO D.00B message has 66 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 | DTM | Date/time/period | C | ×9 |
0040 | FTX | Free text | C | ×9 |
0050 | SG1 | Group (×9) | C | ×9 |
0060 | RFF | Reference | M | 1 |
0070 | DTM | Date/time/period | C | ×9 |
0080 | SG2 | Group (×1) | M | 1 |
0090 | TDT | Details of transport | M | 1 |
0100 | DTM | Date/time/period | C | ×9 |
0110 | SG3 | Group (×9) | C | ×9 |
0120 | LOC | Place/location identification | M | 1 |
0130 | DTM | Date/time/period | C | ×9 |
0140 | SG4 | Group (×9) | M | ×9 |
0150 | NAD | Name and address | M | 1 |
0160 | SG5 | Group (×9) | C | ×9 |
0170 | CTA | Contact information | M | 1 |
0180 | COM | Communication contact | C | ×9 |
0190 | SG6 | Group (×999) | M | ×999 |
0200 | EQD | Equipment details | M | 1 |
0210 | RFF | Reference | C | ×9 |
0220 | DTM | Date/time/period | C | ×9 |
0230 | TSR | Transport service requirements | C | ×9 |
0240 | DIM | Dimensions | C | ×9 |
0250 | SEL | Seal number | C | ×9 |
0260 | EQA | Attached equipment | C | ×9 |
0270 | HAN | Handling instructions | C | ×9 |
0280 | NAD | Name and address | C | ×9 |
0290 | SG7 | Group (×99) | C | ×99 |
0300 | DGS | Dangerous goods | M | 1 |
0310 | FTX | Free text | C | ×9 |
0320 | MEA | Measurements | C | ×9 |
0330 | SG8 | Group (×9) | C | ×9 |
0340 | CTA | Contact information | M | 1 |
0350 | COM | Communication contact | C | ×9 |
0360 | SG9 | Group (×9) | C | ×9 |
0370 | TMP | Temperature | M | 1 |
0380 | RNG | Range details | C | 1 |
0390 | SG10 | Group (×999) | M | ×999 |
0400 | CNI | Consignment information | M | 1 |
0410 | RFF | Reference | C | ×9 |
0420 | SG11 | Group (×999) | C | ×999 |
0430 | GID | Goods item details | M | 1 |
0440 | HAN | Handling instructions | C | ×9 |
0450 | SG12 | Group (×9) | C | ×9 |
0460 | TMP | Temperature | M | 1 |
0470 | RNG | Range details | C | 1 |
0480 | FTX | Free text | C | ×9 |
0490 | MEA | Measurements | C | ×9 |
0500 | PCI | Package identification | C | ×9 |
0510 | DOC | Document/message details | C | ×9 |
0520 | SG13 | Group (×999) | M | ×999 |
0530 | SGP | Split goods placement | M | 1 |
0540 | MEA | Measurements | C | ×9 |
0550 | SG14 | Group (×99) | C | ×99 |
0560 | DGS | Dangerous goods | M | 1 |
0570 | FTX | Free text | C | ×9 |
0580 | MEA | Measurements | C | ×9 |
0590 | SG15 | Group (×9) | C | ×9 |
0600 | CTA | Contact information | M | 1 |
0610 | COM | Communication contact | C | ×9 |
0620 | SG16 | Group (×999) | C | ×999 |
0630 | SGP | Split goods placement | M | 1 |
0640 | MEA | Measurements | C | ×9 |
0650 | CNT | Control total | C | 1 |
0660 | UNT | Message trailer | M | 1 |
Detail
No segment in this section.
Summary
No segment in this section.
Changes vs D.96A
Top-level differences between D.96A and D.00B for the COSTCO 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
COMin 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.00B.CTA(header): status C in D.96A → M in D.00B.TMP(header): status C in D.96A → M in D.00B.CNT(header): status M in D.96A → C in D.00B.
Max-repeat changes
RFF(header): repeat ×9 in D.96A → ×1 in D.00B.LOC(header): repeat ×9 in D.96A → ×1 in D.00B.CTA(header): repeat ×9 in D.96A → ×1 in D.00B.TMP(header): repeat ×9 in D.96A → ×1 in D.00B.RNG(header): repeat ×9 in D.96A → ×1 in D.00B.
Structural example
Minimal example of an COSTCO D.00B message with mandatory segments only. The goal is to show the exact version declared in UNH (COSTCO:D:00B:UN) — not to replicate a full business case (see the COSTCO D.96A page for an annotated example).
UNB+UNOC:3+5410000000123:14+5410000000456:14+260514:1430+CTRL000001'
UNH+1+COSTCO:D:00B:UN'
BGM+267+COSTCO-2026-0152+9'
DTM+137:202605141430:203'
DTM+138:202605141200:203'
FTX+AAI+++Stuffing completed - high cube container - 24 pallets'
UNT+6+1'
UNZ+1+CTRL000001' Common errors
- Misaligned UNH tokens — The
UNH+...+COSTCO:D:00B: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.00B, 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: COSTCO D.96A, COSTCO D.01B, COSTCO D.10A, COSTCO D.16B, COSTCO D.21B, COSTCO D.24A, COSTCO D.97A, COSTCO D.99B, COSTCO D.02B, COSTCO D.05A, COSTCO D.08A, COSTCO D.13B, COSTCO D.18B, COSTCO D.20B.