CUSDEC Customs declaration

TBG4 Customs

This 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 :

- to transmit data from an exporter in one country to an importer in another country; - to transmit consignment data from one customs administration to another; - to transmit data from a customs authority to other governments agencies and/or interested administrations. - to transmit data from a declarant to the appropriate data collection agency on the movement of goods between statistical territories.

Header

Position
Segment
Name
Max use
  1. A 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: Data element 0065 CUSDEC 0052 D 0054 13B 0051 UN

  2. A segment identifying the declaration type and reference.

  3. A segment identifying the customs procedure and status of the goods relevant to the whole message.

  4. A segment identifying a place or location relevant to the entire message. For example, port of loading, office of entry, etc.

  5. A segment identifying dates, times or periods relevant to the whole message. For example, actual date of arrival, elected date of presentation, etc.

  6. A segment identifying the various indicators required by a customs system. For example, special programs, release certification, duty free eligibility under GSP, etc.

  7. A segment identifying an account and a related financial institution relevant to the whole message.

  8. A segment identifying various measurement factors where these are required for the whole declaration (message).

  9. A segment identifying the equipment (e.g. container id.) used to transport all the goods related to the whole declaration (message).

  10. A segment identifying Customs seals used in the transport of goods related to the whole declaration (message).

  11. A segment explaining the reasons or actions undertaken in processing a message.

  12. Segment group 1
    Repeat 99
    1. A segment identifying the various references relevant to the whole message.

    2. A segment identifying a date related to the previous RFF segment.

    3. Segment group 2
      Repeat 10
      1. A segment identifying the number and type of packages manifested on a bill of lading, warehouse entry, etc.

      2. Segment group 3
        Repeat 999
        1. A segment identifying markings and labels on individual manifested units.

        2. A segment describing the goods identified in PCI in narrative form.

  13. Segment group 4
    Repeat 5
    1. A segment identifying the mode and means of transport used.

      040 D5(040,030) If first, then all
    2. A segment identifying the transport vehicle used.

  14. Segment group 5
    Repeat 99
    1. A segment identifying a specific document required as supporting information for the entire message.

    2. A segment identifying dates related to the document identified in DOC.

    3. A segment identifying a location related to the document identified in DOC.

  15. Segment group 6
    Repeat 99
    1. A segment identifying the parties relevant to the entire message. For example importer, ultimate consignee, etc.

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

    3. A segment identifying a contact person(s) or department(s) associated with the party specified in this group.

    4. A segment identifying the phone number, fax number or other communications number of the party and (or) contact specified within this group.

  16. Segment group 7
    Repeat 1
    1. A segment identifying terms of delivery, relevant to the entire message, in a coded format.

    2. A segment identifying a location related to the terms of delivery identified in TOD.

    3. A segment identifying the terms of delivery in narrative form.

  17. Segment group 8
    Repeat 25
    1. A segment identifying a monetary function and up to five monetary amounts.

    2. Segment group 9
      Repeat 1
      1. A segment identifying currencies and the rate of exchange for a monetary amount identified within this group.

      2. A segment identifying a date related to the information contained in the CUX.

  18. Segment group 10
    Repeat 99
    1. This segment will identify the external files by indicating the file name, file number and its sequence number in an exchange.

    2. To give precise definitions of all necessary elements belonging to the configuration of a computer system, e.g. hardware, firmware, operating system, communication and application software.

    3. To identify a communication number of a department or a person to whom communication should be directed.

    4. A segment giving reference related to the file identified by a previous external file link identification segment.

    5. This segment will convey the date/time details of the external file.

    6. The size/volume of the external file identified in the previous external file link identification segment.

Detail

Position
Segment
Name
Max use
  1. A service segment placed at the beginning of the detail section to indicate the beginning of that section.

  2. Segment group 11
    Repeat 999
    1. A segment identifying the commercial document number, the document type and the number of detail lines within the document heading this group.

    2. A segment identifying a date related to the commercial document identified in DMS.

    3. A segment providing measurements values for the whole commercial document where required by an administration.

    4. Segment group 12
      Repeat 25
      1. A segment identifying a monetary amount related to the whole commercial document.

      2. Segment group 13
        Repeat 1
        1. A segment identifying currency details and a rate of exchange related to the preceding MOA.

        2. The effective date of the rate of exchange reported in this group.

    5. Segment group 14
      Repeat 1
      1. A segment identifying, in a coded format, the terms of delivery relevant to the entire document.

      2. A segment identifying a location related to the information contained in the TOD.

      3. A segment identifying the terms of delivery in narrative form.

    6. Segment group 15
      Repeat 10
      1. A segment identifying the parties and addresses relevant to the whole commercial document. For example, manufacturer, invoicer, buyer, etc.

      2. Segment group 16
        Repeat 10
        1. A segment identifying documents associated with the party identified in the preceding NAD.

        2. A segment identifying a date associated with the information contained in DOC.

        3. A segment identifying a location related to the preceding DOC.

    7. Segment group 17
      Repeat 10
      1. A segment identifying the number and type of shipping units covered by the whole document.

      2. Segment group 18
        Repeat 999
        1. A segment identifying marks and labels on specific shipping units covered by the entire document.

        2. A segment describing the goods identified in PCI in narrative form.

        3. A segment identifying a reference associated with the information contained in PCI.

    8. Segment group 19
      Repeat 5
      1. A segment identifying the payment terms in coded format for the whole commercial document.

      2. A segment identifying a monetary amount associated with the preceding PYT.

      3. A segment identifying percentage details associated with the preceding PYT.

      4. A segment identifying the payment terms in a narrative form.

    9. Segment group 20
      Repeat 10
      1. A segment identifying allowances, charges and adjustments related to the whole commercial document.

      2. A segment identifying rate information related to the preceding ALC.

      3. A segment identifying the monetary amount associated with the ALC.

      4. A segment identifying percentage information associated with the ALC.

      5. A segment identifying a quantity associated with the ALC.

      6. Segment group 21
        Repeat 1
        1. A segment identifying currency details and a rate of exchange related to the preceding MOA.

        2. A segment identifying a date associated with the preceding CUX.

    10. Segment group 22
      Repeat 9999
      1. A segment identifying the line item number and the item number identification of a particular commercial document line.

      2. A segment identifying additional or substitutional item identification codes related to the information in LIN.

      3. A segment identifying a specific quantity related to information in LIN.

      4. A segment identifying price information for a particular line item identified in LIN.

      5. A segment identifying percentage information for a particular line item identified in LIN.

      6. A segment identifying secondary quantity information where more than one quantity is required to be reported for a commercial document line.

      7. A segment identifying the quantity difference an the reason for this difference between the commercial document line and the actual line item.

      8. A segment identifying monetary amounts required by customs, but not otherwise captured by the commercial document line value.

      9. A segment identifying the parties and addresses relevant to a particular commercial document line. For example, manufacturer, ultimate consignee etc.

      10. A segment identifying a serial numbers or other related numbers associated with the merchandise on a specific commercial document line.

      11. A segment identifying the various indicators required for the importation of merchandise by customs and other agencies.

      12. A segment identifying a place or location relevant to the line item details for the commercial document.

      13. Segment group 23
        Repeat 10
        1. A segment identifying a specific customs documentary requirement for a commercial line item.

        2. A segment identifying dates related to the preceding DOC.

      14. Segment group 24
        Repeat 10
        1. A segment identifying allowances, charges or adjustments specific to a commercial document line.

        2. A segment identifying rate information related to the preceding ALC.

        3. A segment identifying the monetary amount associated with the preceding ALC.

        4. A segment identifying percentage information associated with the preceding ALC.

        5. A segment identifying a quantity associated with the preceding ALC.

        6. Segment group 25
          Repeat 1
          1. A segment identifying currencies and the rate of exchange for an allowance, charge, or adjustment reported in the preceding ALC segment.

          2. A segment identifying a specific date related to CUX.

      15. Segment group 26
        Repeat 1
        1. A segment identifying, in coded format, the terms of delivery particular to a commercial document line.

        2. A segment identifying a location related to the information contained in the preceding TOD segment.

      16. Segment group 27
        Repeat 5
        1. A segment identifying the terms of payment, in a coded format, for a particular commercial document line.

        2. A segment identifying a monetary amount associated with the preceding PYT.

        3. A segment identifying percentage details associated with the preceding PYT.

        4. A segment starting the terms of payment in narrative form.

      17. Segment group 28
        Repeat 99
        1. A segment identifying a documented item via an industry coded format, or a restricted narrative.

        2. A segment identifying the item description in extended narrative form.

      18. Segment group 29
        Repeat 10
        1. A segment identifying the number and type of packing units particular to a document line.

        2. Segment group 30
          Repeat 999
          1. A segment identifying a particular package associated with the preceding PAC.

          2. A segment identifying a particular packing unit, associated with the preceding PCI, in narrative form.

          3. A segment identifying a reference related to the preceding PCI.

    11. Segment group 31
      Repeat 99
      1. This segment will identify the external files by indicating the file name, file number and its sequence number in an exchange.

      2. To give precise definitions of all necessary elements belonging to the configuration of a computer system, e.g. hardware, firmware, operating system, communication and application software.

      3. To identify a communication number of a department or a person to whom communication should be directed.

      4. A segment giving reference related to the file identified by a previous external file link identification segment.

      5. This segment will convey the date/time details of the external file.

      6. The size/volume of the external file identified in the previous external file link identification segment.

  3. Segment group 32
    Repeat 99999
    1. A 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.

    2. A segment identifying the goods, related to the preceding CST, in narrative form.

    3. A segment identifying the places relevant to a customs item. For example, country of origin, country of export, etc.

    4. A segment identifying dates particular to the customs item. For example, date of original exportation.

    5. A segment identifying the necessary statistical information requirements related to a tariff number. For example, net weights, volumes, etc.

    6. A segment identifying a party particular to the customs item when required by customs. For example, manufacturer of the goods.

    7. A segment identifying transport details, for statistical purposes, on goods crossing statistical boundaries.

      040 D5(040,030) If first, then all
    8. Segment group 33
      Repeat 10
      1. A segment identifying the number and type of packages relating to the customs item.

      2. Segment group 34
        Repeat 999
        1. A segment identifying markings and labels on the type of packages reported in the preceding PAC.

        2. A segment describing the goods identified in PCI in narrative form.

    9. Segment group 35
      Repeat 25
      1. A segment identifying the monetary amounts necessary for statistical and duty purposes.

      2. Segment group 36
        Repeat 1
        1. A segment identifying currencies and the rate of exchange for an amount reported in the preceding MOA.

        2. A segment identifying a date related to the preceding CUX.

    10. Segment group 37
      Repeat 999
      1. A segment identifying particular references relating to the customs item. For example, the invoice number of any invoice that contains merchandise on this customs item.

      2. A segment identifying a date associated with the preceding RFF.

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

      4. A segment identifying commercial document line monetary amounts where the Commercial Group is not offered but an administration requires this information.

      5. Segment group 38
        Repeat 1
        1. A segment identifying the coded industry description of the merchandise on the document line(s) identified in the preceding GIN segment.

        2. A segment identifying the documented merchandise in narrative form.

    11. Segment group 39
      Repeat 25
      1. A segment identifying a document related to a customs item.

      2. A segment identifying dates associated with the preceding DOC.

      3. A segment identifying a location associated with the preceding DOC.

      4. A segment identifying the identity and address of the agency related to the documentary requirement.

    12. Segment group 40
      Repeat 1
      1. A segment identifying, in coded format, the terms of delivery of the entered goods, where these are specific to the customs item.

      2. A segment identifying the place of delivery associated with the preceding TOD.

      3. A segment identifying the terms of delivery in narrative form.

    13. Segment group 41
      Repeat 1
      1. A segment identifying a customs description, in coded format, of the goods declared on the customs item.

      2. A segment identifying the customs description in narrative form.

    14. Segment group 42
      Repeat 25
      1. A segment identifying any necessary processing indicators where these are required by customs at the item level.

      2. A segment identifying percentage details related to adjustments where a relationship is identified between the buyer and seller.

      3. A segment identifying a date related the preceding GEI.

      4. A segment identifying a reference related to the preceding GEI.

    15. Segment group 43
      Repeat 10
      1. A segment identifying the tax type, rate and base associated with a customs item.

      2. A segment identifying monetary amounts (e.g. tax/fee amount) associated with the preceding TAX.

      3. A segment identifying an indicator (e.g. method payment indicator) associated with the preceding TAX.

    16. Segment group 44
      Repeat 1
      1. A segment identifying quantity difference and the reason for the difference between the declared and commercially documented amounts.

      2. A segment identifying the quantity related to the preceding QVR.

      3. Segment group 45
        Repeat 1
        1. A segment identifying a reference to a previous customs declaration.

        2. A segment identifying a date associated with the preceding RFF.

    17. Segment group 46
      Repeat 50
      1. A segment identifying the tariff number where the published tariff requires more than one tariff number.

      2. A segment identifying any necessary processing indicators related to the tariff number in the preceding GIR segment, where these are required by customs.

      3. A segment identifying a party particular to the goods governed by the tariff number in the preceding GIR segment. For example, manufacturer of the goods.

      4. A segment identifying the necessary statistical information requirements related to the tariff number in the GIR segment. For example, net weight, volume, etc.

      5. Segment group 47
        Repeat 10
        1. A segment identifying the monetary amount necessary for statistical and/or duty purposes, as it relates to the tariff number in the preceding GIR segment.

        2. Segment group 48
          Repeat 1
          1. A segment identifying currencies and the rate of exchange for an amount reported in the preceding MOA segment.

          2. A segment identifying a date related to the preceding CUX.

      6. Segment group 49
        Repeat 10
        1. A segment identifying the tax type, rate and base associated with the preceding GIR.

        2. A segment identifying monetary amounts (e.g. tax/fee amount) associated with the preceding TAX.

        3. A segment identifying an indicator associated with the preceding TAX, (e.g. method of payment indicator).

      7. Segment group 50
        Repeat 5
        1. A segment identifying a specific document related to the preceding GIR.

        2. A segment identifying a date associated with the preceding DOC.

        3. A segment identifying a place associated with the preceding DOC.

Summary

Position
Segment
Name
Max use
  1. A service segment placed at the beginning of the summary section to indicate the start of that section.

  2. A segment specifying control totals. For example, the number of commercial documents, the total number of customs item, values, and packages reported in the message.

  3. Segment group 51
    Repeat 50
    1. A segment identifying the summary tax type, rates and base for a full declaration.

    2. A segment identifying amounts associated with the preceding TAX (e.g. total amounts for each duty/tax/fee).

    3. A segment identifying an indicator related to the preceding TAX (e.g. summary method of payment).

  4. Segment group 52
    Repeat 1
    1. A segment containing the result of the algorithm permitting the verification of the authenticity of the sender and the integrity of the data.

    2. A segment identifying a date associated with the preceding AUT.

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

    1. 0062, the value shall be identical to the value in 0062 in the
    corresponding UNH segment.

Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference is provided for marketing purposes and is free of charge. All names, logos, and brands of third parties listed on our site are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.