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.
COSTOR D.24A

COSTOR — EDIFACT Container Stuffing / Stripping Order Message (D.24A)

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.24A.

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.24A. The segments listed, their status (M / C), position and repetition factor are extracted from the official file costor_c.htm hosted on service.unece.org.

Segment structure

The COSTOR D.24A message has 77 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)M×99999
00210            EQDEquipment detailsM1
00220            RFFReferenceC×9
00230            EQNNumber of unitsC1
00240            DTMDate/time/periodC×9
00250            TSRTransport service requirementsC×9
00260            LOCPlace/location identificationC×9
00270            DIMDimensionsC×9
00280            HANHandling instructionsC×99
00290            ATTAttributeC×99
00300              SG7Group (×9)C×9
00310              NADName and addressM1
00320              DTMDate/time/periodC×9
00330                SG8Group (×999)C×999
00340                DGSDangerous goodsM1
00350                ATTAttributeC×9
00360                FTXFree textC×9
00370                MEAMeasurementsC×9
00380                  SG9Group (×9)C×9
00390                  CTAContact informationM1
00400                  COMCommunication contactC×9
00410                    SG10Group (×9)C×9
00420                    TMPTemperatureM1
00430                    RNGRange detailsC1
00440                      SG11Group (×99999)M×99999
00450                      CNIConsignment informationM1
00460                      RFFReferenceC×9
00470                      NADName and addressC×9
00480                        SG12Group (×99999)C×99999
00490                        GIDGoods item detailsM1
00500                        HANHandling instructionsC×9
00510                          SG13Group (×9)C×9
00520                          TMPTemperatureM1
00530                          RNGRange detailsC1
00540                          FTXFree textC×9
00550                          DTMDate/time/periodC×9
00560                            SG14Group (×9)C×9
00570                            NADName and addressM1
00580                            DTMDate/time/periodC×9
00590                            MEAMeasurementsC×9
00600                            PCIPackage identificationC×9
00610                            DOCDocument/message detailsC×9
00620                              SG15Group (×999)C×999
00630                              SGPSplit goods placementM1
00640                              MEAMeasurementsC×9
00650                                SG16Group (×999)C×999
00660                                DGSDangerous goodsM1
00670                                ATTAttributeC×9
00680                                FTXFree textC×9
00690                                MEAMeasurementsC×9
00700                                  SG17Group (×9)C×9
00710                                  CTAContact informationM1
00720                                  COMCommunication contactC×9
00730                                    SG18Group (×999)C×999
00740                                    SGPSplit goods placementM1
00750                                    MEAMeasurementsC×9
00760                                    CNTControl totalC1
00770UNTMessage 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.24A for the COSTOR 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.
  • ATT in the header section (status C, repeat ×99) — 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.24A.
  • LOC (header): status C in D.96A → M in D.24A.
  • CTA (header): status C in D.96A → M in D.24A.
  • TMP (header): status C in D.96A → M in D.24A.
  • CNT (header): status M in D.96A → C in D.24A.

Max-repeat changes

  • RFF (header): repeat ×9 in D.96A → ×1 in D.24A.
  • LOC (header): repeat ×9 in D.96A → ×1 in D.24A.
  • CTA (header): repeat ×9 in D.96A → ×1 in D.24A.
  • HAN (header): repeat ×9 in D.96A → ×99 in D.24A.
  • TMP (header): repeat ×9 in D.96A → ×1 in D.24A.
  • RNG (header): repeat ×9 in D.96A → ×1 in D.24A.

Structural example

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

edifact costor-d24a-example.edi
UNB+UNOC:3+5410000000123:14+5410000000456:14+260514:1430+CTRL024001'
UNH+1+COSTOR:D:24A: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+CTRL024001'

Common errors

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

← All EDIFACT versions