Return to Index

 

ICS MESSAGE MAPPING and EDIFACT Overview.

The message specifications provided in the SDG have been developed by Customs from the EDIFACT standard messages of the UN EDIFACT 99B message syntax directory. The representations of messages in the SDG provide developers, and others, with the information necessary to transact business with the Australian Customs Service ICS.

ICS Messages

This table links to the information necessary to develop EDI messages for use with Customs ICS.
Link to CCF Business Rules.

ICS Message Mapping Table

Character Set of EDI Messaging

Message Segment Table

Data Representation in the ICS

Segment Definitions

Conditional and Mandatory Segments

Data Element Summary

Message Mapping Components

Message Specifications and Processing Rules

Message Mapping Representation

 

EDIFACT Message Types

This table leads to an overview of EDIFACT message types and there roles in the ICS.

EDI Messaging

An Overview

EDIFACT Message Types


UN/EDIFACT Messages - An Overview

UN/EDIFACT (Electronic Data Interchange For Administration, Commerce and Transport) is the International Standard for EDI (Electronic Data Interchange) and is administered by the United Nations. EDI is defined as the "computer-to-computer exchange of data related to business transactions using an agreed upon formats and networks". Besides being an acronym UN/EDIFACT is also:

There are over two hundred United Nations Standard Messages available. Customs will use eight UN/EDIFACT messages from the D.99b directory. A description of these of the messages is included below.


EDIFACT Message Types

The ICS will utilise the following UN/EDIFACT message types.

 

EDIFACT Message Types

CONTRL

(Syntax and Service Report)

CUSCAR

(Customs Cargo Report)

CUSDEC

(Customs Declaration)

CUSPED

(Customs Periodic Declaration message)

CUSREP

(Customs Conveyance Report)

CUSRES

(Customs Response)

GENRAL

(General Purpose Message)

REMADV

(Remittance Advice)


EDIFACT Message Type Descriptions

CONTRL (Syntax and Service Report)

The CONTRL (Control Message) is used to acknowledge a received interchange and list any interchange, functional group or message errors contained therein. Where a syntax error has been detected, the control message indicates the action to be taken by the recipient as a result of the check.

During a syntactical check, the interchange, or part of it, is checked for compliance with:

Under the ICS Customs will use the CONTRL Message error response whenever an interchange containing a syntactical error is received at Customs EDI gateway. Such a Control Message will notify the user of any syntactical errors requiring correction before the interchange can be accepted for processing by the ICS.


CUSCAR (Customs Cargo Report)

The CUSCAR message is used to facilitate the transfer of data from the carrier of import/export cargo to a Customs administration for the purpose of meeting the legislative requirements of a particular Customs administration.

Under the ICS the CUSCAR message will be used to report single or multiple consignments of goods, prior to their arrival in Australia.


CUSDEC (Customs Declaration)

The CUSDEC message 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 in transit.

Under the ICS importers, brokers, exporters or their agents will use the CUSDEC message to lodge import and export entries.


CUSPED (Customs Periodic Declaration)

The CUSPED message allows the transfer of data from a declarant to a Customs administration for the purpose of meeting the legislative requirements of the Customs administration in relation to the periodic declaration of goods being imported into, or from Australia.

Under the ICS the CUSPED message will be used by Customs Accredited Clients to provide Customs with additional information not provided by the declarant in the Request for Cargo Release message.


CUSREP (Customs Conveyance Report)

The CUSREP message permits the transfer of data from a carrier to a Customs administration for the purpose of meeting Custom’s legislative reporting requirements in respect to the means of transport on which the cargo is to be carried.

The CUSREP message will be used to report both the impending and actual arrival of vessels/aircraft carrying cargo into Australia.


CUSRES (Customs Response)

The CUSRES message facilitates the transfer of data from a Customs administration to:

Under the ICS Customs will use the CUSRES message to respond to importers, brokers, exporters, carriers and cargo handlers.


GENRAL (General Purpose Message)

The GENRAL message is used to facilitate early transmission testing, broadcasting known problem areas, transmission of text to clarify previous messages and transmission of small amounts of structured text. The message is intended to be independent of the business type or industry.

Under the ICS Customs will use the GENRAL message in relation to the control of cargo to be exported and to distribute reference files and relevant information business partners.


REMADV (Remittance Advice Message)

The REMADV message is a communication between trading partners providing a detailed accounting relative to a payment on a specific date. The message is intended to be independent of the business type or industry. Generally, the REMADV is a notice of a payment to be made.

Under the ICS Importers and brokers will use REMADV to advise Customs of payment for import entries.


ICS Message Mapping

Character Set for EDI Messaging

The character set required for all EDI Interchanges (inbound and outbound) is UNOC as defined by ISO 8859-1. Customs use a sub-set of the full UNOC character set.

The syntax used is V3.


Data Representation Within the ICS

Where values are shown for the representation of data within this guide the following data value representations will be used:

Data Formats

a

alphabetic characters

n

numeric characters

an

alpha-numeric characters

a3

3 alphabetic characters, fixed length

n3

3 numeric characters, fixed length

an3

3 alpha-numeric characters, fixed length

a..3

up to 3 alphabetic characters

n..3

up to 3 numeric characters

an..3

up to 3 alpha-numeric characters

n..15.5

Up to 15 numeric characters, which may include up to 5 decimal places. The decimal point symbol will be a full stop and is not included in the character count.

If a value is to be indicated to be negative, it shall in transmission be immediately preceded by a minus sign e.g. -112

The minus sign should not be counted when computing the maximum field length of a data element. However, allowance has to be made for the character in transmission and reception.


Conditional and Mandatory Segments

The UN EDIFACT Standard Messages define segments within a message as being either Mandatory (M) or Conditional (C). To comply with the message standard. Entities defined as 'Mandatory' must be used at least once. Entities with the 'Conditional' designation are used as required.

The first column in the message specifications contains several codes, or usage indicators, which indicate the exact requirements for the construction of a valid message. The table below provides an explanation for these codes. They are:

Usage Indicators

X (Not used)

Not used, indicates that the entity should not to be sent

M (Required)

The segment/data element is made mandatory under certain conditions for the purposes of the ICS implementation

C (Conditional)

The entity is mandatory under certain conditions.


Message Mapping Components

The Message Specifications contained in this guide detail the content and structure of the various messages being used by the ICS. For each of these messages, the required data items and the structure of the message are depicted using three different representations. These are the Message Specific Business Rules (Business Rules) , the Message Implementation Guidelines (MIG's) and the Data Dictionaries (User, Customs and Control) . The message specific information must be read in conjunction with the ICS Business Rules and the Data Dictionaries. 


Message Mapping Representation

The presentation of Message Mapping information is provided in two parts. The first representation is the Message Segment Table, which provides an overview of the message structure. The second part is the segment definition, which provides guidance for the message segments utilised in the ICS.

Message Segment Table

The message segment tables detail the segments and segment groups used by the ICS. The table defines the requirement for inclusion of segments and provides a representation of segment group nesting.

Message segment tables are included with the message specifications. A table is included in the message specification for each business usage of a message.

This table uses the Impending Arrival Message (CUSREP) as an indicative example.

 

Pos. No.

Seg. ID

 Name

Req. Des.

 Max. Use

Group Repeat

Notes and Comments

M

0010

UNH

Message Header

M

1

 

 

M

0020

BGM

Beginning of Message

M

1

 

 

 

0120

 

Segment Group 2: LOC-DTM

C

 

99

 

M

0130

LOC

Place/Location Identification

M

1

 

 

 

0140

DTM

Date/Time/Period

C

9

 

 

 

0360

 

Segment Group 8: TDT-SG9

C

 

99

 

M

0370

TDT

Details of Transport

M

1

 

 

 

0400

 

Segment Group 9: LOC-DTM-NAD-STS

C

 

99

 

M

0410

LOC

Place/Location Identification

M

1

 

 

 

0420

DTM

Date/Time/Period

C

9

 

 

 

0440

NAD

Name and Address

C

99

 

 

 

0470

STS

Status

C

9

 

 

M

0550

UNT

Message Trailer

M

1

 

 


Segment Definitions

Segment Definitions are provided for every segment used in the ICS implementation. The definition of a segment lists all the data elements and composites and shows how each of these are to be used in the ICS. Segments which are not used in the ICS are not defined. An example of a segment definition is provided below.

Segment Definitions

Segment:

UNH Message Header

Position:

0010

Group:

 

Level:

0

Usage:

Mandatory

Max Use:

1

 

Data Element Summary 

 

Data Element

Component Element

Name

Attributes

M

0062

 

MESSAGE REFERENCE NUMBER

M

an..14

 

Message Reference Number

M

S009

 

MESSAGE IDENTIFIER

M

1

 

M

 

0065

Message type identifier

M

 

an..6

 

 

CUSREP

  

Customs conveyance report message

M

 

0052

Message type version number

M

 

an..3

 

 

D

  

Draft version/UN/EDIFACT Directory

M

 

0054

Message type release number

M

 

an..3

 

 

99B

  

Release 1999 - B

M

 

0051

Controlling agency

M

 

an..2

 

 

UN

  

UN/CEFACT

X

 

0057

Association assigned code

C

 

an..6

X

0068

 

COMMON ACCESS REFERENCE

C

an..35

X

S010

 

STATUS OF THE TRANSFER

C

1

 

X

 

0070

Sequence message transfer number

M

 

n..2

X

 

0073

First/last sequence message transfer indication

C

 

a1

Message Specifications and Processing Rules

Message Type

Document Name Code

Message Name

Purpose of Message

CONTRL

N/A

Control Response

(CONTRL)Customs

CONTRL is a message syntactically acknowledging or rejecting, with error indication, a received interchange, group, message, or package. A CONTRL message shall be used to: a) acknowledge or reject a received interchange, group, message, or package and list any syntactical errors or unsupported functionality contained therein, or b) indicate only the receipt of an interchange.

View: Message Specifications

View: Message Business Rules

View: Customs Data Dictionary

CONTRL

N/A

Control Acknowledgement

(CONTRL)User

CONTRL is a message syntactically acknowledging or rejecting, with error indication, a received interchange, group, message, or package. A CONTRL message shall be used to: a) acknowledge or reject a received interchange, group, message, or package and list any syntactical errors or unsupported functionality contained therein, or b) indicate only the receipt of an interchange. This usage is simply for users to acknowledge receipt of a Customs Message.

View: Message Specifications

View: Message Business Rules

View: User Data Dictionary

Service Segments

N/A

Service Segments

These service segments are the enveloping information for the Interchange and Message content.

Message Header/Trailer specifications are found in the individual message specifications.

View: Service Segment Specifications

 

V1.5 10 AUG 2004