EXPLANATORY NOTE CONCERNING THE MESSAGES PRESENTED IN ANNEX VII AND RULES AND CONDITIONS APPLICABLE TO THE MESSAGE DATA
TITLE I
Introduction
This Title describes the structure of the IE (information exchange), i.e. the model used to describe the content of the information to be exchanged between the competent authorities and between economic operators and the competent authorities using information technology and computer networks.
In this model, IEs are organised into data groups which contain data (attributes). The data (attributes) are grouped together in such a way that they build up coherent logical blocks within the scope of each IE.
The model allows to identify:
the characteristics of the data groups belonging to the IE: sequence, number of repetitions, a status value to indicate if the data group is mandatory, optional or conditional,
the characteristics of the data belonging to a data group: sequence, number of repetitions, type, length and a value to indicate if the data is mandatory, optional or conditional,
data group indentation indicates that the data group may contain not only data but also other groups of data,
the conditions applicable to data or groups of data towards other data or groups of data in the same IE,
the structure rules applicable to data or groups of data, explaining how the data or data group in question is used in the IE.
>TABLE>
>START OF GRAPHIC>
E>END OF GRAPHIC>
RULES FOR IE r11: When there is only 1 consignee declared, the data group "TRADER consignee (box 8)" on TRANSIT OPERATION level is used. The data group "TRADER consignee (ex box 8)" on GOODS ITEM level cannot be used
Explanation
The IE model is divided into five parts:
>START OF GRAPHIC>
A>END OF GRAPHIC>
The identification part, each IE is identified by:
a unique number that consists of the two characters "IE" followed by a maximum of 3 digits>START OF GRAPHIC>
a>END OF GRAPHIC>
,
a name>START OF GRAPHIC>
b>END OF GRAPHIC>
,
a unique reference>START OF GRAPHIC>
c>END OF GRAPHIC>
in a one-to-one relationship with the unique number of the IE; each IE is prefixed with "E_" (external domain), "C_" (common domain) or "N_" (internal).
>START OF GRAPHIC>
B>END OF GRAPHIC>
The structure part provides the following:
the sequence of the data groups in the IE,
a data group name>START OF GRAPHIC>
a>END OF GRAPHIC>
,
a number followed by the character "x">START OF GRAPHIC>
b>END OF GRAPHIC>
indicating how many times the data group may be repeated in the IE,
a value>START OF GRAPHIC>
c>END OF GRAPHIC>
indicating whether the data group is (R)equired, (O)ptional or (C)onditional,
when relevant, a "box number">START OF GRAPHIC>
d>END OF GRAPHIC>
representing the number of the box on the SAD,
reference to the condition and/or rule>START OF GRAPHIC>
e>END OF GRAPHIC>
applicable to the data,
data group indentation >START OF GRAPHIC>
f>END OF GRAPHIC>
indicates that the data group depends on lower indent data group.
>START OF GRAPHIC>
C>END OF GRAPHIC>
The "data group" detail part provides for each data (attribute) the following:
the sequence of the data within the data group,
a data group name>START OF GRAPHIC>
a>END OF GRAPHIC>
, the same as in the structure part,
the attribute name>START OF GRAPHIC>
b>END OF GRAPHIC>
within the data group,
a value>START OF GRAPHIC>
c>END OF GRAPHIC>
indicating whether the data is (R)equired, (O)ptional or (C)onditional,
the data type>START OF GRAPHIC>
d>END OF GRAPHIC>
: (a)lphabetic and/or (n)umeric,
the data length>START OF GRAPHIC>
e>END OF GRAPHIC>
(the optional two dots before the length indicator mean that the data has no fixed length, but it can have up to a number of digits, as specified by the length indicator); it must be noted that the data type/data length of fields representing a date is always "n8" in order to be year 2000 compliant (e.g. 19980220); also, a comma in the data length (e.g. 8,6) means that the attribute can hold decimals, the digit before the comma indicates the total length of the attribute, the digit after the comma indicates the maximum number of digits after the decimal point,
when relevant, a "box number">START OF GRAPHIC>
f>END OF GRAPHIC>
representing the number of the box on the SAD,
a reference>START OF GRAPHIC>
g>END OF GRAPHIC>
to the condition "Cond" and/or to the "Rule" applicable to the data.
>START OF GRAPHIC>
D>END OF GRAPHIC>
The "Condition" part:
lists all conditions applicable to the data or data group towards other data or data group included in the IE. A condition expresses the dependency of an attribute or data group on the content of another attribute or data group within the same IE. The attribute or data group in question can, due to the condition, be rendered (R)equired, (O)ptional or even "not be used" within the IE.
>START OF GRAPHIC>
E>END OF GRAPHIC>
The "Rule" part:
lists all rules applicable to the data or data group, explaining how the data or how the data group in question is used in the IE.
TITLE II
Rules for IE (information exchange)
>TABLE>
TITLE III
Conditions for IE (information exchange)
C1: If "Country of destination" (box 17a) on transit operation level contains a "country" as defined in this Convention
then TRADER consignee (box 8) = "R"
else TRADER consignee (box 8) = "O".
C2: If "Country of destination" (ex box 17a) on GOODS ITEM level contains a "country" as defined in this Convention
then TRADER consignee (ex box 8) = "R"
else TRADER consignee (ex box 8) = "O".
C5: If first digit of "Inland mode of transport" (box 26) = "5" or "7"
then "Identity at departure" (box 18) cannot be used.
C6: If first digit of "Inland mode of transport" (box 26) = "2", "5" or "7"
then "Nationality at departure" (box 18) cannot be used.
C10: If first digit of "Transport mode at the border" (box 25) = "2", "5" or "7"
then "Nationality crossing border" (box 21) = "O"
else "Nationality crossing border" (box 21) = "R".
C15: If SGI CODES is used
then "Commodity code" (box 33) = "R"
else "Commodity code" (box 33) = "O".
C30: If there are different Contracting Parties declared for departure (identified by the office of departure, box C) and destination (identified by the office of destination, box 53)
then at least one "CUSTOMS OFFICE of transit" (box 51) = "R"
else "CUSTOMS OFFICE of transit" (box 51) = "O".
C35: If "Declaration type" (box 1) or "Declaration type" (ex box 1) = "T2" and "Country of dispatch", identified by the first two digits of the "CUSTOMS OFFICE of departure reference number" (box C) = is an EFTA country
then "PREVIOUS ADMINISTRATIVE REFERENCES" = "R"
else "PREVIOUS ADMINISTRATIVE REFERENCES" = "O".
C45: If "Declaration type" (box 1) = "T-"
then "Declaration type" (ex box 1) = "R"
else "Declaration type" (ex box 1) cannot be used.
C50: If "TIN" (box 50) is used
then all attributes of name and address (NAD) (box 50) = "O" if already known by the system
else all attributes of name and address (NAD) (box 50) = "R".
C55: If "Container" (box 19) = "1"
then "CONTAINERS (box 31)" = "R"
else "CONTAINERS (box 31)" = "O".
C60: If "Kind of packages" (box 31) indicates "BULK" (UNECE rec 21: "VQ", "VG", "VL", "VY", "VR" or "VO"
then "Marks and numbers of packages" (box 31) ="O"
"Number of packages" (box 31) cannot be used
"Number of pieces" (box 31) cannot be used
else if "Kind of packages" (box 31) indicates "UNPACKED" (UNECE rec 21: = "NE")
then "Marks and numbers of packages" (box 31) = "O"
"Number of packages" cannot be used
"Number of pieces" (box 31) = "R"
else "Marks and numbers of packages" (box 31) = "R"
"Number of packages" (box 31) = "R"
"Number of pieces" (box 31) cannot be used.
C75: If "Additional information id" (box 44) = "DG0" or "DG1"
then "Export from EC" or "Export from country" (box 44) = "R"
else "Export from EC" and "Export from country" (box 44) cannot be used.
C85: If "Guarantee type" = "0", "1", "4" or "9"
then "GUARANTEE REFERENCE" = "R"
else "GUARANTEE REFERENCE" = "O".
C86: If "Guarantee type" = "0", "1", "4" or "9"
then "Access code" = "R"
else "Access code" = "O".
C90: If first digit of "Control result code" = "B"
then "Waiting for discrepancies resolution" = "R"
else "Waiting for discrepancies resolution" = "O".
C95: If "Number of loading lists" (box 4) is used
then "Total number of packages" (box 6) = "R"
else "Total number of packages" (box 6) = "O".
C99: If corresponding free text field is used
then "_LNG" = "R"
else "_LNG" = "O".
(The language of the address attributes is expressed by NAD_LNG)
C100: If "CONTROL RESULT" (box D) is used
then "Authorised location of goods" = "O"
"Customs subplace" cannot be used
"Agreed location code" cannot be used
"Agreed location of goods" cannot be used
else "Authorised location of goods" cannot be used
"Agreed location code" = "O"
"Agreed location of goods" = "O"
"Customs subplace" = "O".
C110: If "CONTROL RESULT" (Simplified procedure) is used
then "TIN" = "R"
else "TIN" = "O".
C125: If "Other guarantee reference" is NOT used
then "GRN" = "R"
else "GRN" cannot be used.
C130: If "GRN" is NOT used
then "Other guarantee reference" = "R"
else "Other guarantee reference" cannot be used.
C135: If only one country of dispatch is declared
then "Country of dispatch (box 15a)" on TRANSIT OPERATION level = "R"
"Country of dispatch (ex box 15a)" on GOODS ITEM level cannot be used
else "Country of dispatch (box 15a)" on TRANSIT OPERATION level cannot be used
"Country of dispatch (ex box 15a)" on GOODS ITEM level = "R".
C140: If only one country of destination is declared
then "Destination country (box 17a)" on TRANSIT OPERATION level = "R"
"Destination country (ex box 17a)" on GOODS ITEM level cannot be used
else "Destination country (box 17a)" on TRANSIT OPERATION level cannot be used
"Destination country (ex box 17a)" GOODS ITEM level = "R".
C185: If first digit of "Control result code" = "A"
and second digit of "Control result code" = "1" or "2" ("Satisfactory" or "Considered satisfactory")
then All data groups and attributes marked with "Cond 185" cannot be used
else All data groups and attributes marked with "Cond 185" = "R".`