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
1LOOPOpt
AtMax 99
120
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
130
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
2LOOPOpt
AtMax 10
150
PAC
Package
To describe the number and type of packages/physical units.
Mandatory
AtMax 1
3LOOPOpt
AtMax 999
170
PCI
Package identification
To specify markings and labels on individual packages or physical units.
Mandatory
AtMax 1
180
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
4LOOPOpt
AtMax 5
200
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
210
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
230
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
240
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 2
250
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 1
6LOOPOpt
AtMax 10
270
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
280
RFF
Reference
To specify a reference.
Opt
AtMax 10
290
CTA
Contact information
To identify a person or a department to whom communication should be directed.
Opt
AtMax 1
300
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
320
TOD
Terms of delivery or transport
To specify terms of delivery or transport.
Mandatory
AtMax 1
330
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 2
340
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
8LOOPOpt
AtMax 25
360
MOA
Monetary amount
To specify a monetary amount.
Mandatory
AtMax 1
9LOOPOpt
AtMax 1
380
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Mandatory
AtMax 1
390
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
400
UNS
Section control
To separate header, detail and summary sections of a message.
Mandatory
AtMax 1
10LOOPOpt
AtMax 999
420
DMS
Document/message summary
To specify summary information relating to the document/message.
Mandatory
AtMax 1
430
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
440
MEA
Measurements
To specify physical measurements, including dimension tolerances, weights and counts.
Opt
AtMax 5
11LOOPOpt
AtMax 25
460
MOA
Monetary amount
To specify a monetary amount.
Mandatory
AtMax 1
12LOOPOpt
AtMax 1
480
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Mandatory
AtMax 1
490
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
13LOOPOpt
AtMax 1
510
TOD
Terms of delivery or transport
To specify terms of delivery or transport.
Mandatory
AtMax 1
520
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 2
530
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
14LOOPOpt
AtMax 10
550
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
570
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
580
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 2
590
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 1
16LOOPOpt
AtMax 10
610
PAC
Package
To describe the number and type of packages/physical units.
Mandatory
AtMax 1
17LOOPOpt
AtMax 999
630
PCI
Package identification
To specify markings and labels on individual packages or physical units.
Mandatory
AtMax 1
640
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
650
RFF
Reference
To specify a reference.
Opt
AtMax 1
18LOOPOpt
AtMax 5
670
PAT
Payment terms basis
To specify the payment terms basis.
Mandatory
AtMax 1
680
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
690
PCD
Percentage details
To specify percentage information.
Opt
AtMax 1
700
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
19LOOPOpt
AtMax 10
720
ALC
Allowance or charge
To identify allowance or charge details.
Mandatory
AtMax 1
730
RTE
Rate details
To specify rate information.
Opt
AtMax 1
740
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
750
PCD
Percentage details
To specify percentage information.
Opt
AtMax 1
760
QTY
Quantity
To specify a pertinent quantity.
Opt
AtMax 1
20LOOPOpt
AtMax 1
780
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Mandatory
AtMax 1
790
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
21LOOPOpt
AtMax 9999
810
LIN
Line item
To identify a line item and configuration.
Mandatory
AtMax 1
820
PIA
Additional product id
To specify additional or substitutional item identification codes.
Opt
AtMax 1
830
QTY
Quantity
To specify a pertinent quantity.
Opt
AtMax 1
840
PRI
Price details
To specify price information.
Opt
AtMax 2
850
PCD
Percentage details
To specify percentage information.
Opt
AtMax 1
860
MEA
Measurements
To specify physical measurements, including dimension tolerances, weights and counts.
Opt
AtMax 5
870
QVR
Quantity variances
To specify item details relating to quantity variances.
Opt
AtMax 5
880
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 15
890
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
900
GIR
Related identification numbers
To specify a related set of identification numbers.
Opt
AtMax 9999
22LOOPOpt
AtMax 10
920
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
930
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 2
23LOOPOpt
AtMax 10
950
ALC
Allowance or charge
To identify allowance or charge details.
Mandatory
AtMax 1
960
RTE
Rate details
To specify rate information.
Opt
AtMax 1
970
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
980
PCD
Percentage details
To specify percentage information.
Opt
AtMax 1
990
QTY
Quantity
To specify a pertinent quantity.
Opt
AtMax 1
24LOOPOpt
AtMax 1
1010
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Mandatory
AtMax 1
1020
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
25LOOPOpt
AtMax 1
1040
TOD
Terms of delivery or transport
To specify terms of delivery or transport.
Mandatory
AtMax 1
1050
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 2
26LOOPOpt
AtMax 5
1070
PAT
Payment terms basis
To specify the payment terms basis.
Mandatory
AtMax 1
1080
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
1090
PCD
Percentage details
To specify percentage information.
Opt
AtMax 1
1100
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
27LOOPOpt
AtMax 5
1120
IMD
Item description
To describe an item in either an industry or free format.
Mandatory
AtMax 1
1130
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
28LOOPOpt
AtMax 10
1150
PAC
Package
To describe the number and type of packages/physical units.
Mandatory
AtMax 1
29LOOPOpt
AtMax 999
1170
PCI
Package identification
To specify markings and labels on individual packages or physical units.
Mandatory
AtMax 1
1180
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
1190
RFF
Reference
To specify a reference.
Opt
AtMax 1
30LOOPOpt
AtMax 9999
1210
CST
Customs status of goods
To specify goods in terms of customs identities, status and intended use.
Mandatory
AtMax 1
1220
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9
1230
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 25
1240
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
1250
MEA
Measurements
To specify physical measurements, including dimension tolerances, weights and counts.
Opt
AtMax 20
1260
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
1270
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
1290
PAC
Package
To describe the number and type of packages/physical units.
Mandatory
AtMax 1
32LOOPOpt
AtMax 999
1310
PCI
Package identification
To specify markings and labels on individual packages or physical units.
Mandatory
AtMax 1
1320
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
33LOOPOpt
AtMax 25
1340
MOA
Monetary amount
To specify a monetary amount.
Mandatory
AtMax 1
34LOOPOpt
AtMax 1
1360
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Mandatory
AtMax 1
1370
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
35LOOPOpt
AtMax 999
1390
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
1400
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
1410
GIN
Goods identity number
To give specific identification numbers, either as single numbers or ranges.
Opt
AtMax 99
1420
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
36LOOPOpt
AtMax 1
1440
IMD
Item description
To describe an item in either an industry or free format.
Mandatory
AtMax 1
1450
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
37LOOPOpt
AtMax 25
1470
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
1480
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 2
1490
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 1
1500
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
1520
TOD
Terms of delivery or transport
To specify terms of delivery or transport.
Mandatory
AtMax 1
1530
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 2
1540
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
39LOOPOpt
AtMax 1
1560
GDS
Nature of cargo
To indicate the type of cargo as a general classification.
Mandatory
AtMax 1
1570
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
40LOOPOpt
AtMax 25
1590
GIS
General indicator
To transmit a processing indicator.
Mandatory
AtMax 1
1600
PCD
Percentage details
To specify percentage information.
Opt
AtMax 1
1610
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
1620
RFF
Reference
To specify a reference.
Opt
AtMax 1
41LOOPOpt
AtMax 10
1640
TAX
Duty/tax/fee details
To specify relevant duty/tax/fee information.
Mandatory
AtMax 1
1650
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 2
1660
GIS
General indicator
To transmit a processing indicator.
Opt
AtMax 1
42LOOPOpt
AtMax 1
1680
QVR
Quantity variances
To specify item details relating to quantity variances.
Mandatory
AtMax 1
1690
QTY
Quantity
To specify a pertinent quantity.
Opt
AtMax 1
43LOOPOpt
AtMax 1
1710
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
1720
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
44LOOPOpt
AtMax 50
1740
GIR
Related identification numbers
To specify a related set of identification numbers.
Mandatory
AtMax 1
1750
GIS
General indicator
To transmit a processing indicator.
Opt
AtMax 10
1760
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
1770
MEA
Measurements
To specify physical measurements, including dimension tolerances, weights and counts.
Opt
AtMax 5
45LOOPOpt
AtMax 10
1790
MOA
Monetary amount
To specify a monetary amount.
Mandatory
AtMax 1
46LOOPOpt
AtMax 1
1810
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Mandatory
AtMax 1
1820
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
47LOOPOpt
AtMax 10
1840
TAX
Duty/tax/fee details
To specify relevant duty/tax/fee information.
Mandatory
AtMax 1
1850
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 2
1860
GIS
General indicator
To transmit a processing indicator.
Opt
AtMax 1
48LOOPOpt
AtMax 5
1880
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
1890
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 2
1900
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 1
1910
UNS
Section control
To separate header, detail and summary sections of a message.
Mandatory
AtMax 1
1920
CNT
Control total
To provide control total.
Opt
AtMax 5
49LOOPOpt
AtMax 50
1940
TAX
Duty/tax/fee details
To specify relevant duty/tax/fee information.
Mandatory
AtMax 1
1950
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 2
1960
GIS
General indicator
To transmit a processing indicator.
Opt
AtMax 1
50LOOPOpt
AtMax 1
1980
AUT
Authentication result
To specify results of the application of an authentification procedure.
Mandatory
AtMax 1
1990
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
2000
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