Skip to main content

Rules R

R0003

Functional Description

Each <CUSTOMS OFFICE OF TRANSIT (DECLARED). Reference number> is unique throughout the declaration.

Technical Description

Each /*/CustomsOfficeOfTransitDeclared/referenceNumber is unique throughout the declaration.

R0004

Functional Description

The value of <CUSTOMS OFFICE OF TRANSIT (DECLARED).Arrival date and time estimated> field is considered valid only if it is not LESS than or EQUAL to <TRANSIT OPERATION.Release date>

Technical Description

The value of /*/CustomsOfficeOfTransitDeclared/arrivalDateAndTimeEstimated field is considered valid
only if it is not LESS than or EQUAL to /*/TransitOperation/releaseDate

R0005

Functional Description

The value of <CUSTOMS OFFICE OF TRANSIT (DECLARED).Arrival date and time estimated> field is considered valid only if it is not LESS than or EQUAL to <MESSAGE. Preparation date and time>

Technical Description

The value of /*/CustomsOfficeOfTransitDeclared/arrivalDateAndTimeEstimated field is considered valid
only if it is not LESS than or EQUAL to /*/Message/Preparation date and time

R0006

Functional Description

IF the first two characters of <CUSTOMS OFFICE OF DESTINATION (DECLARED). Reference number> is in set CL112 (CountryCodesCTC) THEN the first two characters of at least one instance of <CUSTOMS OFFICE OF TRANSIT (DECLARED). Reference number> shall be EQUAL to the first two characters of <CUSTOMS OFFICE OF DESTINATION (DECLARED). Reference number>; IF the first two characters of <CUSTOMS OFFICE OF DEPARTURE.Reference number> is in set CL112 (CountryCodesCTC) AND If the first two characters of <CUSTOMS OFFICE OF DESTINATION (DECLARED). Reference number> is in set CL010 (CountryCodesCommunity) THEN the first two characters of at least one instance of <CUSTOMS OFFICE OF TRANSIT (DECLARED). Reference number> shall be in set CL010 (CountryCodesCommunity).

Technical Description

IF the first two characters of /*/CustomsOfficeOfDestinationDeclared/referenceNumber is in set CL112
THEN the first two characters of at least one instance of
/*/CustomsOfficeOfTransitDeclared/referenceNumber shall be EQUAL to the first two characters of
/*/CustomsOfficeOfDestinationDeclared/referenceNumber;
If the first two characters of /*/CustomsOfficeOfDeparture/referenceNumber is in set CL112 AND If the
first two characters of /*/CustomsOfficeOfDestinationDeclared/referenceNumber is in set CL010
THEN the first two characters of at least one instance of
/*/CustomsOfficeOfTransitDeclared/referenceNumber shall be in SET CL010.

R0007

Functional Description

Each <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM.Declaration goods item number> is unique throughout the declaration. The items shall be numbered in a sequential fashion, starting from ‘1’ for the first item and increment the numbering by ‘1’ for each following item.

Technical Description

Each /*/Consignment/HouseConsignment/ConsignmentItem/declarationGoodsItemNumber is unique
throughout the declaration. The items shall be numbered in a sequential fashion, starting from ‘1’ for
the first item and increment the numbering by ‘1’ for each following item.

R0008

Functional Description

<Correlation identifier> shall be EQUAL to the <Message identification> of the request/rejected message.

Technical Description

/*/correlationIdentifier shall be EQUAL to the /*/messageIdentification of the request/rejected message.

R0020

Functional Description

IF <TRANSIT OPERATION.Declaration type> is in SET {T2, T2F} AND the first two characters of <CUSTOMS OFFICE OF DEPARTURE.Reference number> is in SET CL112 (CountryCodesCTC) THEN (at least one <CONSIGNMENT-PREVIOUS DOCUMENT.Type> is in SET CL178 (PreviousDocumentUnionGoods)) OR (at least one <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM-PREVIOUS DOCUMENT.Type> is in SET CL178 (PreviousDocumentUnionGoods)) for each and every Consignment Item IF <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM.Declaration type> is in SET {T2, T2F} AND the first two characters of <CUSTOMS OFFICE OF DEPARTURE.Reference number> is in SET CL112 (CountryCodesCTC) THEN (at least one <CONSIGNMENT-PREVIOUS DOCUMENT.Type> is in SET CL178 (PreviousDocumentUnionGoods)) OR (at least one <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM-PREVIOUS DOCUMENT.Type> is in SET CL178 (PreviousDocumentUnionGoods) for this ‘Consignment item’)

Technical Description

IF /*/Transit Operation/declarationType is in SET {T2, T2F}
AND the first two characters of /*/CustomsOfficeOfDeparture/referenceNumber is in SET CL112
THEN
(at least one /*/Consignment/PreviousDocument/type is in SET CL178) OR
(at least one /*/Consignment/HouseConsignment/ConsignmentItem/PreviousDocument/type is in SET
CL178) for each and every Consignment Item
IF /*/Consignment/HouseConsignment/ConsignmentItem/declarationType is in SET {T2, T2F}
AND the first two characters of /*/CustomsOfficeOfDeparture/referenceNumber is in SET CL112
THEN
(at least one /*/Consignment/PreviousDocument/type is in SET CL178) OR
(at least one /*/Consignment/HouseConsignment/ConsignmentItem/PreviousDocument/type is in SET
CL178 for this ‘Consignment item’)

R0023

Functional Description

IF <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM-ADDITIONAL REFERENCE.Type> is in SET CL234 (DocumentTypeExcise) THEN <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM-ADDITIONAL REFERENCE.Reference number> shall not be ‘0’ (zero)

Technical Description

IF /*/Consignment/HouseConsignment/ConsignmentItem/AdditionalReference/type is in SET CL234
(DocumentTypeExcise)
THEN /*/Consignment/HouseConsignment/ConsignmentItem/AdditionalReference/referenceNumber
shall not be ‘0’ (zero)

R0028

Functional Description

The structure of this Data Item is validated as specified in DDCOM. The check digit must follow the ISO 6346 standard.

Technical Description

The structure of this Data Item is validated as specified in DDCOM. The check digit must follow the
ISO 6346 standard.

R0054

Functional Description

Numbering of items:

IF a discrepancy is identified in the Data Group THEN:

- ‘Sequence number’ shall be unique AND EQUAL to the sequence number of the Data Group defined in the declaration for which the discrepancy is reported.

IF a new Data Group is identified THEN:

- ‘Sequence number’ shall be unique AND EQUAL to the number of the last sequence number of the Data Group + 1 and the rest of the Data Items contained in the Data Group and all sub–Data Groups shall be filled in except for the Data Elements that are defined as optional or dependent in the declaration.

IF the information related to a Data Group is missing THEN:

- ‘Sequence number’ shall be unique AND EQUAL to the sequence number of the Data Group defined in the declaration and the rest of the Data Items contained in the Data Group and all sub–Data Groups shall not be filled.

Note: The Sequence number of a Data Group is unique if the XPath and the value of the sequence number of this Data Item is unique in this message.

Technical Description

Numbering of items:
IF a discrepancy is identified in the Data Group THEN:
- ‘Sequence number’ shall be unique AND EQUAL to the sequence number of the Data
Group defined in the declaration for which the discrepancy is reported.
IF a new Data Group is identified THEN:
- ‘Sequence number’ shall be unique AND EQUAL to the number of the last sequence
number of the Data Group
+ 1 and the rest of the Data Items contained in the Data Group and all sub–Data Groups
shall be filled in except for the Data Elements that are defined as optional or dependent
in the declaration.
IF the information related to a Data Group is missing
THEN:
- ‘Sequence number’ shall be unique AND EQUAL to the sequence number of the Data
Group defined in the declaration
and the rest of the Data Items contained in the Data Group and all sub–Data Groups
shall not be filled.
Note: The Sequence number of a Data Group is unique if the XPath and the value of the sequence
number of this Data Item is unique in this message.

R0055

Functional Description

Numbering of items:

IF a discrepancy is identified in the Data Group THEN:

- ‘Declaration goods item number’ shall be unique AND EQUAL to the declaration goods item number defined in the declaration for which the discrepancy is reported AND - ‘Goods item number’ shall be unique AND EQUAL to the goods item number defined in the declaration for which the discrepancy is reported.

IF a new Data Group is identified THEN:

- ‘Declaration goods item number’ shall be unique AND EQUAL to the last declaration goods item number defined in the declaration + 1 AND - ‘Goods item number’ shall be unique AND EQUAL to the last goods item number defined in the declaration + 1 AND the rest of the Data Items contained in the Data Group and all sub–Data Groups shall be filled in except for the Data Elements that are defined as optional or dependent in the declaration.

IF a Goods item is missing THEN:

- ‘Declaration goods item number’ shall be unique AND EQUAL to the number of the declaration goods item number defined in the declaration AND - ‘Goods item number’ shall be unique AND EQUAL to the item number defined in the declaration AND the rest of the Data Items contained in the Data Group and all sub–Data Groups shall not be filled.

Note: The Sequence number of a Data Group is unique if the XPath and the value of the sequence number of this Data Item is unique in this message.

Technical Description

Numbering of items:
IF a discrepancy is identified in the Data Group THEN:
- ‘Declaration goods item number’ shall be unique AND EQUAL to the declaration goods item
number defined in the declaration for which the discrepancy is reported AND
- ‘Goods item number’ shall be unique AND EQUAL to the goods item number defined in the
declaration for which the discrepancy is reported.
IF a new Data Group is identified THEN:
- ‘Declaration goods item number’ shall be unique AND EQUAL to the last declaration goods item
number defined in the declaration + 1 AND
- ‘Goods item number’ shall be unique AND EQUAL to the last goods item number defined in the
declaration + 1 AND
the rest of the Data Items contained in the Data Group and all sub–Data Groups shall be
filled in except for the Data Elements that are defined as optional or dependent in the
declaration.
IF a Goods item is missing THEN:
- ‘Declaration goods item number’ shall be unique AND EQUAL to the number of the declaration
goods item number defined in the declaration AND
- ‘Goods item number’ shall be unique AND EQUAL to the item number defined in the
declaration AND the rest of the Data Items contained in the Data Group and all sub–Data Groups
shall not be filled.
Note: The Sequence number of a Data Group is unique if the XPath and the value of the sequence
number of this Data Item is unique in this message.

R0060

Functional Description

IF <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM-COMMODITY-COMMODITY CODE.Combined nomenclature code> is PRESENT THEN the concatenation of the Data Items <CONSIGNMENT-HOUSE CONSIGNMENT- CONSIGNMENT ITEM-COMMODITY-COMMODITY CODE.Harmonized System sub-heading code> (an6) and <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM-COMMODITY- COMMODITY CODE.Combined nomenclature code> (an2) must be a valid code in the TARIC database (validated only by the EU countries).

Technical Description

IF /*/Consignment/HouseConsignment/ConsignmentItem/Commodity/
CommodityCode/combinedNomenclatureCode is PRESENT
THEN the concatenation of the Data Items /*/Consignment/HouseConsignment/
ConsignmentItem/Commodity/CommodityCode/harmonizedSystemSubHeadingCode (an6) and
/*/Consignment/HouseConsignment/ConsignmentItem/Commodity/
CommodityCode/combinedNomenclatureCode (an2) must be a valid code in the TARIC database
(validated only by the EU countries).

R0076

Functional Description

IF <CONSIGNMENT-ACTIVE BORDER TRANSPORT MEANS.Type of identification> is in SET {10,21,30,40,41,80} THEN <CONSIGNMENT-ACTIVE BORDER TRANSPORT MEANS. Identification number> must not contain lowercase letters.

Technical Description

IF /*/Consignment/ActiveBorderTransportMeans/typeOfIdentification is in SET {10,21,30,40,41,80}
THEN /*/Consignment/ActiveBorderTransportMeans/identificationNumber shall not contain lowercase
letters.

R0100

Functional Description

If <TRADER AT DESTINATION.Communication language at destination> is PRESENT, then the indicated language is used as the basic language in any further communication between the Trader and the Customs system. If <TRADER AT DESTINATION.Communication language at destination> is not PRESENT then the Customs system will use the default language of the Office concerned; If <TRANSIT OPERATION.Communication language at departure> is PRESENT, then the indicated language is used as the basic language in any further communication between the Trader and the Customs system. If <TRANSIT OPERATION.Communication language at departure> is not PRESENT then the Customs system will use the default language of the Office concerned.

Technical Description

If /*/TraderAtDestination/communicationLanguageAtDestination is PRESENT, then the indicated
language is used as the basic language in any further communication between the Trader and the
Customs system. If /*/TraderAtDestination/communicationLanguageAtDestination is not PRESENT
then the Customs system will use the default language of the Office concerned;
If /*/TransitOperation/communicationLanguageAtDeparture is PRESENT, then the indicated language
is used as the basic language in any further communication between the Trader and the Customs
system. If /*/TransitOperation/communicationLanguageAtDeparture is not PRESENT then the Customs
system will use the default language of the Office concerned.

R0102

Functional Description

Data item <INVALIDATION.Decision> can contain 2 valid values:

- ‘0’ = ‘No’: Invalidation refused by Customs: Decision - ‘1’ = ‘Yes’: Invalidation accepted by Customs: Decision

Technical Description

Data item /*/Invalidation/decision can contain 2 valid values:
- ‘0’ = ‘No’: Invalidation refused by Customs: Decision
- ‘1’ = ‘Yes’: Invalidation accepted by Customs: Decision

R0103

Functional Description

IF <CUSTOMS OFFICE OF EXIT FOR TRANSIT (DECLARED)> is PRESENT THEN <CUSTOMS OFFICE OF EXIT FOR TRANSIT (DECLARED). Reference number> is NOT EQUAL to <CUSTOMS OFFICE TRANSIT (DECLARED).Reference number> AND is NOT EQUAL to <CUSTOMS OFFICE OF DESTINATION (DECLARED).Reference number>

Technical Description

IF /*/CustomsOfficeOfExitForTransitDeclared is PRESENT
THEN
/*/CustomsOfficeOfExitForTransitDeclared/referenceNumber is NOT EQUAL to
/*/CustomsOfficeOfTransitDeclared/referenceNumber AND is NOT EQUAL to
/*/CustomsOfficeOfDestinationDeclared/referenceNumber

R0106

Functional Description

<TRANSPORT EQUIPMENT.Number of seals> is EQUAL to the ‘maximum value of <TRANSPORT EQUIPMENT-SEAL.Sequence number>’ for THIS instance of Transport Equipment.

Technical Description

/*/TransportEquipment/numberOfSeals is EQUAL to the ‘maximum value of
/*/TransportEquipment/Seal/sequenceNumber’ for THIS instance of Transport Equipment.

R0107

Functional Description

<TRANSPORT EQUIPMENT-SEAL.Identifier> is unique in the whole declaration.

Technical Description

/*/TransportEquipment/Seal/identifier is unique in the whole declaration.

R0165

Functional Description

IF the declaration is submitted under simplified procedure AND the authorisation of which foresees the use of seals THEN <CONSIGNMENT-TRANSPORT EQUIPMENT.Number of seals> is GREATER than ‘0’.

Technical Description

IF the declaration is submitted under simplified procedure AND the authorisation of which foresees the
use of seals
THEN /*/Consignment/TransportEquipment/numberOfSeals> is GREATER than ‘0’.

R0219

Functional Description

IF <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM-PACKAGING.Number of packages> is EQUAL to ‘0’ (zero) THEN no further data group <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM- PACKAGING> with a value not equal to ‘0’ (zero) in the data item <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM-PACKAGING.Number of packages> is specified for this data group <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM>.

Technical Description

IF /*/Consignment/HouseConsignment/ConsignmentItem/Packaging/numberOfPackages is EQUAL to
‘0’ (zero)
THEN no further data group /*/Consignment/HouseConsignment/ConsignmentItem/Packaging with a
value not equal to ‘0’ (zero) in the data item
/*/Consignment/HouseConsignment/ConsignmentItem/Packaging/numberOfPackages is specified for
this data group /*/HouseConsignment/ConsignmentItem.

R0220

Functional Description

IF <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM-PACKAGING.Number of packages> is EQUAL to ‘0’ (zero) THEN <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM-PACKAGING.Type of packages> shall not be in SET CL182 (KindOfPackagesUnpacked) for this data group <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM>.

Technical Description

IF /*/Consignment/HouseConsignment/ConsignmentItem/Packaging/numberOfPackages is EQUAL to
‘0’ (zero)
THEN /*/Consignment/HouseConsignment/ConsignmentItem/Packaging/typeOfPackages shall not be
in SET CL182 for this data group /*/ Consignment/HouseConsignment/ConsignmentItem.

R0221

Functional Description

IF <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM-PACKAGING.Number of packages> is EQUAL to ‘0’ (zero) THEN for THIS CONSIGNMENT ITEM <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM-COMMODITY-GOODS MEASURE.Gross mass> is EQUAL to ‘0’ (zero) AND for THIS HOUSE CONSIGNMENT at least one other CONSIGNMENT ITEM must exist with <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM-COMMODITY-GOODS MEASURE.Gross mass> having a value different from ‘0’ (zero) ELSE for THIS CONSIGNMENT ITEM <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM-COMMODITY-GOODS MEASURE.Gross mass> must be different from ‘0’ (zero).

Technical Description

IF /*/Consignment/HouseConsignment/ConsignmentItem/Packaging/numberOfPackages is EQUAL to
‘0’ (zero)
THEN
for THIS CONSIGNMENT ITEM
/*/Consignment/HouseConsignment/ConsignmentItem/Commodity/GoodsMeasure/grossMass is
EQUAL to ‘0’ (zero)
AND
for THIS HOUSE CONSIGNMENT at least one other CONSIGNMENT ITEM must exist with
/*/Consignment/HouseConsignment/ConsignmentItem/Commodity/GoodsMeasure/grossMass
having a value different from ‘0’ (zero)
ELSE for THIS CONSIGNMENT ITEM
/*/Consignment/HouseConsignment/ConsignmentItem/Commodity/GoodsMeasure/grossMass
must be different from ‘0’ (zero).

R0223

Functional Description

IF <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM-COMMODITY-GOODS MEASURE.Gross mass> is GREATER THAN ‘0’ (zero value). THEN <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM-COMMODITY-GOODS MEASURE.Net mass> must be LESS THAN OR EQUAL to <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM-COMMODITY-GOODS MEASURE.Gross mass>.

Technical Description

IF /*/Consignment/HouseConsignment/ConsignmentItem/Commodity/GoodsMeasure/grossMass is
GREATER THAN ‘0’ (zero)
THEN /*/Consignment/HouseConsignment/ConsignmentItem/Commodity/GoodsMeasure/netMass
must be LESS THAN OR EQUAL to
/*/Consignment/HouseConsignment/ConsignmentItem/Commodity/GoodsMeasure/grossMass.

R0315

Functional Description

Where <CONSIGNMENT.Mode of transport at the border> is EQUAL to ‘4’ the (IATA/ICAO) flight number shall be indicated and shall have a format an..8: - an..3: mandatory prefix identifying the airline/operator - n..4: mandatory number of the flight - a1: optional suffix

Technical Description

Where /*/Consignment/modeOfTransportAtTheBorder is EQUAL to ‘4’ the (IATA/ICAO) flight number
shall be indicated and shall have a format an..8:
- an..3: mandatory prefix identifying the airline/operator
- n..4: mandatory number of the flight
- a1: optional suffix

R0318

Functional Description

IF <GUARANTEE.Guarantee type> is EQUAL to ‘4’ THEN the format of <GUARANTEE-GUARANTEE REFERENCE.GRN> is ‘an24’ ELSE the format of <GUARANTEE-GUARANTEE REFERENCE.GRN> is ‘an17’

Technical Description

IF /*/Guarantee/guaranteeType is EQUAL to ‘4’
THEN the format of /*/Guarantee/GuaranteeReference/GRN is ‘an24’
ELSE the format of /*/Guarantee/GuaranteeReference/GRN is ‘an17’

R0350

Functional Description

IF <TRANSIT OPERATION.Reduced dataset indicator> is EQUAL to ‘1’ AND <CONSIGNMENT.Inland mode of transport> is in SET {1, 2, 4} THEN at least one <AUTHORISATION.Type> is EQUAL to ‘C524’

Technical Description

IF /*/TransitOperation/reducedDatasetIndicator> is EQUAL to ‘1’
AND /*/Consignment/inlandModeOfTransport is in SET {1, 2, 4}
THEN
at least one /*/Authorisation/type is EQUAL to ‘C524’

R0352

Functional Description

IF <TRANSIT OPERATION.Reduced dataset indicator> is EQUAL to ‘1’ AND <CONSIGNMENT.Inland mode of transport> is in SET {1, 2, 4} THEN this Data Item includes at least one <Authorisation number> for a valid Authorisation for Reduced Data Set owned by the Holder of the Transit Procedure

Technical Description

IF /*/TransitOperation/reducedDatasetIndicator> is EQUAL to ‘1’
AND /*/Consignment/inlandModeOfTransport is in SET {1, 2, 4}
THEN
this Data Item includes at least one <Authorisation number> for a valid Authorisation for Reduced Data
Set owned by the Holder of the Transit Procedure

R0364

Functional Description

IF<CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM-PACKAGING.Number of Packages> is EQUAL to ‘0’ (zero) THEN for THIS HOUSE CONSIGNMENT at least one other CONSIGNMENT ITEM must exist with (the same <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM-PACKAGING.Shipping marks> AND with <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM- PACKAGING.Number of packages> having a value GREATER than ‘0’ (zero) AND <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM-PACKAGING.Type of packages> having a value NOT IN SET {CL181(KindOfPackagesBulk), CL182(KindOfPackagesUnpacked)}).

Technical Description

IF /*/Consignment/HouseConsignment/ConsignmentItem/Packaging/numberOfPackages is EQUAL to
‘0’ (zero)
THEN for THIS HOUSE CONSIGNMENT at least one other CONSIGNMENT ITEM must exist with
(the same /*/Consignment/HouseConsignment/ConsignmentItem/Packaging/shippingMarks AND with
/*/Consignment/HouseConsignment/ConsignmentItem/Packaging/numberOfPackages having a value
GREATER than ‘0’ (zero) AND
/*/Consignment/HouseConsignment/ConsignmentItem/Packaging/typeOfPackages having a value
NOT IN SET {CL181, CL182}).

R0410

Functional Description

IF <CC015C-TRANSIT OPERATION.Security> (the transit declaration includes ENS data for safety and security purposes [only]) is EQUAL to ‘1’ THEN the 17th character of MRN is EQUAL to ‘L’ ELSE IF <TRANSIT OPERATION.Security> (the transit declaration includes EXS data for safety and security purposes [only]) is EQUAL to ‘2’ THEN the 17th character of MRN is EQUAL to ‘K’ ELSE IF <TRANSIT OPERATION.Security> (the transit declaration includes ENS and EXS data for safety and security purposes [only]) is EQUAL to ‘3’ THEN the 17th character of MRN is EQUAL to ‘M’ ELSE the 17th character of MRN is EQUAL to ‘J’

Technical Description

IF /CC015C/TransitOperation/security (the transit declaration includes ENS data for safety and security
purposes [only]) is EQUAL to ‘1’
THEN the 17th character of MRN is EQUAL to ‘L’
ELSE IF /*/TransitOperation/security (the transit declaration includes EXS data for safety and security
purposes [only]) is EQUAL to EQUAL to ‘2’
THEN the 17th character of MRN is EQUAL to ‘K’
ELSE IF */TransitOperation/security (the transit declaration includes ENS and EXS data for safety and
security purposes [only]) is EQUAL to ‘3’
THEN the 17th character of MRN is EQUAL to ‘M’
ELSE the 17th character of MRN is EQUAL to ‘J’

R0416

Functional Description

The Data Item <CONSIGNMENT-HOUSE CONSIGNMENT-PREVIOUS DOCUMENT. Reference Number> must include a valid ‘Export declaration’ or an ‘Export and exit summary declaration’ or a ‘Dispatch of goods in relation with special fiscal territories’.

Technical Description

The Data Item /*/Consignment/HouseConsignment/PreviousDocument/referenceNumber must include
a valid export MRN. The 17th character must be in SET {A, B, E}.

R0448

Functional Description

IF <CONSIGNMENT-TRANSPORT EQUIPMENT.Container identification number> is NOT PRESENT THEN the value ‘0’ (zero) is not valid for <CONSIGNMENT-TRANSPORT EQUIPMENT.Number of seals>; IF <CONSIGNMENT-INCIDENT-TRANSPORT EQUIPMENT.Container identification number> is NOT PRESENT THEN the value ‘0’ (zero) is not valid for <CONSIGNMENT-INCIDENT-TRANSPORT EQUIPMENT.Number of seals>

Technical Description

IF /*/Consignment/TransportEquipment/containerIdentificationNumber is NOT PRESENT
THEN the value ‘0’ (zero) is not valid for
/*/Consignment/TransportEquipment/numberOfSeals;
IF /*/Consignment/Incident/TransportEquipment/containerIdentificationNumber is NOT PRESENT
THEN the value ‘0’ (zero) is not valid for
/*/Consignment/Incident/TransportEquipment/numberOfSeals

R0472

Functional Description

IF <CONSIGNMENT.Inland mode of transport> is in SET {1,2,3,4,8} THEN IF <CONSIGNMENT-DEPARTURE TRANSPORT MEANS> is PRESENT THEN the first digit of <CONSIGNMENT-DEPARTURE TRANSPORT MEANS.Type of identification> shall be EQUAL to <CONSIGNMENT.Inland mode of transport> ELSE IF <CONSIGNMENT-HOUSE CONSIGNMENT-DEPARTURE TRANSPORT MEANS> is PRESENT THEN the first digit of <CONSIGNMENT-HOUSE CONSIGNMENT-DEPARTURE TRANSPORT MEANS.Type of identification> shall be EQUAL to <CONSIGNMENT.Inland mode of transport>

Technical Description

IF /*/Consignment/inlandModeOfTransport is in SET {1,2,3,4,8}
THEN
IF /*/Consignment/DepartureTransportMeans is PRESENT
THEN
the first digit of /*/Consignment/DepartureTransportMeans/typeOfIdentification shall be
EQUAL to /*/Consignment/inlandModeOfTransport
ELSE IF /*/Consignment/HouseConsignment/DepartureTransportMeans is PRESENT
THEN
the first digit of
/*/Consignment/HouseConsignment/DepartureTransportMeans/typeOfIdentification
shall be EQUAL to /*/Consignment/inlandModeOfTransport

R0473

Functional Description

IF <CONSIGNMENT-DEPARTURE TRANSPORT MEANS> is PRESENT AND <CONSIGNMENT-DEPARTURE TRANSPORT MEANS.Type of identification> is in SET {10,20,21,30,31,40,41,80} THEN < CONSIGNMENT-DEPARTURE TRANSPORT MEANS.Identification number> shall not contain lowercase letters ELSE IF <CONSIGNMENT-HOUSE CONSIGNMENT-DEPARTURE TRANSPORT MEANS> is PRESENT AND <CONSIGNMENT- HOUSE CONSIGNMENT-DEPARTURE TRANSPORT MEANS.Type of identification> is in SET {10,20,21,30,31,40,41,80} THEN < CONSIGNMENT- HOUSE CONSIGNMENT-DEPARTURE TRANSPORT MEANS.Identification number> shall not contain lowercase letters

Technical Description

IF /*/Consignment/DepartureTransportMeans is PRESENT AND
/*/Consignment/DepartureTransportMeans/typeofIdentification is in SET {10,20,21,30,31,40,41,80}
THEN /*/Consignment/DepartureTransportMeans/IdentificationNumber shall not contain lowercase
letters
ELSE IF /*/Consignment/HouseConsignment/DepartureTransportMeans is PRESENT AND
/*/Consignment/HouseConsignment/DepartureTransportMeans/typeofIdentification is in SET
{10,20,21,30,31,40,41,80}
THEN /*/Consignment/HouseConsignment/DepartureTransportMeans/IdentificationNumber shall not
contain lowercase letters

R0474

Functional Description

IF <CONSIGNMENT.Inland mode of transport> is EQUAL to ‘3’ THEN the first data group iteration <Consignment-Departure Transport Means.Type of identification> must be EQUAL to ‘30’; IF <CONSIGNMENT.Inland mode of transport> is EQUAL to ‘3’ AND <CONSIGNMENT-DEPARTURE TRANSPORT MEANS> is PRESENT THEN for THIS House Consignment, the first data group iteration <CONSIGNMENT-HOUSE CONSIGNMENT-DEPARTURE TRANSPORT MEANS.Type of identification> must be EQUAL to ‘30’

Technical Description

IF /*/Consignment/inlandModeOfTransport is EQUAL to ‘3’
THEN the first data group iteration /*/Consignment/DepartureTransportMeans/typeOfIdentification must
be EQUAL to ‘30’;
IF /*/Consignment/inlandModeOfTransport is EQUAL to ‘3’
AND /*/Consignment/House Consignment/DepartureTransportMeans is PRESENT
THEN for THIS House Consignment, the first data group iteration
/*/Consignment/HouseConsignment/DepartureTransportMeans/typeOfIdentification must be EQUAL to
‘30’.

R0476

Functional Description

IF <CONSIGNMENT.Inland mode of transport> is EQUAL to ‘3’ THEN IF the multiplicity of the data group <CONSIGNMENT-DEPARTURE TRANSPORT MEANS> is more than 1x THEN the iteration 2 and the iteration 3 (if present) of the data group <CONSIGNMENT-DEPARTURE TRANSPORT MEANS> must include <CONSIGNMENT-DEPARTURE TRANSPORT MEANS.Type of identification> that is EQUAL to ‘31’ ELSE IF the multiplicity of the data group <CONSIGNMENT-HOUSE CONSIGNMENT- DEPARTURE TRANSPORT MEANS> is more than 1x THEN the iteration 2 and the iteration 3 (if present) of the data group <CONSIGNMENT- HOUSE CONSIGNMENT-DEPARTURE TRANSPORT MEANS> must include <CONSIGNMENT-HOUSE CONSIGNMENT- DEPARTURE TRANSPORT MEANS.Type of identification> that is EQUAL to ‘31’

Technical Description

IF /*/Consignment/inlandModeOfTransport is EQUAL to ‘3’
THEN
IF the multiplicity of the data group /*/Consignment/DepartureTransportMeans is
more than 1x
THEN the iteration 2 and the iteration 3 (if present) of the data group
/*/Consignment/DepartureTransportMeans must include
/*/Consignment/DepartureTransportMeans/typeOfIdentification that is EQUAL to
‘31’
ELSE IF the multiplicity of the data group
/*/Consignment/HouseConsignment/DepartureTransportMeans is more than 1x
THEN the iteration 2 and the iteration 3 (if present) of the data group
/*/Consignment/HouseConsignment/DepartureTransportMeans must include
/*/Consignment/HouseConsignment/DepartureTransportMeans/typeOfIdentification
that is EQUAL to ‘31’

R0506

Functional Description

IF <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNOR> is PRESENT for all <CONSIGNMENT- HOUSE CONSIGNMENT> THEN at least one occurrence of <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNOR> must be different from the others; IF <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNEE> is PRESENT for all <CONSIGNMENT- HOUSE CONSIGNMENT> THEN at least one occurrence of <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNEE> must be different from the others; IF <CONSIGNMENT-HOUSE CONSIGNMENT-DEPARTURE TRANSPORT MEANS> is PRESENT for all <CONSIGNMENT-HOUSE CONSIGNMENT> THEN at least one occurrence of <CONSIGNMENT-HOUSE CONSIGNMENT-DEPARTURE TRANSPORT MEANS> must be different from the others; IF <CONSIGNMENT-HOUSE CONSIGNMENT- TRANSPORT CHARGES> is PRESENT for all <CONSIGNMENT-HOUSE CONSIGNMENT> THEN at least one occurrence of <CONSIGNMENT-HOUSE CONSIGNMENT- TRANSPORT CHARGES> must be different from the others; IF <CONSIGNMENT-HOUSE CONSIGNMENT.Reference number UCR> is PRESENT for all <CONSIGNMENT-HOUSE CONSIGNMENT> THEN at least one occurrence of <CONSIGNMENT-HOUSE CONSIGNMENT.Reference number UCR> must be different from the others; IF <CONSIGNMENT-HOUSE CONSIGNMENT.Country of destination> is PRESENT for all <CONSIGNMENT-HOUSE CONSIGNMENT> THEN at least one occurrence of <CONSIGNMENT-HOUSE CONSIGNMENT.Country of destination> must be different from the others; IF <CONSIGNMENT-HOUSE CONSIGNMENT.Country of dispatch> is PRESENT for all <CONSIGNMENT-HOUSE CONSIGNMENT> THEN at least one occurrence of <CONSIGNMENT-HOUSE CONSIGNMENT.Country of dispatch> must be different from the others.

Technical Description

IF /*/Consignment/HouseConsignment/Consignor is PRESENT for all
/*/Consignment/HouseConsignment/
THEN at least one occurrence of /*/Consignment/HouseConsignment/Consignor must be different from
the others;
IF /*/Consignment/HouseConsignment/Consignee is PRESENT for all
/*/Consignment/HouseConsignment/
THEN at least one occurrence of /*/Consignment/HouseConsignment/Consignee must be different
from the others;
IF /*/Consignment/HouseConsignment/DepartureTransportMeans is PRESENT for all
/*/Consignment/HouseConsignment
THEN at least one occurrence of /*/Consignment/HouseConsignment/DepartureTransportMeans must
be different from the others;
IF /*/Consignment/HouseConsignment/TransportCharges is PRESENT for all
/*/Consignment/HouseConsignment
THEN at least one occurrence of /*/Consignment/HouseConsignment/TransportCharges must be
different from the others;
IF /*/Consignment/HouseConsignment/referenceNumberUCR is PRESENT for all
/*/Consignment/HouseConsignment/
THEN at least one occurrence of /*/Consignment/HouseConsignment/referenceNumberUCR must be
different from the others;
IF /*/Consignment/HouseConsignment/countryOfDestination is PRESENT for all
/*/Consignment/HouseConsignment/
THEN at least one occurrence of /*/Consignment/HouseConsignment/countryOfDestination must be
different from the others;
IF /*/Consignment/HouseConsignment/countryOfDispatch is PRESENT for all
/*/Consignment/HouseConsignment/
THEN at least one occurrence of /*/Consignment/HouseConsignment/countryOfDispatch must be
different from the others.

R0507

Functional Description

IF <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM.Country of dispatch> is PRESENT for all <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM> THEN at least one occurrence of <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM.Country of dispatch> must be different from the others; IF <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM.Country of destination> is PRESENT for all <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM> THEN at least one occurrence of <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM.Country of destination> must be different from the others; IF <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM.Reference number UCR> is PRESENT for all <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM> THEN at least one occurrence of <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM.Reference number UCR> must be different from the others; IF <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM. Declaration type > is PRESENT for all <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM> THEN at least one occurrence of <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM.Declaration type> must be different from the others.

Technical Description

IF /*/Consignment/HouseConsignment/ConsignmentItem/countryOfDispatch is PRESENT for all
/*/Consignment/HouseConsignment/ConsignmentItem
THEN at least one occurrence of
/*/Consignment/HouseConsignment/ConsignmentItem/countryOfDispatch must be different from
the others;
IF /*/Consignment/HouseConsignment/ConsignmentItem/countryOfDestination is PRESENT for all
/*/Consignment/HouseConsignment/ConsignmentItem
THEN at least one occurrence of
/*/Consignment/HouseConsignment/ConsignmentItem/countryOfDestination must be different
from the others;
IF /*/Consignment/HouseConsignment/ConsignmentItem/referenceNumberUCR is PRESENT for all
/*/Consignment/HouseConsignment/ConsignmentItem
THEN at least one occurrence of
/*/Consignment/HouseConsignment/ConsignmentItem/referenceNumberUCR must be different
from the others;
IF /*/Consignment/HouseConsignment/ConsignmentItem/declarationType is PRESENT for all
/*/Consignment/HouseConsignment/ConsignmentItem
THEN at least one occurrence of
/*/Consignment/HouseConsignment/ConsignmentItem/declarationType must be different from the
others

R0520

Functional Description

IF ( the Data Item <TRANSIT OPERATION.Amendment type flag> is EQUAL to ‘1’ and the movement is in state “Guarantee under amendment”) (i.e. the message CC013C is used for amending the Guarantee previously declared while the movement is in state “Guarantee under amendment”) THEN the only difference between this CC013C and the CC015C (or the previous CC013C) shall be located in the Data Group <GUARANTEE> ELSE IF (the Data Item <TRANSIT OPERATION.Amendment type flag> is EQUAL to ‘0’ AND the movement IS NOT IN STATE “Guarantee under amendment”) THEN all Data Groups and Data Items of the original declaration can be amended, with the exception of the following Data Groups:

- <HOLDER OF THE TRANSIT PROCEDURE> - <REPRESENTATIVE> - <CUSTOMS OFFICE OF DEPARTURE> and the exception of the following Data Items:

- <TRANSIT OPERATION.Additional declaration type> - <TRANSIT OPERATION.Declaration type> - <TRANSIT OPERATION.MRN> - <TRANSIT OPERATION.LRN> - <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM-COMMODITY- COMMODITY CODE. Harmonized System sub-heading code> - <TRANSIT OPERATION.Security>

Technical Description

IF (the Data Item /CC013C/TransitOperation/amendmentTypeFlag is EQUAL to ‘1’ AND the movement
is in state “Guarantee under amendment”)
(i.e. the message CC013C is used for amending the Guarantee previously declared while the
movement is in state “Guarantee under amendment”)
THEN
the only difference between this CC013C and the CC015C (or the previous CC013C) shall be located
in the Data Group /*/Guarantee
ELSE
IF (the Data Item /*/TransitOperation/amendmentTypeFlag is EQUAL to ‘0’ AND the movement IS
NOT IN STATE “Guarantee under amendment”)
THEN
all Data Groups and Data Items of the original declaration can be amended, with the exception of
the following Data Groups:
- /*/HolderOfTheTransitProcedure
- /*/Representative
- /*/CustomsOfficeOfDeparture
and the exception of the following Data Items:
- /*/TransitOperation/additionalDeclarationType
- /*/TransitOperation/declarationType
- /*/TransitOperation/MRN
- /*/TransitOperation/LRN
- /*/Consignment/HouseConsignment/ConsignmentItem/Commodity/
CommodityCode/harmonizedSystemSubHeadingCode
- /*/TransitOperation/security

R0601

Functional Description

IF <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM-ADDITIONAL REFERENCE.Type> is in SET CL234 (DocumentTypeExcise) (i.e. Export of excise goods followed by transit (EMCS&AES+NCTS) THEN IF <CONSIGNMENT-HOUSE CONSIGNMENT-PREVIOUS DOCUMENT.Type> is EQUAL to ‘N830’ THEN IF <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM.Declaration type> is PRESENT THEN <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM.Declaration type> is EQUAL to ‘T1’ ELSE <TRANSIT OPERATION.Declaration type> is in SET {T1, TIR} ELSE IF <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM-SUPPORTING DOCUMENT.Type> is in SET CL234 (DocumentTypeExcise) (i.e. Transit movement of EU goods under excise suspension (EMCS+NCTS)) THEN IF <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM. Declaration type> is PRESENT THEN <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM.Declaration type> is in SET {T2, T2F} ELSE <TRANSIT OPERATION.Declaration type> is in SET {T2, T2F}

Technical Description

IF /*/Consignment/HouseConsignment/ConsignmentItem/AdditionalReference/type is in SET CL234
(DocumentTypeExcise)
(i.e. Export of excise goods followed by transit (EMCS&AES+NCTS))
THEN
IF /*/Consignment/HouseConsignment/PreviousDocument/type is EQUAL to ‘N830’
THEN
IF /*/Consignment/HouseConsignment/ConsignmentItem/declarationType is PRESENT
THEN /*/Consignment/HouseConsignment/ConsignmentItem/declarationType is EQUAL to ‘T1’
ELSE /*/TransitOperation/declarationType is in SET {T1, TIR}
ELSE
IF /*/Consignment/HouseConsignment/ConsignmentItem/SupportingDocument/type is in SET
CL234
(DocumentTypeExcise) (i.e. Transit movement of EU goods under excise suspension
(EMCS+NCTS))
THEN
IF /*/Consignment/HouseConsignment/ConsignmentItem/declarationType is PRESENT
THEN /*/Consignment/HouseConsignment/ConsignmentItem/declarationType is in SET {T2,
T2F}
ELSE /*/TransitOperation/declarationType is in SET {T2, T2F}

R0789

Functional Description

IF <CUSTOMS OFFICE OF TRANSIT (DECLARED)> is PRESENT THEN the multiplicity of <CONSIGNMENT-ACTIVE BORDER TRANSPORT MEANS> is up to 9x ELSE the multiplicity of <CONSIGNMENT-ACTIVE BORDER TRANSPORT MEANS> is 1x

Technical Description

IF/*/CustomsOfficeOfTransitDeclared is PRESENT
THEN the multiplicity of /*/Consignment/ActiveBorderTransportMeans is up to 9x
ELSE the multiplicity of /*/Consignment/ActiveBorderTransportMeans is 1x

R0790

Functional Description

IF (<CC015C-CUSTOMS OFFICE OF TRANSIT (DECLARED)> is PRESENT) THEN the multiplicity of <CC170C-CONSIGNMENT-ACTIVE BORDER TRANSPORT MEANS> is up to 9x ELSE IF (<CC013C-CUSTOMS OFFICE OF TRANSIT (DECLARED)> is PRESENT) THEN the multiplicity of <CC170C-CONSIGNMENT-ACTIVE BORDER TRANSPORT MEANS> is up to 9x ELSE the multiplicity of <CC170C-CONSIGNMENT-ACTIVE BORDER TRANSPORT MEANS> is 1x

Technical Description

IF (/CC015C/CustomsOfficeOfTransitDeclared is PRESENT)
THEN the multiplicity of /CC170C/Consignment/ActiveBorderTransportMeans is up to 9x
ELSE IF (/CC013C/CustomsOfficeOfTransitDeclared is PRESENT)
THEN the multiplicity of /CC170C/Consignment/ActiveBorderTransportMeans is up to 9x
ELSE the multiplicity of /CC170C/Consignment/ActiveBorderTransportMeans is 1x

R0840

Functional Description

Only a valid EORI or TCUIN shall be used. The EORI shall be validated only by EU MS. The TCUIN shall be validated by EU MS and by the country where the TCUIN is defined.

Technical Description

Only a valid EORI or TCUIN shall be used. The EORI shall be validated only by EU MS. The TCUIN
shall be validated by EU MS and by the country where the TCUIN is defined.

R0849

Functional Description

IF <TRANSIT OPERATION. Declaration Type> is EQUAL to ‘TIR’ THEN <TRANSIT OPERATION. Reduced Dataset Indicator> = “0”

Technical Description

IF /*/TransitOperation/declarationType is EQUAL to ‘TIR’
THEN /*/TransitOperation/reducedDatasetIndicator = “0”

R0850

Functional Description

IF sender is in EU (CL010 (CountryCodesCommunity)) THEN the value must be a valid EORI or TCUIN (validated by receiver, if located in EU), ELSE (sender is not in EU) the value must be a TIN number (validated by the message sender only). The EORI/TCUIN values shall comply with the following pattern: <xs:pattern value=“ [A-Z]{2}[\x21- \x7E]{1,15}”/>

Technical Description

IF sender is in EU (CL010)
THEN the value must be a valid EORI or TCUIN (validated by receiver, if located in EU),
ELSE (sender is not in EU) the value must be a TIN number (validated by the message sender only).
The EORI/TCUIN values shall comply with the following pattern: <xs:pattern value=“ [A-Z]{2}[\x21-
\x7E]{1,15}”/>

R0851

Functional Description

The Identification number can be validated if the Consignee is located in the same contracting party as the Recipient.

Technical Description

The Identification number can be validated if the Consignee is located in the same contracting party as
the Recipient.

R0855

Functional Description

IF <CONSIGNMENT.Inland mode of transport> is EQUAL to ‘3’ THEN the multiplicity of <CONSIGNMENT-DEPARTURE TRANSPORT MEANS> AND <CONSIGNMENT-HOUSE CONSIGNMENT-DEPARTURE TRANSPORT MEANS> can be up to ‘3x’ ELSE IF < CONSIGNMENT.Inland mode of transport> is EQUAL to ‘2’ THEN the multiplicity of < CONSIGNMENT-DEPARTURE TRANSPORT MEANS> AND <CONSIGNMENT-HOUSE CONSIGNMENT-DEPARTURE TRANSPORT MEANS> can be more than ‘1x’ ELSE the multiplicity of <CONSIGNMENT-DEPARTURE TRANSPORT MEANS> AND CONSIGNMENT-HOUSE CONSIGNMENT-DEPARTURE TRANSPORT MEANS> is ‘1x’

Technical Description

IF /*/Consignment/inlandModeOfTransport is EQUAL to ‘3’
THEN the multiplicity of /*/Consignment/DepartureTransportMeans AND
/*/Consignment/HouseConsignment/DepartureTransportMeans can be up to ‘3x’
ELSE IF /*/Consignment/inlandModeOfTransport is EQUAL to ‘2’
THEN the multiplicity of /*/Consignment/DepartureTransportMeans AND
/*/Consignment/HouseConsignment/DepartureTransportMeans can be more than ‘1x’
ELSE the multiplicity of /*/Consignment/DepartureTransportMeans AND
/*/Consignment/HouseConsignment/DepartureTransportMeans is ‘1x’

R0859

Functional Description

IF <TRANSIT OPERATION. Reduced Dataset Indicator> = “1” THEN at least one <AUTHORISATION. Type> is EQUAL to ‘C524’ ELSE <AUTHORISATION. Type> shall not be EQUAL to ‘C524’

Technical Description

IF /*/TransitOperation/reducedDatasetIndicator = “1”
THEN at least one /*/Authorisation/type is EQUAL to ‘C524’
ELSE /*/Authorisation/type shall not be EQUAL to ‘C524’

R0871

Functional Description

Reference number assigned must be equal to the one included in CD001C, CD003C, CC013C, CC015C, CD050C, CD115C, CD160C OR CD165C.

Technical Description

Reference number assigned must be equal to the one included in CD001C, CD003C, CC013C,
CC015C, CD050C, CD115C, CD160C OR CD165C.

R0900

Functional Description

IF <TRANSIT OPERATION.Declaration type> is EQUAL to ‘TIR’ THEN <GUARANTEE.Guarantee type> is EQUAL to ‘B’ ELSE IF the country code (first two characters) in the <CUSTOMS OFFICE OF DEPARTURE.Reference number> is in SET of CL010 (CountryCodesCommunity) OR is EQUAL to ‘SM’ OR is EQUAL to ‘AD’ THEN <GUARANTEE.Guarantee type> must be in SET CL230 (GuaranteeTypeEUNonTIR) ELSE <GUARANTEE.Guarantee type> must be in SET CL229 (GuaranteeTypeCTC)

Technical Description

IF /*/TransitOperation/declarationType is EQUAL to ‘TIR’
THEN /*/Guarantee/guaranteeType is EQUAL to ‘B’
ELSE IF the first two characters of /*/CustomsOfficeOfDeparture/referenceNumber is in SET CL010
OR is EQUAL to ‘SM’ OR is EQUAL to ‘AD’
THEN /*/Guarantee/guaranteeType must be in SET CL230
ELSE /*/Guarantee/guaranteeType must be in SET CL229

R0901

Functional Description

IF <TRANSIT OPERATION.Declaration type> is EQUAL to ‘TIR’ THEN the country code (first two characters) in the <CUSTOMS OFFICE OF DESTINATION (DECLARED).Reference number> is in SET CL010 (CountryCodesCommunity) AND the country code (first two characters) in the <CUSTOMS OFFICE OF DEPARTURE.Reference number > is in SET CL010 (CountryCodesCommunity).

Technical Description

IF /*/TransitOperation/declarationType is EQUAL to ‘TIR’
THEN the first two characters of /*/CustomsOfficeOfDestinationDeclared/referenceNumber is in SET
CL010
AND the first two characters of /*/CustomsOfficeOfDeparture/referenceNumber is in SET CL010

R0904

Functional Description

IF the country code (first two characters) in the <CUSTOMS OFFICE OF DEPARTURE.Reference number> is in SET {AD, SM} THEN the country code (first two characters) in the <CUSTOMS OFFICE OF DESTINATION (DECLARED).Reference number> is in SET CL553 (MSCountry)

Technical Description

IF the first two characters of /*/CustomsOfficeOfDeparture/referenceNumber is in SET {AD, SM}
THEN the first two characters of /*/CustomsOfficeOfDestinationDeclared/referenceNumber is in SET
CL553

R0905

Functional Description

IF the country code (first two characters) in the <CUSTOMS OFFICE OF DEPARTURE.Reference number> is in SET CL112 (CountryCodesCTC) THEN the country code (first two characters) in the <CUSTOMS OFFICE OF DESTINATION (DECLARED).Reference number> is NOT in SET {AD, SM}

Technical Description

IF the first two characters of /*/CustomsOfficeOfDeparture/referenceNumber is in SET CL112
THEN the two characters of /*/CustomsOfficeOfDestinationDeclared/referenceNumber is NOT in
SET{AD, SM}

R0906

Functional Description

IF the country code (first two characters) in the <CUSTOMS OFFICE OF DESTINATION (DECLARED).Reference number> is EQUAL to ‘AD’ THEN the country code (first two characters) in the <CUSTOMS OFFICE OF TRANSIT (DECLARED).Reference number> is EQUAL to ‘AD’; IF the country code (first two characters) in the <CUSTOMS OFFICE OF DESTINATION (DECLARED).Reference number> is EQUAL to ‘AD’ THEN the country code (first two characters) in the <CUSTOMS OFFICE OF TRANSIT (ACTUAL).Reference number> is EQUAL to ‘AD’

Technical Description

IF the first two characters of /*/CustomsOfficeOfDestinationDeclared/referenceNumber is EQUAL to
‘AD’
THEN the first two characters of /*/CustomsOfficeOfTransitDeclared/referenceNumber is EQUAL to
‘AD’;
IF the first two characters of /*/CustomsOfficeOfDestinationDeclared/referenceNumber is EQUAL to
‘AD’
THEN the first two characters of /*/CustomsOfficeOfTransitActual/referenceNumber is EQUAL to ‘AD’

R0909

Functional Description

IF the country code (first two characters) in the <CUSTOMS OFFICE OF DESTINATION (DECLARED) Reference number> is EQUAL to ‘SM’ THEN IF the country code (first two characters) in the <CUSTOMS OFFICE OF DEPARTURE.Reference number> is EQUAL to ‘IT’ THEN <TRANSIT OPERATION.Declaration type> is EQUAL to ‘T2SM’ ELSE IF the country code (first two characters) in the <CUSTOMS OFFICE OF DEPARTURE.Reference number> is in set CL010 (CountryCodesCommunity) AND NOT EQUAL to ‘IT’ THEN <TRANSIT OPERATION.Declaration type> is in SET {T2, T2F} OR <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM.Declaration type> is in SET {T2,T2F}; IF the country code (first two characters) in the <CUSTOMS OFFICE OF DESTINATION (ACTUAL) Reference number> is EQUAL to ‘SM’ THEN IF the country code (first two characters) in the <CUSTOMS OFFICE OF DEPARTURE.Reference number> is EQUAL to ‘IT’ THEN <TRANSIT OPERATION.Declaration type> is EQUAL to ‘T2SM’ ELSE IF the country code (first two characters) in the <CUSTOMS OFFICE OF DEPARTURE.Reference number> is in set CL010 (CountryCodesCommunity) AND NOT EQUAL to ‘IT’ THEN <TRANSIT OPERATION.Declaration type> is in SET {T2, T2F} OR <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM.Declaration type> is in SET {T2, T2F}

Technical Description

IF the first two characters of /*/CustomsOfficeOfDestinationDeclared/referenceNumber is EQUAL to
‘SM’
THEN
IF the first two characters of /*/CustomsOfficeOfDeparture/referenceNumber is EQUAL to ‘IT’,
THEN /*/TransitOperation/declarationType is EQUAL to ‘T2SM’
ELSE
IF the first two characters of /*/CustomsOfficeOfDeparture/referenceNumber is in SET
CL010
AND NOT EQUAL to ‘IT’
THEN /*/TransitOperation/declarationType is in SET {T2, T2F} OR
/*/Consignment/HouseConsignment/ConsignmentItem/declarationType is in SET {T2,
T2F};
IF the first two characters of /*/CustomsOfficeOfDestinationActual/referenceNumber is EQUAL to ‘SM’
THEN
IF the first two characters of /*/CustomsOfficeOfDeparture/referenceNumber is EQUAL to ‘IT’,
THEN /*/TransitOperation/declarationType is EQUAL to ‘T2SM’
ELSE
IF the first two characters of /*/CustomsOfficeOfDeparture/referenceNumber is in SET CL010
AND NOT EQUAL to ‘IT’
THEN /*/TransitOperation/declarationType is in SET {T2, T2F} OR
/*/Consignment/HouseConsignment/ConsignmentItem/declarationType is in SET {T2,
T2F}

R0910

Functional Description

IF <CC013C - AUTHORISATION.Type> is NOT EQUAL to ‘C521’ OR <CC015C - AUTHORISATION.Type> is NOT EQUAL to ‘C521’ THEN <CONTROL RESULT.Code> is in SET CL195 (ControlResultCodeDepartureSimplifiedExcluded)

Technical Description

IF /CC013C/Authorisation/type is NOT EQUAL to ‘C521’ OR
/CC015C/Authorisation/type is NOT EQUAL to ‘C521’
THEN /*/ControlResult/code is in SET CL195

R0911

Functional Description

IF the country code (first two characters) in the <CUSTOMS OFFICE OF DEPARTURE.Reference number> is EQUAL to ‘SM’ AND the country code (first two characters) in the <CUSTOMS OFFICE OF DESTINATION (DECLARED).Reference> is in SET CL010 (CountryCodesCommunity) THEN <TRANSIT OPERATION.Declaration type> is in SET {T2, T2F}; IF the country code (first two characters) in the <CUSTOMS OFFICE OF DEPARTURE.Reference number> is EQUAL to ‘SM’ AND the country code (first two characters) in the <CUSTOMS OFFICE OF DESTINATION (ACTUAL).Reference> is in SET CL010 (CountryCodesCommunity) THEN <TRANSIT OPERATION.Declaration type> is in SET {T2, T2F}

Technical Description

IF the first two characters of /*/CustomsOfficeOfDeparture/referenceNumber is EQUAL to ‘SM’ AND
the first two characters of /*/CustomsOfficeOfDestinationDeclared/referenceNumber is in SET
CL010
THEN /*/TransitOperation/declarationType is in SET {T2, T2F};
IF the first two characters of /*/CustomsOfficeOfDeparture/referenceNumber is EQUAL to ‘SM’ AND
the first two characters of /*/CustomsOfficeOfDestinationActual/referenceNumber is in SET
CL010
THEN /*/TransitOperation/declarationType is in SET {T2, T2F}

R0912

Functional Description

IF <TRANSIT OPERATION.Declaration type> is EQUAL to ‘TIR’ THEN <CONTROL RESULT.Code> is in SET CL195 (ControlResultCodeDepartureSimplifiedExcluded)

Technical Description

IF /*/TransitOperation/declarationType is EQUAL to ‘TIR’
THEN /*/ControlResult/code is in SET CL195

R0983

Functional Description

<CONSIGNMENT-HOUSE CONSIGNMENT.Gross mass> must be GREATER than OR EQUAL to the sum of <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM-COMMODITY-GOODS MEASURE.Gross mass> available for all Consignment Items included in that House Consignment

Technical Description

/*/Consignment/HouseConsignment/grossMass must be GREATER than OR EQUAL to the sum of
/*/Consignment/HouseConsignmentConsignmentItem/Commodity/GoodsMeasure/grossMass available
for all Consignment Items included in that House Consignment

R0987

Functional Description

Each <Sequence number> is unique for the Data Group it belongs to. The sequence numbers shall be sequential, starting from ‘1’ for the first iteration of the Data Group and increasing by ‘1’ for each iteration.

Technical Description

Each <Sequence number> is unique for the Data Group it belongs to. The sequence numbers shall be
sequential, starting from ‘1’ for the first iteration of the Data Group and increasing by ‘1’ for each
iteration.

R0988

Functional Description

Each < Goods item number> is unique for the Data Group it belongs to. The Goods item number shall be sequential, starting from ‘1’ for the first iteration of the Data Group and increasing by ‘1’ for each iteration.

Technical Description

Each < Goods item number> is unique for the Data Group it belongs to. The Goods item number shall
be sequential, starting from ‘1’ for the first iteration of the Data Group and increasing by ‘1’ for each
iteration.

R0990

Functional Description

The <TRANSIT OPERATION.TIR carnet number> must have the format an10 or an11 and must follow the algorithm defined by IRU, see DDNTA Main Document.

Technical Description

The /*/TransitOperation/TIRCarnetNumber must have the format an10 or an11 and must follow the
algorithm defined by IRU, see DDNTA Main Document.

R0994

Functional Description

The value of <CONSIGNMENT.Gross mass> must be GREATER than or EQUAL to the sum of <CONSIGNMENT-HOUSE CONSIGNMENT.Gross mass> for all house consignments.

Technical Description

The value of /*/Consignment/grossMass must be GREATER than or EQUAL to the sum of
/*/Consignment/HouseConsignment/grossMass for all house consignments.

R3060

Functional Description

IF <CONSIGNMENT.Country Of Destination> is in SET CL009 (CountryCodesCommonTransit) OR at least one <CONSIGNMENT-HOUSE CONSIGNMENT.Country of Destination> is in SET CL009 (CountryCodesCommonTransit) OR at least one < CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM.Country Of Destination> are in SET CL009 THEN <CONSIGNMENT-ADDITIONAL INFORMATION.Code> shall not be EQUAL to ‘30600’

Technical Description

IF /*/Consignment/countryOfDestination is in SET CL009
OR
at least one /*/Consignment/HouseConsignment/countryOfDestination is in SET CL009
OR at least one /*/Consignment/HouseConsignment/ConsignmentItem/countryOfDestination is in SET
CL009
THEN /*/Consignment/AdditionalInformation/code shall not be EQUAL to ‘30600’

R3061

Functional Description

The Data Item <CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM-ADDITIONAL INFORMATION.Code> shall not be EQUAL to ‘30600’

Technical Description

The Data Item /*/Consignment/HouseConsignment/ConsignmentItem/AdditionalInformation/code shall
not be EQUAL to ‘30600’

R3062

Functional Description

IF <CONSIGNMENT.Country Of Destination> is in SET CL009 OR at least one <CONSIGNMENT-HOUSE CONSIGNMENT.Country Of Destination> is in SET CL009 (CountryCodesCommonTransit) OR at least one < CONSIGNMENT-HOUSE CONSIGNMENT-CONSIGNMENT ITEM.Country Of Destination> are in SET CL009 THEN <CONSIGNMENT-HOUSE CONSIGNMENT- ADDITIONAL INFORMATION.Code> shall not be EQUAL to ‘30600’

Technical Description

IF /*/Consignment/countryOfDestination is in SET CL009
OR at least one /*/Consignment/HouseConsignment/countryOfDestination is in SET CL009
OR
at least one /*/Consignment/HouseConsignment/ConsignmentItem/countryOfDestination is in SET
CL009
THEN /*/Consignment/HouseConsignment/AdditionalInformation/code shall not be EQUAL to ‘30600’