Frames | No Frames

Return to Stylus Studio EDIFACT home page.
Return to Stylus Studio EDIFACT D93A Messages page.
UN/EDIFACT
DRAFT RECOMMENDATION

CUSTOMS RESPONSE MESSAGE

This message is available for formal trial in the present version for a period of at least twelve months from the date of approval by the UN/ECE/TRADE/WP.4.

Organisations are invited to trial this message and are requested to notify their Rapporteur Team Secretariat of their intention. Comments on the results from the trial should also be forwarded to the Secretariat as soon as they are available. Based on the results of the trials, a UNSM will be issued.

It should be noted that this material is contained in a Trial Directory; however, it may differ from that in the UN Directories (UNTDID) having the same identfying tags. Any differences will be reconciled prior to the message becoming a UNSM.


Message Type:CUSRES
Version:D
Release:93A
Contr. Agency:UN
Status:2
Date:93-07
SOURCE:Joint Development of the North American Edifact Board and the Western European Edifact Board.

CONTENTS
CUSTOMS RESPONSE MESSAGE MESSAGE
  1. Introduction
  2. Scope
    1. Functional Definition
    2. Field of Application
    3. Principles
  3. References
  4. Message Definition
  5. Message Definition
    1. Data Segment Clarification
    2. Message structure
      1. Branching Diagram
      2. Segment Table
    3. Data Segment Index (Alphabetic Sequence)

For general information on UN standard message types see UN Trade Data Interchange Directory, UNTDID, Part 4, Section 2.5, 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 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 the sender of customs data. It may also be used by Customs to transmit electronic customs clearance of goods.


1.2. Field of Application

This Message may be applied for both national and international trade. It is based on universal practice 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 single or batched customs messages or give information to approved part(y)s; for example, errors in data, release/clearance notifications, etc. It is recognized that this message may be used by other parties to respond to customs messages.


2. References

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


3. Terms and Definitions

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


4. Message Definition


4.1. Data Segment Clarification

This section should be read in conjunction with the Branching Diagram and the Segment Table which indicate mandatory, conditional and repeating requirements.

0010 UNH, Message header

A service segment starting and uniquely identifying a message.

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

Data element0065CUSRES
0052D
005493A
0051UN

0020 BGM, Beginning of message

A segment identifying the message type, its reference, date and the identification of a reference to which the CUSRES is a response.

0030 NAD, Name and address

A segment identifying the parties relevant to the message. For example, agent, importer, etc.

0040 LOC, Place/location identification

A segment identifying the places relevant to the message. For example, port of entry, location of goods, etc.

0050 DTM, Date/time/period

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

0060 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.

0070 FTX, Free text

A segment stating information in unsolicited clear text.

0080 EQD, Equipment details

A segment identifying equipment initials and numbers required to identify a shipment, covering the whole message.

0090 Segment Group 1: ERP-ERC

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

0100 ERP, Error point details

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

0110 ERC, Application error information

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

0120 Segment Group 2: PAC-SG3

A group of segments identifying particular shipping or packing units reported in an earlier declaration which are now subject to customs action (examination, release, etc).

0130 PAC, Package

A segment identifying the number and type of manifested units that are being referenced.

0140 Segment Group 3: PCI-FTX

A group of segments identifying markings and labels, and describing the goods related to PCI.

0150 PCI, Package identification

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

0160 FTX, Free text

A segment identifying packages, related to PCI, in narrative form.

0170 Segment Group 4: TAX-MOA-GIS

A segment identifying totals for tax, fees, and duties declared and due for payment, following the computation by customs.

0180 TAX, Duty/tax/fee details

A segment identifying tax/duty/fee type, base and rate due for payment.

0190 MOA, Monetary amount

A segment identifying tax/duty/fee amounts due for payment (e.g. total tax amount).

0200 GIS, General indicator

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

0210 Segment Group 5: RFF-DTM-MEA-EQD-SG6-SG7

A group of segments identifying the item taxes, fees, and duties (with the associated details), following their computation by customs based on data provided by the declarant.

0220 RFF, Reference

A segment identifying a particular reference.

0230 DTM, Date/time/period

A segment identifying a date related to the preceding RFF.

0240 MEA, Measurements

Segment identifying various measurement values where these are required for the computation of duties/taxes/fees due.

0250 EQD, Equipment details

A segment identifying equipment initials and numbers required to identify a shipment related to a declaration identified in the preceding RFF.

0260 Segment Group 6: 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.

0270 MOA, Monetary amount

A segment identifying the monetary amount against which any duty, tax, or fee is being computed.

0280 CUX, Currencies

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

0290 Segment Group 7: TAX-MOA-GIS

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

0300 TAX, Duty/tax/fee details

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

0310 MOA, Monetary amount

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

0320 GIS, General indicator

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

0330 Segment Group 8: DOC-DTM-LOC

A group of segments identifying documentary requirements where they are needed as supporting information for customs processing.

0340 DOC, Document/message details

A segment identifying a document required as supporting information by customs.

0350 DTM, Date/time/period

A segment identifying a date related to the preceding DOC.

0360 LOC, Place/location identification

A segment identifying a location related to the preceding DOC.

0370 Segment Group 9: AUT-DTM

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

0380 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.

0390 DTM, Date/time/period

A segment identifying a date associated with the preceding AUT.

0400 UNT, Message trailer

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


4.2. Message Structure


4.2.1. Branching Diagram


4.2.2. Segment Table

├─UNH Message header ×1 (M)
├─BGM Beginning of message ×1 (M)
├─NAD Name and address ×5 (C)
├─LOC Place/location identification ×5 (C)
├─DTM Date/time/period ×7 (C)
├─GIS General indicator ×10 (C)
├─FTX Free text ×5 (C)
├─EQD Equipment details ×999 (C)
├─Segment Group 1 ×50 (C)
├─ERP Error point details ×1 (M)
└─ERC Application error information ×50 (C)
├─Segment Group 2 ×999 (C)
├─PAC Package ×1 (M)
└─Segment Group 3 ×1 (C)
──├─PCI Package identification ×1 (M)
──└─FTX Free text ×1 (C)
├─Segment Group 4 ×50 (C)
├─TAX Duty/tax/fee details ×1 (M)
├─MOA Monetary amount ×2 (C)
└─GIS General indicator ×1 (C)
├─Segment Group 5 ×9999 (M)
├─RFF Reference ×1 (M)
├─DTM Date/time/period ×1 (C)
├─MEA Measurements ×20 (C)
├─EQD Equipment details ×99 (C)
├─Segment Group 6 ×10 (C)
├─MOA Monetary amount ×1 (M)
└─CUX Currencies ×1 (C)
└─Segment Group 7 ×20 (C)
──├─TAX Duty/tax/fee details ×1 (M)
──├─MOA Monetary amount ×2 (C)
──└─GIS General indicator ×1 (C)
├─Segment Group 8 ×5 (C)
├─DOC Document/message details ×1 (M)
├─DTM Date/time/period ×2 (C)
└─LOC Place/location identification ×1 (C)
├─Segment Group 9 ×1 (C)
├─AUT Authentication result ×1 (M)
└─DTM Date/time/period ×1 (C)
└─UNT Message trailer ×1 (M)

4.3. Data Segment Index (Alphabetic Sequence)

AUT Authentication result
BGM Beginning of message
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
UNH Message header
UNT Message trailer

Return to Stylus Studio EDIFACT D93A Messages page.
EDI to XML Mapping for EDIFACT/X12 Convert EDIFACT/X12 Schemas to XML Schema Legacy Data Conversion Tools Access Relational Data as XML Visual XSLT and XQuery Mapping Tools EDIFACT to XML
Return to Stylus Studio EDIFACT home page.

Return to Stylus Studio home page.
Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.