Message type
UN/EDIFACT CUSDEC
Customs declaration message. It is published in 60 directory versions of the UN/EDIFACT standard, each defining its own segment structure.
Open the D24A CUSDEC specification- Message
- CUSDEC
- Directory versions
- 60
- Latest
- D24A
Sending and receiving
Exchange CUSDEC with your trading partners
The specification tells you what a valid CUSDEC looks like. Sending and receiving one means mapping it to the system that holds the data, agreeing the format with each partner, and handling the messages that come back when something is rejected. XEDI does the mapping, validation and transport.
Specifications
CUSDEC in every directory version
A trading partner names both the message and the directory, for example D00A CUSDEC, because the segments differ between versions. Open the one your partner specified.
60 directory versions
- D00A CUSDEC segment structure, data elements and codes for D00A
- D00B CUSDEC segment structure, data elements and codes for D00B
- D01A CUSDEC segment structure, data elements and codes for D01A
- D01B CUSDEC segment structure, data elements and codes for D01B
- D01C CUSDEC segment structure, data elements and codes for D01C
- D02A CUSDEC segment structure, data elements and codes for D02A
- D02B CUSDEC segment structure, data elements and codes for D02B
- D03A CUSDEC segment structure, data elements and codes for D03A
- D03B CUSDEC segment structure, data elements and codes for D03B
- D04A CUSDEC segment structure, data elements and codes for D04A
- D04B CUSDEC segment structure, data elements and codes for D04B
- D05A CUSDEC segment structure, data elements and codes for D05A
- D05B CUSDEC segment structure, data elements and codes for D05B
- D06A CUSDEC segment structure, data elements and codes for D06A
- D06B CUSDEC segment structure, data elements and codes for D06B
- D07A CUSDEC segment structure, data elements and codes for D07A
- D07B CUSDEC segment structure, data elements and codes for D07B
- D08A CUSDEC segment structure, data elements and codes for D08A
- D08B CUSDEC segment structure, data elements and codes for D08B
- D09A CUSDEC segment structure, data elements and codes for D09A
- D09B CUSDEC segment structure, data elements and codes for D09B
- D10A CUSDEC segment structure, data elements and codes for D10A
- D10B CUSDEC segment structure, data elements and codes for D10B
- D11A CUSDEC segment structure, data elements and codes for D11A
- D11B CUSDEC segment structure, data elements and codes for D11B
- D12A CUSDEC segment structure, data elements and codes for D12A
- D12B CUSDEC segment structure, data elements and codes for D12B
- D13A CUSDEC segment structure, data elements and codes for D13A
- D13B CUSDEC segment structure, data elements and codes for D13B
- D14A CUSDEC segment structure, data elements and codes for D14A
- D14B CUSDEC segment structure, data elements and codes for D14B
- D15A CUSDEC segment structure, data elements and codes for D15A
- D15B CUSDEC segment structure, data elements and codes for D15B
- D16A CUSDEC segment structure, data elements and codes for D16A
- D16B CUSDEC segment structure, data elements and codes for D16B
- D17A CUSDEC segment structure, data elements and codes for D17A
- D17B CUSDEC segment structure, data elements and codes for D17B
- D18A CUSDEC segment structure, data elements and codes for D18A
- D18B CUSDEC segment structure, data elements and codes for D18B
- D19A CUSDEC segment structure, data elements and codes for D19A
- D19B CUSDEC segment structure, data elements and codes for D19B
- D20A CUSDEC segment structure, data elements and codes for D20A
- D20B CUSDEC segment structure, data elements and codes for D20B
- D21A CUSDEC segment structure, data elements and codes for D21A
- D21B CUSDEC segment structure, data elements and codes for D21B
- D22A CUSDEC segment structure, data elements and codes for D22A
- D22B CUSDEC segment structure, data elements and codes for D22B
- D23A CUSDEC segment structure, data elements and codes for D23A
- D24A CUSDEC segment structure, data elements and codes for D24A
- D94B CUSDEC segment structure, data elements and codes for D94B
- D95A CUSDEC segment structure, data elements and codes for D95A
- D95B CUSDEC segment structure, data elements and codes for D95B
- D96A CUSDEC segment structure, data elements and codes for D96A
- D96B CUSDEC segment structure, data elements and codes for D96B
- D97A CUSDEC segment structure, data elements and codes for D97A
- D97B CUSDEC segment structure, data elements and codes for D97B
- D98A CUSDEC segment structure, data elements and codes for D98A
- D98B CUSDEC segment structure, data elements and codes for D98B
- D99A CUSDEC segment structure, data elements and codes for D99A
- D99B CUSDEC segment structure, data elements and codes for D99B
Related messages
Messages in the CUS set
UN/EDIFACT groups related documents under a shared three-letter stem. These usually appear together in one trading flow.
Frequently asked questions
What is the CUSDEC message?
Customs declaration message. It is one of the UN/EDIFACT message types, identified by the six-letter name CUSDEC in every directory version that publishes it.
Which directory version of CUSDEC do I need?
The one your trading partner specifies. CUSDEC is published in 60 directory versions and the segment detail differs between them, so a mapping built for one version is not automatically valid for another.
How do I send a CUSDEC message?
Map the data from the system that holds it into the segment structure the agreed directory version defines, then transport it by the route the partner uses, commonly AS2 or SFTP. XEDI handles the mapping, validation and transport, and surfaces the acknowledgements and errors that come back.
Sources and further reading
- GS1 EDI standards GS1 guidance on EDI standards used for supply-chain document exchange.
- UNECE introduction to UN/EDIFACT United Nations guidance on UN/EDIFACT for structured business data exchange.
- X12 EDI standards Official X12 standards body for North American EDI transaction standards.
- OpenPeppol post-award specifications OpenPeppol documentation for e-procurement and e-invoicing specifications.