D97A

Message D97A/CUSRES

Customs response message

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.

Message description

UNH

M(1) : 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 element 0065 CUSRES 0052 D 0054 97A 0051 UN

BGM

M(1) : Beginning of message

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

DTM

C(9) : Date/time/period

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

FTX

C(9) : Free text

A segment stating information in unsolicited clear text.

TDT

C(9) : Details of transport

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

LOC

C(99) : Place/location identification

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

GIS

C(10) : General indicator

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

EQD

C(999) : 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.

SG1 C(9) : NAD-SG2

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

NAD

M(1) : 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.

SG2 C(9) : CTA-COM

A group of segments identifying contact and communication contact information.

CTA

M(1) : Contact information

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

COM

C(9) : Communication contact

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

SG3 C(999) : RFF-DTM-LOC

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

RFF

M(1) : Reference

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

DTM

C(9) : Date/time/period

A segment identifying a date related to the preceding RFF.

LOC

C(9) : Place/location identification

A segment identifying a location related to the preceding RFF.

SG4 C(99) : ERP-RFF-ERC-FTX

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

ERP

M(1) : Error point details

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

RFF

C(9) : Reference

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

ERC

C(99) : Application error information

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

FTX

C(99) : Free text

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

SG5 C(99) : TAX-MOA-GIS

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

TAX

M(1) : Duty/tax/fee details

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

MOA

C(99) : Monetary amount

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

GIS

C(99) : General indicator

A segment identifying method of payment.

SG6 C(9999) : DOC-PAC-RFF-PCI-FTX-TDT-LOC-DTM-GIS-MEA-EQD-SG7-SG9-SG10-SG12

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.

DOC

M(1) : 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.

PAC

C(9) : Package

A segment identifying number and type of packages.

RFF

C(9) : Reference

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

PCI

C(9) : Package identification

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

FTX

C(9) : Free text

A segment to provide the goods description.

TDT

C(9) : 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.

LOC

C(9) : 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.

DTM

C(9) : Date/time/period

A segment identifying necessary dates.

GIS

C(9) : General indicator

A segment identifying customs processing indicator at item level.

MEA

C(99) : Measurements

Segment identifying various measurement values.

EQD

C(999) : Equipment details

A segment identifying equipment initials and numbers.

SG7 C(9) : 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.

NAD

M(1) : 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.

SG8 C(9) : CTA-COM

A group of segments identifying contact and communication contact information.

CTA

M(1) : Contact information

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

COM

C(9) : Communication contact

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

SG9 C(99) : 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.

MOA

M(1) : Monetary amount

A segment identifying the monetary amount.

CUX

C(9) : Currencies

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

SG10 C(9999) : CST-FTX-SG11

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

CST

M(1) : Customs status of goods

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

FTX

C(9) : Free text

A segment to specify the goods description.

SG11 C(99) : 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.

TAX

M(1) : Duty/tax/fee details

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

MOA

C(99) : Monetary amount

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

GIS

C(99) : General indicator

A segment identifying method of payment.

MEA

C(9) : Measurements

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

RFF

C(9) : Reference

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

SG12 C(9999) : ERP-RFF-ERC-FTX

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

ERP

M(1) : Error point details

A segment identifying the location of an application error.

RFF

C(9) : Reference

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

ERC

C(99) : Application error information

A segment identifying the type of application errors.

FTX

C(9) : Free text

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

CNT

C(9) : Control total

A segment to identify control totals.

SG13 C(9) : AUT-DTM

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

AUT

M(1) : 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.

DTM

C(9) : Date/time/period

A segment identifying a date associated with the preceding AUT.

UNT

M(1) : Message trailer

A service segment ending a message, giving the total number of segments in the message and the control reference number of the message.

Message structure

UNH, Message header                           M        1
BGM, Beginning of message                     M        1
DTM, Date/time/period                         C        9
FTX, Free text                                C        9
TDT, Details of transport                     C        9
LOC, Place/location identification            C       99
GIS, General indicator                        C       10
EQD, Equipment details                        C      999

--- Segment Group 1 ------------------------- C        9 -------+
NAD, Name and address                         M        1        |
                                                                |
--- Segment Group 2 ------------------------- C        9 ------+|
CTA, Contact information                      M        1       ||
COM, Communication contact                    C        9       ||
---- ----------------------------------------------------------++

--- Segment Group 3 ------------------------- C      999 -------+
RFF, Reference                                M        1        |
DTM, Date/time/period                         C        9        |
LOC, Place/location identification            C        9        |
---- -----------------------------------------------------------+

--- Segment Group 4 ------------------------- C       99 -------+
ERP, Error point details                      M        1        |
RFF, Reference                                C        9        |
ERC, Application error information            C       99        |
FTX, Free text                                C       99        |
---- -----------------------------------------------------------+

--- Segment Group 5 ------------------------- C       99 -------+
TAX, Duty/tax/fee details                     M        1        |
MOA, Monetary amount                          C       99        |
GIS, General indicator                        C       99        |
---- -----------------------------------------------------------+

--- Segment Group 6 ------------------------- C     9999 -------+
DOC, Document/message details                 M        1        |
PAC, Package                                  C        9        |
RFF, Reference                                C        9        |
PCI, Package identification                   C        9        |
FTX, Free text                                C        9        |
TDT, Details of transport                     C        9        |
LOC, Place/location identification            C        9        |
DTM, Date/time/period                         C        9        |
GIS, General indicator                        C        9        |
MEA, Measurements                             C       99        |
EQD, Equipment details                        C      999        |
                                                                |
--- Segment Group 7 ------------------------- C        9 ------+|
NAD, Name and address                         M        1       ||
                                                               ||
--- Segment Group 8 ------------------------- C        9 -----+||
CTA, Contact information                      M        1      |||
COM, Communication contact                    C        9      |||
---- ---------------------------------------------------------++|
                                                                |
--- Segment Group 9 ------------------------- C       99 ------+|
MOA, Monetary amount                          M        1       ||
CUX, Currencies                               C        9       ||
---- ----------------------------------------------------------+|
                                                                |
--- Segment Group 10 ------------------------ C     9999 ------+|
CST, Customs status of goods                  M        1       ||
FTX, Free text                                C        9       ||
                                                               ||
--- Segment Group 11 ------------------------ C       99 -----+||
TAX, Duty/tax/fee details                     M        1      |||
MOA, Monetary amount                          C       99      |||
GIS, General indicator                        C       99      |||
MEA, Measurements                             C        9      |||
RFF, Reference                                C        9      |||
---- ---------------------------------------------------------++|
                                                                |
--- Segment Group 12 ------------------------ C     9999 ------+|
ERP, Error point details                      M        1       ||
RFF, Reference                                C        9       ||
ERC, Application error information            C       99       ||
FTX, Free text                                C        9       ||
---- ----------------------------------------------------------++
CNT, Control total                            C        9

--- Segment Group 13 ------------------------ C        9 -------+
AUT, Authentication result                    M        1        |
DTM, Date/time/period                         C        9        |
---- -----------------------------------------------------------+
UNT, Message trailer                          M        1