EDI CUSDECCustoms declaration message

Transaction set

This specification provides the definition of the customs declaration message (cusdec) to be used in electronic data interchange (edi) between trading partners involved in administration, commerce and transport.

Segments

Position
Segment
Name
Max use
10
UNH
Message header
To end and check the completeness of an interchange
Mandatory
AtMax 1
20
BGM
Beginning of message
To indicate the type and function of a message and to transmit the identifying number.
Mandatory
AtMax 1
30
CST
Customs status of goods
To specify goods in terms of customs identities, status and intended use.
Opt
AtMax 1
40
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 99
50
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 15
60
GIS
General indicator
To transmit a processing indicator.
Opt
AtMax 25
70
FII
Financial institution information
To identify an account and a related financial institution.
Opt
AtMax 1
80
MEA
Measurements
To specify physical measurements, including dimension tolerances, weights and counts.
Opt
AtMax 5
90
EQD
Equipment details
To identify a unit of equipment.
Opt
AtMax 999
100
SEL
Seal number
To specify a seal number related to equipment.
Opt
AtMax 999
110
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 99
1LOOPOpt
AtMax 99
130
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
140
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
2LOOPOpt
AtMax 10
160
PAC
Package
To describe the number and type of packages/physical units.
Mandatory
AtMax 1
3LOOPOpt
AtMax 999
180
PCI
Package identification
To specify markings and labels on individual packages or physical units.
Mandatory
AtMax 1
190
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
4LOOPOpt
AtMax 5
210
TDT
Details of transport
To specify the transport details such as mode of transport, means of transport, its conveyance reference number and the identification of the means of transport. the segment may be pointed to by the tpl segment.
Mandatory
AtMax 1
220
TPL
Transport placement
To specify placement of goods or equipment in relation to the transport used. the segment serves as a pointer to the tdt segment group.
Opt
AtMax 1
5LOOPOpt
AtMax 10
240
DOC
Document/message details
To identify documents, either printed, electronically transferred, or referenced as specified in message description, including, where relevant, the identification of the type of transaction that will result from this message.
Mandatory
AtMax 1
250
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 2
260
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 1
6LOOPOpt
AtMax 10
280
NAD
Name and address
To specify the name/address and their related function, either by co82 only and/or unstructured by co58 or structured by co80 thru 3207.
Mandatory
AtMax 1
290
RFF
Reference
To specify a reference.
Opt
AtMax 10
300
CTA
Contact information
To identify a person or a department to whom communication should be directed.
Opt
AtMax 1
310
COM
Communication contact
To identify a communication number of a department or a person to whom communication should be directed.
Opt
AtMax 5
7LOOPOpt
AtMax 1
330
TOD
Terms of delivery or transport
To specify terms of delivery or transport.
Mandatory
AtMax 1
340
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 2
350
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
8LOOPOpt
AtMax 25
370
MOA
Monetary amount
To specify a monetary amount.
Mandatory
AtMax 1
9LOOPOpt
AtMax 1
390
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Mandatory
AtMax 1
400
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
410
UNS
Section control
To separate header, detail and summary sections of a message.
Mandatory
AtMax 1
10LOOPOpt
AtMax 999
430
DMS
Document/message summary
To specify summary information relating to the document/message.
Mandatory
AtMax 1
440
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
450
MEA
Measurements
To specify physical measurements, including dimension tolerances, weights and counts.
Opt
AtMax 5
11LOOPOpt
AtMax 25
470
MOA
Monetary amount
To specify a monetary amount.
Mandatory
AtMax 1
12LOOPOpt
AtMax 1
490
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Mandatory
AtMax 1
500
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
13LOOPOpt
AtMax 1
520
TOD
Terms of delivery or transport
To specify terms of delivery or transport.
Mandatory
AtMax 1
530
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 2
540
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
14LOOPOpt
AtMax 10
560
NAD
Name and address
To specify the name/address and their related function, either by co82 only and/or unstructured by co58 or structured by co80 thru 3207.
Mandatory
AtMax 1
15LOOPOpt
AtMax 10
580
DOC
Document/message details
To identify documents, either printed, electronically transferred, or referenced as specified in message description, including, where relevant, the identification of the type of transaction that will result from this message.
Mandatory
AtMax 1
590
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 2
600
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 1
16LOOPOpt
AtMax 10
620
PAC
Package
To describe the number and type of packages/physical units.
Mandatory
AtMax 1
17LOOPOpt
AtMax 999
640
PCI
Package identification
To specify markings and labels on individual packages or physical units.
Mandatory
AtMax 1
650
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
660
RFF
Reference
To specify a reference.
Opt
AtMax 1
18LOOPOpt
AtMax 5
680
PAT
Payment terms basis
To specify the payment terms basis.
Mandatory
AtMax 1
690
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
700
PCD
Percentage details
To specify percentage information.
Opt
AtMax 1
710
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
19LOOPOpt
AtMax 10
730
ALC
Allowance or charge
To identify allowance or charge details.
Mandatory
AtMax 1
740
RTE
Rate details
To specify rate information.
Opt
AtMax 1
750
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
760
PCD
Percentage details
To specify percentage information.
Opt
AtMax 1
770
QTY
Quantity
To specify a pertinent quantity.
Opt
AtMax 1
20LOOPOpt
AtMax 1
790
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Mandatory
AtMax 1
800
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
21LOOPOpt
AtMax 9999
820
LIN
Line item
To identify a line item and configuration.
Mandatory
AtMax 1
830
PIA
Additional product id
To specify additional or substitutional item identification codes.
Opt
AtMax 1
840
QTY
Quantity
To specify a pertinent quantity.
Opt
AtMax 1
850
PRI
Price details
To specify price information.
Opt
AtMax 2
860
PCD
Percentage details
To specify percentage information.
Opt
AtMax 1
870
MEA
Measurements
To specify physical measurements, including dimension tolerances, weights and counts.
Opt
AtMax 5
880
QVR
Quantity variances
To specify item details relating to quantity variances.
Opt
AtMax 5
890
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 15
900
NAD
Name and address
To specify the name/address and their related function, either by co82 only and/or unstructured by co58 or structured by co80 thru 3207.
Opt
AtMax 10
910
GIR
Related identification numbers
To specify a related set of identification numbers.
Opt
AtMax 9999
22LOOPOpt
AtMax 10
930
DOC
Document/message details
To identify documents, either printed, electronically transferred, or referenced as specified in message description, including, where relevant, the identification of the type of transaction that will result from this message.
Mandatory
AtMax 1
940
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 2
23LOOPOpt
AtMax 10
960
ALC
Allowance or charge
To identify allowance or charge details.
Mandatory
AtMax 1
970
RTE
Rate details
To specify rate information.
Opt
AtMax 1
980
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
990
PCD
Percentage details
To specify percentage information.
Opt
AtMax 1
1000
QTY
Quantity
To specify a pertinent quantity.
Opt
AtMax 1
24LOOPOpt
AtMax 1
1020
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Mandatory
AtMax 1
1030
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
25LOOPOpt
AtMax 1
1050
TOD
Terms of delivery or transport
To specify terms of delivery or transport.
Mandatory
AtMax 1
1060
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 2
26LOOPOpt
AtMax 5
1080
PAT
Payment terms basis
To specify the payment terms basis.
Mandatory
AtMax 1
1090
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
1100
PCD
Percentage details
To specify percentage information.
Opt
AtMax 1
1110
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
27LOOPOpt
AtMax 5
1130
IMD
Item description
To describe an item in either an industry or free format.
Mandatory
AtMax 1
1140
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
28LOOPOpt
AtMax 10
1160
PAC
Package
To describe the number and type of packages/physical units.
Mandatory
AtMax 1
29LOOPOpt
AtMax 999
1180
PCI
Package identification
To specify markings and labels on individual packages or physical units.
Mandatory
AtMax 1
1190
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
1200
RFF
Reference
To specify a reference.
Opt
AtMax 1
30LOOPOpt
AtMax 9999
1220
CST
Customs status of goods
To specify goods in terms of customs identities, status and intended use.
Mandatory
AtMax 1
1230
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9
1240
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 25
1250
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
1260
MEA
Measurements
To specify physical measurements, including dimension tolerances, weights and counts.
Opt
AtMax 20
1270
NAD
Name and address
To specify the name/address and their related function, either by co82 only and/or unstructured by co58 or structured by co80 thru 3207.
Opt
AtMax 5
1280
TDT
Details of transport
To specify the transport details such as mode of transport, means of transport, its conveyance reference number and the identification of the means of transport. the segment may be pointed to by the tpl segment.
Opt
AtMax 9
31LOOPOpt
AtMax 10
1300
PAC
Package
To describe the number and type of packages/physical units.
Mandatory
AtMax 1
32LOOPOpt
AtMax 999
1320
PCI
Package identification
To specify markings and labels on individual packages or physical units.
Mandatory
AtMax 1
1330
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
33LOOPOpt
AtMax 25
1350
MOA
Monetary amount
To specify a monetary amount.
Mandatory
AtMax 1
34LOOPOpt
AtMax 1
1370
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Mandatory
AtMax 1
1380
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
35LOOPOpt
AtMax 999
1400
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
1410
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
1420
GIN
Goods identity number
To give specific identification numbers, either as single numbers or ranges.
Opt
AtMax 99
1430
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
36LOOPOpt
AtMax 1
1450
IMD
Item description
To describe an item in either an industry or free format.
Mandatory
AtMax 1
1460
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
37LOOPOpt
AtMax 25
1480
DOC
Document/message details
To identify documents, either printed, electronically transferred, or referenced as specified in message description, including, where relevant, the identification of the type of transaction that will result from this message.
Mandatory
AtMax 1
1490
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 2
1500
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 1
1510
NAD
Name and address
To specify the name/address and their related function, either by co82 only and/or unstructured by co58 or structured by co80 thru 3207.
Opt
AtMax 5
38LOOPOpt
AtMax 1
1530
TOD
Terms of delivery or transport
To specify terms of delivery or transport.
Mandatory
AtMax 1
1540
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 2
1550
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
39LOOPOpt
AtMax 1
1570
GDS
Nature of cargo
To indicate the type of cargo as a general classification.
Mandatory
AtMax 1
1580
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
40LOOPOpt
AtMax 25
1600
GIS
General indicator
To transmit a processing indicator.
Mandatory
AtMax 1
1610
PCD
Percentage details
To specify percentage information.
Opt
AtMax 1
1620
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
1630
RFF
Reference
To specify a reference.
Opt
AtMax 1
41LOOPOpt
AtMax 10
1650
TAX
Duty/tax/fee details
To specify relevant duty/tax/fee information.
Mandatory
AtMax 1
1660
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 2
1670
GIS
General indicator
To transmit a processing indicator.
Opt
AtMax 1
42LOOPOpt
AtMax 1
1690
QVR
Quantity variances
To specify item details relating to quantity variances.
Mandatory
AtMax 1
1700
QTY
Quantity
To specify a pertinent quantity.
Opt
AtMax 1
43LOOPOpt
AtMax 1
1720
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
1730
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
44LOOPOpt
AtMax 50
1750
GIR
Related identification numbers
To specify a related set of identification numbers.
Mandatory
AtMax 1
1760
GIS
General indicator
To transmit a processing indicator.
Opt
AtMax 10
1770
NAD
Name and address
To specify the name/address and their related function, either by co82 only and/or unstructured by co58 or structured by co80 thru 3207.
Opt
AtMax 1
1780
MEA
Measurements
To specify physical measurements, including dimension tolerances, weights and counts.
Opt
AtMax 5
45LOOPOpt
AtMax 10
1800
MOA
Monetary amount
To specify a monetary amount.
Mandatory
AtMax 1
46LOOPOpt
AtMax 1
1820
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Mandatory
AtMax 1
1830
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
47LOOPOpt
AtMax 10
1850
TAX
Duty/tax/fee details
To specify relevant duty/tax/fee information.
Mandatory
AtMax 1
1860
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 2
1870
GIS
General indicator
To transmit a processing indicator.
Opt
AtMax 1
48LOOPOpt
AtMax 5
1890
DOC
Document/message details
To identify documents, either printed, electronically transferred, or referenced as specified in message description, including, where relevant, the identification of the type of transaction that will result from this message.
Mandatory
AtMax 1
1900
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 2
1910
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 1
1920
UNS
Section control
To separate header, detail and summary sections of a message.
Mandatory
AtMax 1
1930
CNT
Control total
To provide control total.
Opt
AtMax 5
49LOOPOpt
AtMax 50
1950
TAX
Duty/tax/fee details
To specify relevant duty/tax/fee information.
Mandatory
AtMax 1
1960
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 2
1970
GIS
General indicator
To transmit a processing indicator.
Opt
AtMax 1
50LOOPOpt
AtMax 1
1990
AUT
Authentication result
To specify results of the application of an authentification procedure.
Mandatory
AtMax 1
2000
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
2010
UNT
Message trailer
To end and check the completeness of a message.
Mandatory
AtMax 1

Elements

PositionElementNameRequirementTypeMin/MaxRepeat
10
Message reference numberMandatoryAlphanumeric1/1AtMax 1
20
Message identifierMandatoryAtMax 1
10
Message type identifierMandatoryAlphanumeric1/1Exact 1
20
Message type version numberMandatoryAlphanumeric1/1Exact 1
30
Message type release numberMandatoryAlphanumeric1/1Exact 1
40
Controlling agencyMandatoryAlphanumeric1/1Exact 1
50
Association assigned codeOptAlphanumeric1/1Exact 1
30
Common access referenceOptAlphanumeric1/1AtMax 1
40
Status of the transferOptAtMax 1