Return to Stylus Studio EDIFACT home page. Return to Stylus Studio EDIFACT D03A Messages page. Customs declaration message
0. INTRODUCTIONThis 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. 1. SCOPE1.1. Functional definitionThis Customs Declaration Message (CUSDEC) permits the transfer of data from a declarant to a customs administration for the purpose of meeting legislative and/or operational requirements in respect of the declaration of goods for import, export or transit. The message may also be used, for example :
importer in another country;
to another;
governments agencies and/or interested administrations.
1.2. Field of applicationThe Customs declaration message may be used for both national and international applications. It is based on universal practice related to administration, commerce and transport, and is not dependent on the type of business or industry. 1.3. PrinciplesThis message incorporates the necessary transport, statistical and customs information. Provision has also been made for the inclusion of appropriate commercial information which may be accepted by customs in lieu of supporting documentation. The design principles adopted allow for referencing one or more commercial documents pertaining to the same declaration and for the grouping of document lines into a single customs item. A customs item consists of the grouping of those document lines having the same customs characteristics (e.g. tariff number, declared use, etc.). The message correspondingly permits the use of single or multi-packaging concepts and their identification to a customs item. 2. REFERENCESSee UNTDID, Part 4, Chapter 2.3 UN/ECE UNSM - General Introduction, Section 1. 3. TERMS AND DEFINITIONS3.1. Standard terms and definitionsSee UNTDID, Part 4, Chapter 2.3 UN/ECE UNSM - General Introduction, Section 2. 4. MESSAGE DEFINITION4.1. Segment clarificationThis section should be read in conjunction with the segment table which indicates mandatory, conditional and repeating requirements. 4.1.1. Header sectionInformation to be provided in the Header section: 0010 UNH, Message headerA service segment starting and uniquely identifying a message. The message type code for the Customs declaration message is CUSDEC. Note: Customs declaration messages conforming to this document must contain the following data in segment UNH, composite S009:
0020 BGM, Beginning of messageA segment identifying the declaration type and reference. 0030 CST, Customs status of goodsA segment identifying the customs procedure and status of the goods relevant to the whole message. 0040 LOC, Place/location identificationA segment identifying a place or location relevant to the entire message. For example, port of loading, office of entry, etc. 0050 DTM, Date/time/periodA segment identifying dates, times or periods relevant to the whole message. For example, actual date of arrival, elected date of presentation, etc. 0060 GEI, Processing informationA segment identifying the various indicators required by a customs system. For example, special programs, release certification, duty free eligibility under GSP, etc. 0070 FII, Financial institution informationA segment identifying an account and a related financial institution relevant to the whole message. 0080 MEA, MeasurementsA segment identifying various measurement factors where these are required for the whole declaration (message). 0090 EQD, Equipment detailsA segment identifying the equipment (e.g. container id.) used to transport all the goods related to the whole declaration (message). 0100 SEL, Seal numberA segment identifying Customs seals used in the transport of goods related to the whole declaration (message). 0110 FTX, Free textA segment explaining the reasons or actions undertaken in processing a message. 0120 Segment Group 1: RFF-DTM-SG2A group of segments identifying various references, manifest quantities and package identities relevant to the whole message. 0130 RFF, ReferenceA segment identifying the various references relevant to the whole message. 0140 DTM, Date/time/periodA segment identifying a date related to the previous RFF segment. 0150 Segment Group 2: PAC-SG3A group of segment identifying the numbers of, the types of, and the markings individual packages. 0160 PAC, PackageA segment identifying the number and type of packages manifested on a bill of lading, warehouse entry, etc. 0170 Segment Group 3: PCI-FTXA group of segments identifying markings and labels on manifested units. 0180 PCI, Package identificationA segment identifying markings and labels on individual manifested units. 0190 FTX, Free textA segment describing the goods identified in PCI in narrative form. 0200 Segment Group 4: TDT-TPLA group of segments identifying the mode, means and identification of the transport used. 0210 TDT, Transport informationA segment identifying the mode and means of transport used. 0220 TPL, Transport placementA segment identifying the transport vehicle used. 0230 Segment Group 5: DOC-DTM-LOCA group of segments identifying documentary requirements where they are needed as supporting information for the entire message. 0240 DOC, Document/message detailsA segment identifying a specific document required as supporting information for the entire message. 0250 DTM, Date/time/periodA segment identifying dates related to the document identified in DOC. 0260 LOC, Place/location identificationA segment identifying a location related to the document identified in DOC. 0270 Segment Group 6: NAD-RFF-CTA-COMA group of segments identifying the parties relevant to the whole message, with their related references, contacts, and communication numbers. 0280 NAD, Name and addressA segment identifying the parties relevant to the entire message. For example importer, ultimate consignee, etc. 0290 RFF, ReferenceA segment identifying references relating to the party specified within the group. For example, a special mailing request number for refunds relating to the customs transaction. 0300 CTA, Contact informationA segment identifying a contact person(s) or department(s) associated with the party specified in this group. 0310 COM, Communication contactA segment identifying the phone number, fax number or other communications number of the party and (or) contact specified within this group. 0320 Segment Group 7: TOD-LOC-FTXA group of segments identifying the terms of delivery pertinent to the entire message. 0330 TOD, Terms of delivery or transportA segment identifying terms of delivery, relevant to the entire message, in a coded format. 0340 LOC, Place/location identificationA segment identifying a location related to the terms of delivery identified in TOD. 0350 FTX, Free textA segment identifying the terms of delivery in narrative form. 0360 Segment Group 8: MOA-SG9A group of segments identifying monetary amounts, currencies and their exchange rates, when required for the whole declaration. 0370 MOA, Monetary amountA segment identifying a monetary function and up to five monetary amounts. 0380 Segment Group 9: CUX-DTMA group of segments identifying currencies, a rate of exchange and a related date for a monetary amount identified within this group. 0390 CUX, CurrenciesA segment identifying currencies and the rate of exchange for a monetary amount identified within this group. 0400 DTM, Date/time/periodA segment identifying a date related to the information contained in the CUX. 4.1.2. Detail sectionInformation to be provided in the Detail section: 0410 UNS, Section controlA service segment placed at the beginning of the detail section to indicate the beginning of that section. 0420 Segment Group 10: DMS-DTM-MEA-SG11-SG13-SG14-SG16-SG18-SG19-SG21 A group of segments identifying line item details for a commercial document. 0430 DMS, Document/message summaryA segment identifying the commercial document number, the document type and the number of detail lines within the document heading this group. 0440 DTM, Date/time/periodA segment identifying a date related to the commercial document identified in DMS. 0450 MEA, MeasurementsA segment providing measurements values for the whole commercial document where required by an administration. 0460 Segment Group 11: MOA-SG12A group of segments identifying various monetary amounts, currencies and rates of exchange that pertain to the whole commercial document. 0470 MOA, Monetary amountA segment identifying a monetary amount related to the whole commercial document. 0480 Segment Group 12: CUX-DTMA group of segments identifying currencies, rate of exchange and an associated date. 0490 CUX, CurrenciesA segment identifying currency details and a rate of exchange related to the preceding MOA. 0500 DTM, Date/time/periodThe effective date of the rate of exchange reported in this group. 0510 Segment Group 13: TOD-LOC-FTXA group of segments identifying the terms of delivery pertinent to the whole commercial document. 0520 TOD, Terms of delivery or transportA segment identifying, in a coded format, the terms of delivery relevant to the entire document. 0530 LOC, Place/location identificationA segment identifying a location related to the information contained in the TOD. 0540 FTX, Free textA segment identifying the terms of delivery in narrative form. 0550 Segment Group 14: NAD-SG15A group of segments identifying the parties and other related documentary requirements associated with the whole commercial document. 0560 NAD, Name and addressA segment identifying the parties and addresses relevant to the whole commercial document. For example, manufacturer, invoicer, buyer, etc. 0570 Segment Group 15: DOC-DTM-LOCA segment identifying other documentary requirements associated with a party identified in the preceding NAD segment. For example, purchase order, contract number, etc. 0580 DOC, Document/message detailsA segment identifying documents associated with the party identified in the preceding NAD. 0590 DTM, Date/time/periodA segment identifying a date associated with the information contained in DOC. 0600 LOC, Place/location identificationA segment identifying a location related to the preceding DOC. 0610 Segment Group 16: PAC-SG17A group of segments identifying the number, type, and contents of the shipping units associated with the entire commercial document. 0620 PAC, PackageA segment identifying the number and type of shipping units covered by the whole document. 0630 Segment Group 17: PCI-FTX-RFFA group of segments identifying marks and labels of shipping units associated with the whole commercial document. 0640 PCI, Package identificationA segment identifying marks and labels on specific shipping units covered by the entire document. 0650 FTX, Free textA segment describing the goods identified in PCI in narrative form. 0660 RFF, ReferenceA segment identifying a reference associated with the information contained in PCI. 0670 Segment Group 18: PYT-MOA-PCD-FTXA group of segments identifying the payment terms for the whole commercial document. 0680 PYT, Payment termsA segment identifying the payment terms in coded format for the whole commercial document. 0690 MOA, Monetary amountA segment identifying a monetary amount associated with the preceding PYT. 0700 PCD, Percentage detailsA segment identifying percentage details associated with the preceding PYT. 0710 FTX, Free textA segment identifying the payment terms in a narrative form. 0720 Segment Group 19: ALC-RTE-MOA-PCD-QTY-SG20A group of segments identifying allowances, charges, or adjustments and related details for the whole commercial document. 0730 ALC, Allowance or chargeA segment identifying allowances, charges and adjustments related to the whole commercial document. 0740 RTE, Rate detailsA segment identifying rate information related to the preceding ALC. 0750 MOA, Monetary amountA segment identifying the monetary amount associated with the ALC. 0760 PCD, Percentage detailsA segment identifying percentage information associated with the ALC. 0770 QTY, QuantityA segment identifying a quantity associated with the ALC. 0780 Segment Group 20: CUX-DTMA group of segments identifying currencies, a rate of exchange, and an associated date for an allowance, charge or adjustment reported in the preceding ALC segment. 0790 CUX, CurrenciesA segment identifying currency details and a rate of exchange related to the preceding MOA. 0800 DTM, Date/time/periodA segment identifying a date associated with the preceding CUX. 0810 Segment Group 21: LIN-PIA-QTY-PRI-PCD-MEA-QVR-MOA-NAD-GIR-GEI-LOC-SG22-SG23-SG25-SG26-SG27-SG28 A group of segments identifying line item details for a commercial document. 0820 LIN, Line itemA segment identifying the line item number and the item number identification of a particular commercial document line. 0830 PIA, Additional product idA segment identifying additional or substitutional item identification codes related to the information in LIN. 0840 QTY, QuantityA segment identifying a specific quantity related to information in LIN. 0850 PRI, Price detailsA segment identifying price information for a particular line item identified in LIN. 0860 PCD, Percentage detailsA segment identifying percentage information for a particular line item identified in LIN. 0870 MEA, MeasurementsA segment identifying secondary quantity information where more than one quantity is required to be reported for a commercial document line. 0880 QVR, Quantity variancesA segment identifying the quantity difference an the reason for this difference between the commercial document line and the actual line item. 0890 MOA, Monetary amountA segment identifying monetary amounts required by customs, but not otherwise captured by the commercial document line value. 0900 NAD, Name and addressA segment identifying the parties and addresses relevant to a particular commercial document line. For example, manufacturer, ultimate consignee etc. 0910 GIR, Related identification numbersA segment identifying a serial numbers or other related numbers associated with the merchandise on a specific commercial document line. 0920 GEI, Processing informationA segment identifying the various indicators required for the importation of merchandise by customs and other agencies. 0930 LOC, Place/location identificationA segment identifying a place or location relevant to the line item details for the commercial document. 0940 Segment Group 22: DOC-DTMA group of segments identifying customs documentary requirements for a commercial document line item. For example, an import or export license. 0950 DOC, Document/message detailsA segment identifying a specific customs documentary requirement for a commercial line item. 0960 DTM, Date/time/periodA segment identifying dates related to the preceding DOC. 0970 Segment Group 23: ALC-RTE-MOA-PCD-QTY-SG24A group of segments identifying allowances, charges, or adjustments and related details for the commercial document line. 0980 ALC, Allowance or chargeA segment identifying allowances, charges or adjustments specific to a commercial document line. 0990 RTE, Rate detailsA segment identifying rate information related to the preceding ALC. 1000 MOA, Monetary amountA segment identifying the monetary amount associated with the preceding ALC. 1010 PCD, Percentage detailsA segment identifying percentage information associated with the preceding ALC. 1020 QTY, QuantityA segment identifying a quantity associated with the preceding ALC. 1030 Segment Group 24: CUX-DTMA group of segments identifying currencies, rates of exchange and associated dates for an allowance, charge, or adjustment reported in the preceding ALC. 1040 CUX, CurrenciesA segment identifying currencies and the rate of exchange for an allowance, charge, or adjustment reported in the preceding ALC segment. 1050 DTM, Date/time/periodA segment identifying a specific date related to CUX. 1060 Segment Group 25: TOD-LOCA group of segments identifying the terms of delivery pertinent to a commercial document line. 1070 TOD, Terms of delivery or transportA segment identifying, in coded format, the terms of delivery particular to a commercial document line. 1080 LOC, Place/location identificationA segment identifying a location related to the information contained in the preceding TOD segment. 1090 Segment Group 26: PYT-MOA-PCD-FTXA group of segments identifying the payment terms for a commercial document line. 1100 PYT, Payment termsA segment identifying the terms of payment, in a coded format, for a particular commercial document line. 1110 MOA, Monetary amountA segment identifying a monetary amount associated with the preceding PYT. 1120 PCD, Percentage detailsA segment identifying percentage details associated with the preceding PYT. 1130 FTX, Free textA segment starting the terms of payment in narrative form. 1140 Segment Group 27: IMD-FTXA group of segments identifying a commercial description for a documented commodity that is associated with this Customs, item line. 1150 IMD, Item descriptionA segment identifying a documented item via an industry coded format, or a restricted narrative. 1160 FTX, Free textA segment identifying the item description in extended narrative form. 1170 Segment Group 28: PAC-SG29A group of segments identifying the number, type, contents and description of the packing units associated with the commercial document line. 1180 PAC, PackageA segment identifying the number and type of packing units particular to a document line. 1190 Segment Group 29: PCI-FTX-RFFA group of segments identifying marks, labels and description of packages relating to a document line. 1200 PCI, Package identificationA segment identifying a particular package associated with the preceding PAC. 1210 FTX, Free textA segment identifying a particular packing unit, associated with the preceding PCI, in narrative form. 1220 RFF, ReferenceA segment identifying a reference related to the preceding PCI. 1230 Segment Group 30: CST-FTX-LOC-DTM-MEA-NAD-TDT-SG31-SG33-SG35-SG37-SG38-SG39-SG40-SG41-SG42-SG44 A group of segments identifying detailed information for a single customs item of a customs declaration. 1240 CST, Customs status of goodsA segment identifying the customs tariff of the goods, their required treatment and, where these are different to the header information, the type of declaration and the current status of the goods. 1250 FTX, Free textA segment identifying the goods, related to the preceding CST, in narrative form. 1260 LOC, Place/location identificationA segment identifying the places relevant to a customs item. For example, country of origin, country of export, etc. 1270 DTM, Date/time/periodA segment identifying dates particular to the customs item. For example, date of original exportation. 1280 MEA, MeasurementsA segment identifying the necessary statistical information requirements related to a tariff number. For example, net weights, volumes, etc. 1290 NAD, Name and addressA segment identifying a party particular to the customs item when required by customs. For example, manufacturer of the goods. 1300 TDT, Transport informationA segment identifying transport details, for statistical purposes, on goods crossing statistical boundaries. 1310 Segment Group 31: PAC-SG32A group of segments identifying the number, type and reference of the packing units associated with the customs item. 1320 PAC, PackageA segment identifying the number and type of packages relating to the customs item. 1330 Segment Group 32: PCI-FTXA group of segments identifying marks and labels, and giving the description of single packages associated with a customs item. 1340 PCI, Package identificationA segment identifying markings and labels on the type of packages reported in the preceding PAC. 1350 FTX, Free textA segment describing the goods identified in PCI in narrative form. 1360 Segment Group 33: MOA-SG34A group of segments identifying various monetary amounts, currencies and rates of exchange that pertain to the customs item. 1370 MOA, Monetary amountA segment identifying the monetary amounts necessary for statistical and duty purposes. 1380 Segment Group 34: CUX-DTMA group of segments identifying currencies, a rate of exchange and an associated date related to the preceding MOA. 1390 CUX, CurrenciesA segment identifying currencies and the rate of exchange for an amount reported in the preceding MOA. 1400 DTM, Date/time/periodA segment identifying a date related to the preceding CUX. 1410 Segment Group 35: RFF-DTM-GIN-MOA-SG36A group of segments identifying references, descriptions, and monetary amounts associated with a customs item. 1420 RFF, ReferenceA segment identifying particular references relating to the customs item. For example, the invoice number of any invoice that contains merchandise on this customs item. 1430 DTM, Date/time/periodA segment identifying a date associated with the preceding RFF. 1440 GIN, Goods identity numberA segment identifying any line or range of lines on the commercial document reported in the preceding RFF segment, that contains goods on this customs item. 1450 MOA, Monetary amountA segment identifying commercial document line monetary amounts where the Commercial Group is not offered but an administration requires this information. 1460 Segment Group 36: IMD-FTXA group of segments identifying a commercial description for a documented commodity that is associated with this customs line item. 1470 IMD, Item descriptionA segment identifying the coded industry description of the merchandise on the document line(s) identified in the preceding GIN segment. 1480 FTX, Free textA segment identifying the documented merchandise in narrative form. 1490 Segment Group 37: DOC-DTM-LOC-NADA group of segments identifying report documentary requirements of particular government agencies, with the optional name and address of the agency involved. 1500 DOC, Document/message detailsA segment identifying a document related to a customs item. 1510 DTM, Date/time/periodA segment identifying dates associated with the preceding DOC. 1520 LOC, Place/location identificationA segment identifying a location associated with the preceding DOC. 1530 NAD, Name and addressA segment identifying the identity and address of the agency related to the documentary requirement. 1540 Segment Group 38: TOD-LOC-FTXA group of segments identifying the terms of delivery pertinent to a customs item. 1550 TOD, Terms of delivery or transportA segment identifying, in coded format, the terms of delivery of the entered goods, where these are specific to the customs item. 1560 LOC, Place/location identificationA segment identifying the place of delivery associated with the preceding TOD. 1570 FTX, Free textA segment identifying the terms of delivery in narrative form. 1580 Segment Group 39: GDS-FTXA group of segments identifying the customs description of merchandise entered on a customs item. 1590 GDS, Nature of cargoA segment identifying a customs description, in coded format, of the goods declared on the customs item. 1600 FTX, Free textA segment identifying the customs description in narrative form. 1610 Segment Group 40: GEI-PCD-DTM-RFFA group of segments identifying special indicators or value data related to the customs item. 1620 GEI, Processing informationA segment identifying any necessary processing indicators where these are required by customs at the item level. 1630 PCD, Percentage detailsA segment identifying percentage details related to adjustments where a relationship is identified between the buyer and seller. 1640 DTM, Date/time/periodA segment identifying a date related the preceding GEI. 1650 RFF, ReferenceA segment identifying a reference related to the preceding GEI. 1660 Segment Group 41: TAX-MOA-GEIA group of segments identifying duties/taxes/fees and methods of payment related to a customs item. 1670 TAX, Duty/tax/fee detailsA segment identifying the tax type, rate and base associated with a customs item. 1680 MOA, Monetary amountA segment identifying monetary amounts (e.g. tax/fee amount) associated with the preceding TAX. 1690 GEI, Processing informationA segment identifying an indicator (e.g. method payment indicator) associated with the preceding TAX. 1700 Segment Group 42: QVR-QTY-SG43A group of segments identifying variances between the quantity commercially documented and/or produced to Customs and the quantity declared. 1710 QVR, Quantity variancesA segment identifying quantity difference and the reason for the difference between the declared and commercially documented amounts. 1720 QTY, QuantityA segment identifying the quantity related to the preceding QVR. 1730 Segment Group 43: RFF-DTMA group of segments identifying an earlier customs declaration in order to balance the total quantity declared with the total quantity presented to Customs. 1740 RFF, ReferenceA segment identifying a reference to a previous customs declaration. 1750 DTM, Date/time/periodA segment identifying a date associated with the preceding RFF. 1760 Segment Group 44: GIR-GEI-NAD-MEA-SG45-SG47-SG48A group of segments identifying customs reporting requirements associated with a secondary tariff number. 1770 GIR, Related identification numbersA segment identifying the tariff number where the published tariff requires more than one tariff number. 1780 GEI, Processing informationA segment identifying any necessary processing indicators related to the tariff number in the preceding GIR segment, where these are required by customs. 1790 NAD, Name and addressA segment identifying a party particular to the goods governed by the tariff number in the preceding GIR segment. For example, manufacturer of the goods. 1800 MEA, MeasurementsA segment identifying the necessary statistical information requirements related to the tariff number in the GIR segment. For example, net weight, volume, etc. 1810 Segment Group 45: MOA-SG46A group of segments identifying various monetary amounts, currencies and rates of exchange that pertain to a secondary tariff number within a customs item. 1820 MOA, Monetary amountA segment identifying the monetary amount necessary for statistical and/or duty purposes, as it relates to the tariff number in the preceding GIR segment. 1830 Segment Group 46: CUX-DTMA group of segments identifying currencies, a rate of exchange and related date for an amount reported in the preceding MOA. 1840 CUX, CurrenciesA segment identifying currencies and the rate of exchange for an amount reported in the preceding MOA segment. 1850 DTM, Date/time/periodA segment identifying a date related to the preceding CUX. 1860 Segment Group 47: TAX-MOA-GEIA group of segments identifying the duties, taxes, and/or fees pertinent to the tariff number reported in the GIR segment. 1870 TAX, Duty/tax/fee detailsA segment identifying the tax type, rate and base associated with the preceding GIR. 1880 MOA, Monetary amountA segment identifying monetary amounts (e.g. tax/fee amount) associated with the preceding TAX. 1890 GEI, Processing informationA segment identifying an indicator associated with the preceding TAX, (e.g. method of payment indicator). 1900 Segment Group 48: DOC-DTM-LOCA group of segments identifying specific documentary information which may be required by the tariff number in the GIR segment. For example, a textile category number. 1910 DOC, Document/message detailsA segment identifying a specific document related to the preceding GIR. 1920 DTM, Date/time/periodA segment identifying a date associated with the preceding DOC. 1930 LOC, Place/location identificationA segment identifying a place associated with the preceding DOC. 4.1.3. Summary sectionInformation to be provided in the Summary section: 1940 UNS, Section controlA service segment placed at the beginning of the summary section to indicate the start of that section. 1950 CNT, Control totalA segment specifying control totals. For example, the number of commercial documents, the total number of customs item, values, and packages reported in the message. 1960 Segment Group 49: TAX-MOA-GEIA segment identifying the totals and duty/tax/fee levels due for the declaration and summarizing this total by each accounting code included in the total due. 1970 TAX, Duty/tax/fee detailsA segment identifying the summary tax type, rates and base for a full declaration. 1980 MOA, Monetary amountA segment identifying amounts associated with the preceding TAX (e.g. total amounts for each duty/tax/fee). 1990 GEI, Processing informationA segment identifying an indicator related to the preceding TAX (e.g. summary method of payment). 2000 Segment Group 50: AUT-DTMA group of segments permitting the verification of the authenticity of the sender and the integrity of the data. 2010 AUT, Authentication resultA segment containing the result of the algorithm permitting the verification of the authenticity of the sender and the integrity of the data. 2020 DTM, Date/time/periodA segment identifying a date associated with the preceding AUT. 2030 UNT, Message trailerA service segment ending a message, giving the total number of segments in the message (including the UNH & UNT) and the control reference number of the message. 4.2. Segment index (alphabetical sequence by tag)
4.3. Message structure4.3.1. Segment table
Return to Stylus Studio EDIFACT D03A Messages page. |
![]() |
Site Map | Privacy Policy | Terms of Use | Trademarks |