USER IMPLEMENTATION GUIDE
G.C.-SYSTEM
BELGIAN CUSTOMS
Brussels, January 1997
Customs Headquarters
Automation Division
FOREWORD
The purpose of this User Implementation Guide is to help new and existing users of the GCA-system to implement Customs UN/EDIFACT messages.
The messages described in this document are :
CUSREP:CUSTOMS CONVEYANCE REPORT MESSAGE
CUSCAR:CUSTOMS CARGO REPORT MESSAGE
CUSRES:CUSTOMS RESPONSE MESSAGE.
These messages are based on the following rules and guidelines :
UN/EDIFACT Syntaxrules
UN/EDIFACT SyntaxImplementation Guidelines
UN Trade Data Interchange Directory issue D96b (CUSREP,CUSCAR,CUSRES, CUSCAR-TRANSHIPMENT)
The various code sets.
TABLE OF CONTENTS
INTRODUCTION
PART 1:The service segments
Chapter 1:The segment UNB
Chapter 2:The segment UNZ
Chapter 3:The segment UNH
Chapter 4:The segment UNT
PART 2:The CUSREP message
Chapter 1:General description
Chapter 2:Program specifications
PART 3:The CUSCAR message
Chapter 1:General description
Chapter 2:Program specifications
PART 4:The CUSCAR-TRANSHIPMENT message
Chapter 1:General description
Chapter 2:Program specifications
PART 5:The CUSRES message
Chapter 1:General description
Chapter 2:Program specifications
PART 7:A summary of the used segments
INTRO/1
INTRODUCTION
The purpose of this section is to help system designers and implementers to understand and use the guide efficiently.
The central parts of this guide are the Chapters “ Program Specifications”.
Each Customs UN/EDIFACT message is identified separately. The mapping is done by means of a table which is divided into a number of COLUMNS.
The COLUMNS are used to structure the presentation of the information. The usage of the COLUMNS are outlined below.
1 / 2 / 3 / 4 / 5 / 6 / 7COLUMN 1ELEMENT/COMPOSITE
This COLUMN identifies the stand alone data element or the composite data element, within the UN/EDIFACT segment structure, onto which the specific data item in COLUMN 5 is to be mapped.
COLUMN 2COMPONENT
Where a data item is mapped onto a composite data element, this COLUMN identifies the component elements of that composite used to identify the Customs data.
COLUMN 3
M:mandatory
C:conditional
COLUMN 4DATA REPRESENTATION
This COLUMN identifies the UN/EDIFACT structure of all data elements used to identify the Customs data in COLUMN 5. The maximum field lenght and the character type (i.e. alpha/numeric, numeric) is identified.
INTRO/1
COLUMN 5DATA NAME
This COLUMN describes the stand alone data element, the composite data element or the component data element within the UN/EDIFACT structure.
COLUMN 6CODE
This COLUMN identifies the used qualifiers, coded.
COLUMN 7DESCRIPTION
This COLUMN gives the description of the data needed by Customs.
PART 1
THE SERVICE SEGMENTS
CHAPTER 1 : The segment UNB
1. GENERAL INFORMATION
An interchange always starts with the segment UNB. This segment contains data concerning:
-character set
-sender
-recipient
-date/time of the transmission
-reference number of the transmission
-test indicator.
2. SEGMENT DESCRIPTION
UNBM:specification of the beginning of a message interchange
001S001M:syntax identifier
0001M:syntax identifiera4
UNO: control organisation
A:level
0002M:syntax version numbera1
2:today's version
002S002M:interchange sender
0004M:sender identificationan...35
Each sender (carrier) needs a separate identification. The codes
(max. 6 characters) already used in the community of a Belgian seaport are obligatory.
0007C:not usedan...4
0008C:not usedan...14
003S003M:interchange recipient
0010M:identification of the recipient by the code:an...35
DOUANE
0007C:not usedan...4
0014C:not usedan...14
004S004M:date/time of preparation
0017M:the date of the interchange:n6
YYMMDD
0019M:the relevant time of the day at which the interchange was prepared in: n4
HHMM
0050020M:interchange control referencen...14
A unique reference number assigned by the sender to identify the interchange.
006S005C:not used
0022M:not usedan...14
0025C:not usedan2
0070026C:not usedan...14
0080029C:not useda1
0090031C:not usedn1
0100032C:not usedan...35
00110035C:test indicatorn1
1:test
Blank:operational (see example below)
SYNTAX:
Test:UNB+UNOA:2+ASECO+DOUANE+950101:1245+A143++++++1'
Operational:UNB+UNOA:2+ASECO+DOUANE+950101:1245+A143'
CHAPTER 2 : The segment UNZ
1.GENERAL INFORMATION
This segment identifies the end of an interchange. This segment contains the count of the separate messages within one interchange and the repetition of the reference number of the interchange given by the sender in the segment UNB.
2.SEGMENT DESCRIPTION
UNZM:identifies the end of each interchange
0010036M:contains the count of the messages within the interchangen...6
00120020M:contains the reference number used in the same component
element in the UNB segmentan...14
SYNTAX:UNZ+1+A143'
CHAPTER 3 : The segment UNH
1.GENERAL INFORMATION
Specification of the beginning of each individual message. This message contains data concerning:
-the name of the message
-the message version number
-the message release number
-the controlling agency
-reference number of the message assigned by the sender.
2.SEGMENT DESCRIPTION
UNHM:the beginning of the message
0010062M:unique reference numberan...14
002S009M:identification of the message
0065M:name of the messagean...6
Possible values:CUSREP
:CUSCAR
:CUSCAR-TRANSHIPMENT
:CUSRES
0052M:message type version numberan...3
D:CUSREP, CUSCAR, CUSCAR-TRANSHIPMENT, CUSRES
Restriction:
The version number must be the same for all parties.
0054M:message type release number an...3
96B:CUSREP,CUSCAR, CUSCAR-TRANSHIPMENT , CUSRES
Restriction:
The release number must be the same for all parties.
0051M:controlling agencyan...2
UN:the agency responsible for the maintenance of the message type
0057C:not usedan...6
0030068C:common access referencean..35
CUSRES:the number of the document of the received CUSCAR/CUSREP/CUSCAR-TRANSHIP-
MENT (segment BGM, data element 1004).
CUSREP, CUSCAR, CUSCAR-TRANSHIPMENT:
not used
004S010C:not used
0070M:not usedn...2
0073C:not useda1
SYNTAX :UNH+100001+CUSCAR:D:96B:UN’
CHAPTER 4 : The segment UNT
1.GENERAL INFORMATION
This segment identifies the end of an individual message. It contains the number of segments in the message and confirms the reference number identified in the UNH segment.
2. SEGMENT DESCRIPTION
UNTM:identifies the end of the message
0010074M:number of segments in the message,n...6
including UNH and UNT
0020062M:message reference numberan...14
(must be the same as the reference number in UNH)
SYNTAX :UNT+NUMBER+100001'
PART 2
CUSREP
Customs Conveyance Report Message
PART2/1
CHAPTER 1 : General description
1. INTRODUCTION
1.1. Scope
This message permits the transfer of general data, related to each vessel coming into a Belgian seaport, from the responsible carrier to the Belgian Customs Administration, regardless of whether there will be a discharge of goods.
The CUSREP message should be considered as the general declaration Benelux 20 = registration for Customs (hereafter called SUMMARY DECLARATION FOR TEMPORARY STORAGE).
1.2. Time of sending the message CUSREP
The CUSREP message can be sent to the computer system of the Customs 5 days prior to the estimated date of arrival of the vessel into a Belgian seaport. This message will be accepted up to 24 hours after the arrival of the vessel in the port.
It is recommended to send the CUSREP message at least two days before the estimated date of arrival of the vessel.
The CUSCAR message will not be accepted as long as the CUSREP message is not received and accepted by the computer system of the Belgian Customs.
1.3. Incorrect CUSREP-message
When the computer system of the Belgian Customs detects one or more errors, concerning format and/or content , the complete CUSREP message will be rejected and an error message (CUSRES) will be sent to the carrier.
The CUSREP message has to be re-transmitted after correction of the error(s).
2. CONTENTS
2.1. Number of the document
The number of the document is composed of :
-the number of the declaration (an14);
-the reference number assigned to the message by the issuer (an..21).
PART2/1
2.1.1. Number of the declaration
The number of the declaration is composed of the registration number and the IMO number of the vessel.
- Pos. 1 until 6:registration number
The registration number is attributed by the port authorities and is composed of 6 digits. There are three series:
- 100000 to 799999:manual numbering
- 800000 to 899999:automatic numbering
- 900000 to 999999:test
-Pos. 7 until 14:IMO number
The IMO number is composed of an 8 characters.
The IMO number can be either definitive or provisional.
A provisional IMO number is a temporary number given by the port authorities, where the official IMO number has not yet been distributed. This provisional number will be used until the official IMO number is available.
A definitive IMO number begins with the letter “L”.
A provisional IMO number begins with the letter “N”.
This unique number given by the carrier will be considered as the number of the SUMMARY DECLARATION FOR TEMPORARY STORAGE and has therefore to be mentioned on all the documents and papers related to the vessel.
This unique number must be made available by the carrier to the whole port community.
2.1.2. Reference number of the message
The technical sequence number of the message is given by the issuer. The reference number is composed of maximum an..21 characters. The GCA-system accepts this reference number without any control.
PART2/1
2.2. Number of the declaration and reference number of a previous message
This number can be sent by the carrier in case of modification or cancellation of a previous message or replacement of the itinerary.
The number must be sent when it is an initial transmission of the CUSREP message.
The GC-system does not control this number.
2.3. The itinerary
For the purposes of the GC-system the itinerary comprises all the ports of call where the vessel has loaded (or should have loaded) excluding the original port of departure and first place of arrival in the Belgian seaport of destination.
For the initial transmission of the CUSREP the complete journey must be specified. This includes:
-original port of departure
-the full itinerary
-the first place of arrival in the Belgian seaport of destination.
For goods to be discharged in this seaport : the port of original departure is the first port where goods are loaded with a destination of that Belgian seaport.
The UNLOCODE (ISO ALPHA 2 code and abbreviation of the port) is used for the announcement of the different ports. For certain pre-determined EU-ports, the following indication is needed: “free zone”.
The first place of arrival in the Belgian seaports are coded on a national basis.
2.4. Details of transport
The following information is needed:
-name and nationality of the vessel
-estimated time of arrival of the vessel.
The name of the vessel has to be written in plain text.
The nationality of the vessel is indicated by the ISO ALPHA 2 code.
If the vessel navigates on an itinerary wherefore a licence of a ‘line service’ has been issued, the number of this licence must be reported.
PART2/1
3.MODIFICATION, REPLACEMENT OR CANCELLATION
3.1. Modification of accepted data
Data which must not be modified :
-the document number
- the itinerary , with exception of the port of departure and the (first) place of
arrival in the Belgian seaport of destination.
Data which can be modified :
-the name of the vessel
-the nationality of the vessel
-the (first) place of arrival in the Belgian seaport of destination
- the port of departure
-the estimated date of arrival
-licence number of the ‘line service’.
Modifications can only be accepted when:
1.the period of temporary storage (warehousing) is not expired
2.the SUMMARY DECLARATION FOR TEMPORARY STORAGE is not
presented
3.the modification is done by the responsible carrier.
3.2. Cancellation of accepted data
The cancellation of the data of the message can only be accepted when:
1.no CUSCAR message has been received
2.the SUMMARY DECLARATION FOR TEMPORARY STORAGE has not
been presented
3.the period of temporary storage (warehousing) has not expired
4.the cancellation is done by the responsible carrier.
The local customs can intervene when these conditions are not fulfilled (e.g. when the vessel is not landed in the port of Antwerp and CUSCAR messages have been transmitted).
3.3. Modification of an itinerary
When a modification to the itinerary is needed, the whole itinerary must be re-transmitted. A change of the (first) place of arrival in the port of Antwerp and /or the place of departure will not be considered as a replacement but rather as a modification.
The replacement of the itinerary can only be accepted when:
1.the period of temporary storage (warehousing) is not expired
2.the IMO FAL 1 is notpresented
3.the replacement is done by the responsible carrier.
PART2/1
CHAPTER 2 : Program specifications
1.VERSION
Release:96B
Version:D
Date:09/96
2.THE DATA SEGMENTS
Only the following segments are used within the CUSREP message:
BGM :beginning of the message
GROUP 1 :RFF :reference
GROUP 2 :LOC :place/location identification
GROUP 8 : TDT :details of the transport
DTM :date/time/period
PART2/1
3. BRANCHING DIAGRAM
┌─────────┬──────────┬──────────┐
│ │ │ │
┌──┴──┐ │ │ │
│ BGM │ │ │ │
LEVEL 0 ├──┬──┤ │ │ │
│M │ 1│ │ │ │
└──┴──┘ │ │ │
┌──┴──┐ ┌──┴──┐ ┌──┴──┐
│ GR1 │ │ GR2 │ │ GR8 │
├──┬──┤ ├──┬──┤ ├──┬──┤
│C │ 1│ │C │99│ * │C │ 1│ *
LEVEL 1 ├──┴──┤ ├──┴──┤ ├──┴──┤
│ RFF │ │ LOC │ │ TDT │
├──┬──┤ ├──┬──┤ ├──┬──┤
│M │ 1│ │M │ 1│ │M │ 1│
└──┴──┘ └──┴──┘ └──┼──┘
│
┌──┴──┐
│ DTM │
LEVEL 2 ├──┬──┤
│C │ 1│
└──┴──┘
(*) When it is an initial transmission then these segments are Mandatory
PART2/1
4. SEGMENTS and SEGMENT GROUPS
4.1. The segment BGM
BGM:beginning of message
FUNCTION:to indicate the type and function of a message and to transmit the identifying number
USAGE:M
C002 / M / document/message nameC106 / M / document/message identification
1001 / M / n3 / document/message name, coded / 933 / declaration (arrival)
1004 / M / an...35 / document/message number / the number of the document
1225 / M / n1 / message function, coded / 1
4
5
9 / cancellation
change
replace
initial transmission
SYNTAX :BGM+933+100000L9999999001+9'
PART2/1
4.2. The GROUP 1
The segment RFF within the GROUP 1
RFF:reference
FUNCTION:to identify a previous message
USAGE:C
C506 / M / reference1153 / M / a3 / reference qualifier / ACW / reference number previous message
1154 / M / an...35 / reference number
SYNTAX : RFF+ACW+100000L9999999001'
PART2/1
4.3. The GROUP 2
The segment LOC within the GROUP 2
LOC:place/location identification
CONDITION LOC WITHIN THE GROUP 2:
The function qualifier in the segment BGM has to be equal to 4 (modification of the place of departure and/or first place of arrival) or 5 (the replacement of the itinerary with exception of the place of departure and/or the first place of arrival) or 9 (initial transmission of the itinerary).
FUNCTION:to identify the place/port of departure, loading, destination, place of first entry in the BLEU and (first) place of arrival in the port of
Antwerp (= itinerary)
USAGE:C (see above)
3227 / M / n...3 / place/location qualifier / 59
135
60
64 / place of departure
port of loading
port of entry in the BLEU (**)
place of arrival without discharge
first place of discharge
C517 / M / location identification
3225 / M / an...5 / place/location identification / see (***)
1131 / C / n3 / code list qualifier / 131
139
140 / free zone (****)
no UN/LOCODE (*****)
berth place (*****)
3055 / C / n3 / responsible agency, coded / 147
ZZZ / Belgian Customs (*****)
mutually defined (******)
SYNTAX :LOC+5+country-port of departure’
LOC+9+country-port of loading’
LOC+9+country-port of loading:131:147'
LOC+135+country-port of entry’
LOC+64+berth place:140:ZZZ’
(**)For the GCA-system the default port of first arrival is Antwerp.
When Antwerp is the first port of entry in the BLEU the LOC-segment with the qualifier 135 within the simple data-element 3227 is not needed.
(***)When the qualifier 135 is used in the simple data-element 3227, the UN/LOCODE (UN/ECE recommendation n° 16 ) is used in the data-element 3225.
When the qualifiers 5 or 9 are used in the simple data-element 3227, the UN/LOCODE (UN/ECE recommendation n° 16) is used in the data-element 3225 if the goods are not loaded in a free zone of an EC-port. If the goods are loaded in such a free zone then the codes mentioned in annex 1 are used.
When the qualifiers 60 or 64 are used in the simple data-element 3227, the local codes of the berth places are used.
(****)When the qualifiers 5 or 9 are used in the simple data-element 3227 in combination with the code of a free zone in an EC-port then the qualifier 131 in the component data-element 1131 and the code 147 in the component data-element 3055 are used.
(*****)When the UN/LOCODE for a place/port (UN/ECE recommendation n° 16) is not registered then the qualifier 139 in the component data-element 1131 and the code ZZZ in the component data-element 3055 are used.
When the qualifiers 60 or 64 are used in the simple data-element 3227 then the qualifier 140 in the component data-element 1131 and the code ZZZ in the component data-element 3055 are used.
In all the other cases the component data-elements 1131 and 3055 are not used.
REMARK :Within the GROUP 2 only 97 repetitions of the segment LOC are possible with the place/port qualifiers 9 or 135 in the simple data-element 3227.
PART2/1
4.4. The GROUP 8
CONDITION GROUP 8 :
The function qualifier in the segment BGM has to be equal to 4 (modification of the name, nationality, estimated date of arrival) or 9 (initial transmission of the basic data).
FUNCTION:a group of segments to indicate details of the means of
transport
USAGE:C (see above)
CONTENT GROUP 8 :
-the segment TDT:M:details of transport
-the segment DTM:C:associated date/time of arrival
REMARK:
When the function qualifier in the segment BGM is equal to 4 and only the estimated date/time of arrival has to be changed then both segments (TDT and DTM) have to be present in the GROUP 8.
4.4.1. The segment TDT within the GROUP 8
TDT:details of the transport
FUNCTION:to specify the transport details such as mode of transport, means of transport and identification of the means of transport
USAGE:M
8051 / M / n2 / transport stage qualifier / 13 / at destination8028 / C / an...7 / licence n° of the ‘line service’
C222 / M / transport identification
8212 / C* / an...35 / name of the vessel
8453 / C* / a2 / nationality of the vessel,coded / iso 3166 - alpha 2 code
SYNTAX :TDT+13+++++++:::name:nat’
TDT+13+BE001++++++:::name:nat
PART2/1