Frames | No Frames

Return to EDIFACT D00B Messages page.
UN/EDIFACT
UNITED NATIONS STANDARD MESSAGE (UNSM)

Customs response message

Version:D
Release:00B
Contr. Agency:UN
Revision:6
Date:2000-06-28
SOURCE:Joint development by the Pan American EDIFACT Board and the Western European EDIFACT Board.

CONTENTS
Customs response message
  1. INTRODUCTION
  2. SCOPE
    1. Functional definition
    2. Field of application
    3. Principles
  3. REFERENCES
  4. TERMS AND DEFINITIONS
    1. Standard terms and definitions
  5. MESSAGE DEFINITION
    1. Segment clarification
    2. Segment index (alphabetical sequence by tag)
    3. Message structure
      1. Segment table

For general information on UN standard message types see UN Trade Data Interchange Directory, UNTDID, Part 4, Section 2.3, UN/ECE UNSM General Introduction


This message also occurs in the following versions of this standard:
D93A, D94A, D94B, D95A, D95B, D96A, D96B, D97A, D97B, D98A, D98B, D99A, D99B, D00A, D00B, D01A, D01B, D01C, D02A, D02B, D03A, D03B, D04A, D04B

0. INTRODUCTION

This specification provides the definition of the Customs response message (CUSRES) to be used in Electronic Data Interchange (EDI) between trading partners involved in administration, commerce and transport.


1. SCOPE


1.1. Functional definition

This Customs Response Message (CUSRES) permits the transfer of data from a customs administration:

  • to acknowledge the receipt of the message
  • to indicate whether the information received is correct or if there are errors (i.e. accepted without errors, accepted with errors, rejected, etc.)
  • to inform the sender of the status of the customs declaration (i.e. goods released, goods for examination, documents required, etc.)
  • to transmit additional information as agreed between parties (i.e. tax information, quantity information, etc.)
  • to respond to batched messages (i.e. CUSDEC, CUSCAR, CUSREP, CUSEXP).

Note: this message is not meant to replace the functionality of the CONTRL message.


1.2. Field of application

The Customs response 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. Principles

It is envisaged that this message will allow a customs administration to respond to any customs message, including the possibility to respond to multi-consignment and batched messages. It is recognized that this message may be used by other parties to respond to customs messages.


2. REFERENCES

See UNTDID, Part 4, Chapter 2.3 UN/ECE UNSM - General Introduction, Section 1.


3. TERMS AND DEFINITIONS


3.1. Standard terms and definitions

See UNTDID, Part 4, Chapter 2.3 UN/ECE UNSM - General Introduction, Section 2.


4. MESSAGE DEFINITION


4.1. Segment clarification

This section should be read in conjunction with the segment table which indicates mandatory, conditional and repeating requirements.

0010 UNH, Message header

A service segment starting and uniquely identifying a message. The message type code for the Customs response message is CUSRES.

Note: Customs response messages conforming to this document must contain the following data in segment UNH, composite S009:

Data element0065CUSRES
0052D
005400B
0051UN

0020 BGM, Beginning of message

A segment identifying the type and the reference number of the message to which the CUSRES is a response.

0030 DTM, Date/time/period

A segment identifying the relevant dates and times in the message. For example, payment date.

0040 FTX, Free text

A segment stating information in unsolicited clear text.

0050 TDT, Details of transport

A segment to specify any means of transport that is related to all information at the lower level of the message.

0060 LOC, Place/location identification

A segment to identify a country and/or place and/or location information related to the whole message.

0070 X GIS, General indicator

A segment identifying the various customs processing indicators. For example, cargo released, cargo held, examination required, earlier message accepted or rejected, etc.

0080 EQD, Equipment details

A segment identifying equipment initials and numbers required to identify a shipment, covering the whole message, e.g. to indicate the container number that Customs wants to examine.

0090 Segment Group 1: NAD-SG2

A group of segments identifying party details, including contact and communication contact information.

0100 NAD, Name and address

A segment to identify the name and/or address of the party related to all information at the lower level of the message. For example, the importer.

0110 Segment Group 2: CTA-COM

A group of segments identifying contact and communication contact information.

0120 CTA, Contact information

A segment to identify a person or a department to whom communication should be directed.

0130 COM, Communication contact

A segment to identify a communication number of a department or a person to whom communication should be directed.

0140 Segment Group 3: RFF-DTM-LOC

A group of segments identifying references, dates and locations related information.

0150 RFF, Reference

A segment identifying references (e.g. manifest number).

0160 DTM, Date/time/period

A segment identifying a date related to the preceding RFF.

0170 LOC, Place/location identification

A segment identifying a location related to the preceding RFF.

0180 Segment Group 4: ERP-RFF-ERC-FTX

A group of segments identifying an application error condition within a message to which the CUSRES is a response.

0190 ERP, Error point details

A segment identifying the location of an application error within the referenced message.

0200 RFF, Reference

A segment to provide the references related to the application error.

0210 ERC, Application error information

A segment identifying the type of application errors within a message.

0220 FTX, Free text

A segment to provide explanation and/or supplementary information related to the specified application error.

0230 Segment Group 5: TAX-MOA-GIS

A group of segments identifying the customs amounts for duties, taxes and fees, following computation by customs, for all customs declarations.

0240 TAX, Duty/tax/fee details

A segment identifying the tax and/or duty and/or fee type, rate and base totals for all customs declarations.

0250 MOA, Monetary amount

A segment to identify a tax and/or duty and/or fee amount related to TAX.

0260 X GIS, General indicator

A segment identifying method of payment.

0270 Segment Group 6: DOC-PAC-RFF-PCI-FTX-TDT-LOC-DTM-GIS-MEA-EQD-

SG7-SG9-SG10-SG11-SG13 A group of segments specifying goods item details including status of goods, related references, package identification, details of transport, relevant parties, contacts, dates and/or times and location, general indicators, measurements, documentary requirements, monetary amounts, currencies and item taxes, fees and duties.

0280 DOC, Document/message details

A segment to identify the master bill number reported in a multi-consignment message. This segment can also be used to identify the Customs declaration where the CUSRES is responding to multiple declarations.

0290 PAC, Package

A segment identifying number and type of packages.

0300 RFF, Reference

A segment identifying a particular reference, e.g. house of bill number, master bill number.

0310 PCI, Package identification

A segment identifying marking and labels on individual shipping or packing units.

0320 FTX, Free text

A segment to provide the goods description.

0330 TDT, Details of transport

A segment to identify any means of transport that is related to a part of the information in the message. For example, when one CUSRES message contains more than one release note.

0340 LOC, Place/location identification

A segment identifying the places relevant to the item, which is different from the places identified at header level. For example, customs house of entry, warehouse, etc.

0350 DTM, Date/time/period

A segment identifying necessary dates.

0360 X GIS, General indicator

A segment identifying customs processing indicator at item level.

0370 MEA, Measurements

Segment identifying various measurement values.

0380 EQD, Equipment details

A segment identifying equipment initials and numbers.

0390 Segment Group 7: NAD-SG8

A group of segments identifying information on the party and other contact and communication contact information related only to part of the message.

0400 NAD, Name and address

A segment identifying information about a party related only to a part of the message. For example, in a message with several release notes or in a message related to several declarations, a customs agent and the person responsible for the information.

0410 Segment Group 8: CTA-COM

A group of segments identifying contact and communication contact information.

0420 CTA, Contact information

A segment to identify a person or a department to whom communication should be directed.

0430 COM, Communication contact

A segment to identify a communication number of a department or a person to whom communication should be directed.

0440 Segment Group 9: MOA-CUX

A group of segments identifying the monetary amount, currencies and the rate of exchange, against which duties, taxes or fees are being computed, per item.

0450 MOA, Monetary amount

A segment identifying the monetary amount.

0460 CUX, Currencies

A segment identifying currencies and the rate of exchange for a monetary amount identified within this group.

0470 Segment Group 10: TAX-MOA-GIS

A group of segments identifying customs amounts for taxes, duties and fees related to a single customs declaration (e.g. a simplified customs declaration).

0480 TAX, Duty/tax/fee details

A segment identifying tax/duty/fee related to a single customs declaration.

0490 MOA, Monetary amount

A segment identifying tax/duty/fee amounts related to TAX.

0500 X GIS, General indicator

A segment identifying the methods of payment related to TAX.

0510 Segment Group 11: CST-FTX-SG12

A group of segments identifying goods in terms of customs identities and customs amounts for duties, taxes and fees, following computation by customs.

0520 CST, Customs status of goods

A segment identifying goods in terms of customs identities, status and intended use.

0530 FTX, Free text

A segment to specify the goods description.

0540 Segment Group 12: TAX-MOA-GIS-MEA-RFF

A group of segments identifying the customs amounts for-duties, taxes and fees related to the customs items identified in CST.

0550 TAX, Duty/tax/fee details

A segment identifying the tax and/or duty and/or fee type, rate and base for customs item amounts.

0560 MOA, Monetary amount

A segment identifying a tax and/or duty and/or fee amount related to TAX.

0570 X GIS, General indicator

A segment identifying method of payment.

0580 MEA, Measurements

A segment to identify measurements related to the calculation of the customs duties.

0590 RFF, Reference

A segment to identify reference numbers related to the tax calculations (e.g. reference number for VAT free allowance).

0600 Segment Group 13: ERP-RFF-ERC-FTX

A group of segments identifying an application error condition related only to a part of the message.

0610 ERP, Error point details

A segment identifying the location of an application error.

0620 RFF, Reference

A segment to provide the references related to the application error.

0630 ERC, Application error information

A segment identifying the type of application errors.

0640 FTX, Free text

A segment to provide explanation and/or supplementary information related to the specified application error.

0650 CNT, Control total

A segment to identify control totals.

0660 Segment Group 14: AUT-DTM

A group of segments permitting the verification of the authenticity of the sender and the integrity of the data.

0670 AUT, Authentication result

A segment containing the result of the algorithm permitting the verification of the authenticity of the sender and the integrity of the data.

0680 DTM, Date/time/period

A segment identifying a date associated with the preceding AUT.

0690 UNT, Message trailer

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.


4.2. Segment index (alphabetical sequence by tag)

AUT Authentication result
BGM Beginning of message
CNT Control total
COM Communication contact
CST Customs status of goods
CTA Contact information
CUX Currencies
DOC Document/message details
DTM Date/time/period
EQD Equipment details
ERC Application error information
ERP Error point details
FTX Free text
GIS General indicator
LOC Place/location identification
MEA Measurements
MOA Monetary amount
NAD Name and address
PAC Package
PCI Package identification
RFF Reference
TAX Duty/tax/fee details
TDT Details of transport
UNH Message header
UNT Message trailer

4.3. Message structure


4.3.1. Segment table

├─UNH Message header ×1 (M)
├─BGM Beginning of message ×1 (M)
├─DTM Date/time/period ×9 (C)
├─FTX Free text ×99 (C)
├─TDT Details of transport ×9 (C)
├─LOC Place/location identification ×99 (C)
├─GIS General indicator ×10 (C)
├─EQD Equipment details ×999 (C)
├─Segment Group 1 ×9 (C)
├─NAD Name and address ×1 (M)
└─Segment Group 2 ×9 (C)
──├─CTA Contact information ×1 (M)
──└─COM Communication contact ×9 (C)
├─Segment Group 3 ×999 (C)
├─RFF Reference ×1 (M)
├─DTM Date/time/period ×9 (C)
└─LOC Place/location identification ×9 (C)
├─Segment Group 4 ×99 (C)
├─ERP Error point details ×1 (M)
├─RFF Reference ×9 (C)
├─ERC Application error information ×99 (C)
└─FTX Free text ×99 (C)
├─Segment Group 5 ×99 (C)
├─TAX Duty/tax/fee details ×1 (M)
├─MOA Monetary amount ×99 (C)
└─GIS General indicator ×99 (C)
├─Segment Group 6 ×9999 (C)
├─DOC Document/message details ×1 (M)
├─PAC Package ×9 (C)
├─RFF Reference ×9 (C)
├─PCI Package identification ×9 (C)
├─FTX Free text ×9 (C)
├─TDT Details of transport ×9 (C)
├─LOC Place/location identification ×9 (C)
├─DTM Date/time/period ×9 (C)
├─GIS General indicator ×9 (C)
├─MEA Measurements ×99 (C)
├─EQD Equipment details ×999 (C)
├─Segment Group 7 ×9 (C)
├─NAD Name and address ×1 (M)
└─Segment Group 8 ×9 (C)
──├─CTA Contact information ×1 (M)
──└─COM Communication contact ×9 (C)
├─Segment Group 9 ×99 (C)
├─MOA Monetary amount ×1 (M)
└─CUX Currencies ×9 (C)
├─Segment Group 10 ×99 (C)
├─TAX Duty/tax/fee details ×1 (M)
├─MOA Monetary amount ×99 (C)
└─GIS General indicator ×99 (C)
├─Segment Group 11 ×9999 (C)
├─CST Customs status of goods ×1 (M)
├─FTX Free text ×9 (C)
└─Segment Group 12 ×99999 (C)
──├─TAX Duty/tax/fee details ×1 (M)
──├─MOA Monetary amount ×99 (C)
──├─GIS General indicator ×99 (C)
──├─MEA Measurements ×9 (C)
──└─RFF Reference ×9 (C)
└─Segment Group 13 ×9999 (C)
──├─ERP Error point details ×1 (M)
──├─RFF Reference ×9 (C)
──├─ERC Application error information ×9999 (C)
──└─FTX Free text ×9 (C)
├─CNT Control total ×9 (C)
├─Segment Group 14 ×9 (C)
├─AUT Authentication result ×1 (M)
└─DTM Date/time/period ×9 (C)
└─UNT Message trailer ×1 (M)

Change indicators
plus sign An addition.
asterisk Addition/substraction/change to a code entry for a particular data element.
hash or pound sign Changes to names.
vertical bar Changes to text for descriptions, notes and functions.
minus sign A deletion.
letter X Marked for deletion.

Return to EDIFACT D00B Messages page.