List of rules

RULE B1803

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN C0211 attached to /*/GoodsShipment/Consignment/CountryOfRoutingOfConsignment shall be disabled 
AND /*/GoodsShipment/Consignment/CountryOfRoutingOfConsignment = "O"

RULE B1810

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN C0273 attached to
/*/GoodsShipment/natureOfTransaction
shall be disabled.

RULE B1816

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN R0855 attached to 
/*/GoodsShipment/Consignment/DepartureTransportMeans 
shall be disabled

RULE B1817

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN C0273 attached to /*/GoodsShipment/countryOfExport
shall be disabled
AND /*/GoodsShipment/countryOfExport = "O"

RULE B1818

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN C0890 attached to /*/GoodsShipment/Consignment/ActiveBorderTransportMeans shall be disabled 
AND /*/GoodsShipment/Consignment/ActiveBorderTransportMeans = "O"

RULE B1819

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN R0219 attached to
/*/GoodsShipment/GoodsItem/Packaging/numberOfPackages
shall be disabled

RULE B1838

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate> 
THEN C0503 attached to 
/*/GoodsShipment/countryOfDestination AND
/*/GoodsShipment/GoodsItem/countryOfDestination
shall be disabled 
AND /*/GoodsShipment/countryOfDestination = "O"

RULE B1846

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN R0840 attached to 
/*/GoodsShipment/Consignment/Consignee/identificationNumber AND
/*/GoodsShipment/GoodsItem/Consignee/identificationNumber
shall be disabled

RULE B1856

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN C0375 attached to
/*/GoodsShipment/natureOfTransaction shall be disabled.

RULE B1863

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN C0222 attached to /*/Consignment/Consignee
shall be disabled.

RULE B1864

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN C0853 attached to /*/Consignment/ConsignmentItem/Consignee
shall be disabled.

RULE B1867

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN C0281 attached to /*/Consignment/Consignor
shall be disabled.

RULE B1870

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN 
         IF/*/Consignment/Consignor is PRESENT
	 THEN /*/Consignment/ConsignmentItem/Consignor = "N"
	 ELSE /*/Consignment/ConsignmentItem/Consignor = "O"

RULE B1871

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN
         IF /*/GoodsShipment/GoodsItem/countryOfDestination for one goods item is in SET {CL063 - 'AD' - 'SM'}
         THEN /*/GoodsShipment/GoodsItem/countryOfDestination for all of goods items must be in SET {CL063 - 'AD' - 'SM'}

RULE B1872

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN
         IF /*/GoodsShipment/GoodsItem/countryOfDestination for one goods item is in SET {CL140 - 'QQ' - 'QR' - 'QV' + 'AD' + 'SM' +'DE' + 'IT'}
         THEN /*/GoodsShipment/GoodsItem/countryOfDestination for all of goods items must be in SET {CL140 - 'QQ' - 'QR' - 'QV' + 'AD' + 'SM' +'DE' + 'IT'}

RULE B1873

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN C0463 attached to
/*/GoodsShipment/GoodsItem/countryOfDestination
shall be disabled.

RULE B1878

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN C0283 attached to /*/GoodsShipment/Consignment/Consignee
shall be disabled.

RULE B1879

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN C0351 attached to /*/GoodsShipment/GoodsItem/Consignee
shall be disabled.

RULE B1884

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN 
          IF <GOODS SHIPMENT – CONSIGNMENT.Inland mode of transport> is EQUAL to ‘3’
          THEN the multiplicity of <GOODS SHIPMENT-CONSIGNMENT-DEPARTURE TRANSPORT MEANS> can be up to '3x'
          ELSE the multiplicity of <GOODS SHIPMENT-CONSIGNMENT-DEPARTURE TRANSPORT MEANS> is '1x'

RULE G0002

Description (EN)
XSD contains a non-standard regular expression for this data item.

RULE G0006

Description (EN)
Declaration goods item number is filled in with the item number of the goods concerned as provided in <GOODS SHIPMENT-GOODS ITEM-Declaration goods item number>.

RULE G0014

Description (EN)
Eastern longitude and Northern latitude will use the optional '+' sign.
Western longitude and Southern latitude will use the '-' sign.

RULE G0021

Description (EN)
A zero '0' is to be considered as a valid number in this field.

RULE G0033

Description (EN)
The Data Item <AUTHORISATION.Reference number> must be valid in CDMS/BOI/eBTI System.

RULE G0038

Description (EN)
The Header shall be included if the field <EXPORT OPERATION.MRN> or <EXPORT OPERATION.LRN> is PRESENT in the rejected message and can be included in the CC917C.

RULE G0039

Description (EN)
If the field <EXPORT OPERATION.LRN> is PRESENT in the rejected message, this Data Item shall be filled in.

RULE G0040

Description (EN)
If the field <TRANSIT OPERATION.MRN> is PRESENT in the rejected message, this Data Item shall be filled in.

RULE G0048

Description (EN)
This data group shall be filled in if only different from the DECLARANT.

RULE G0051

Description (EN)
When the <GOODS SHIPMENT-GOODS ITEM.Declaration goods item number> refers to Excise goods the Administrative Reference Code (ARC) and Unique Body Reference (UBR) shall be recorded under this data group.

RULE G0057

Description (EN)
Common Code List can be extended or restricted at national level. Purely national codes are not included in Common Domain messages.

RULE G0059

Description (EN)
Economic operators shall use only EORI number.

RULE G0065

Description (EN)
In case <EXPORT OPERATION.Security> is EQUAL to '2' AND sub-contracting is not involved then the data group must be filled in at goods item level or at header level (if the same Consignee is used for all goods items).

RULE G0066

Description (EN)
Centralised Clearance authorisations cannot be used in combination with <EXPORT OPERATION.Additional declaration type> in SET {B, E}.

RULE G0067

Description (EN)
Value 'Other' is not applicable (i.e. the value '18' is not valid) for <CC583C-ALTERNATIVE EVIDENCE.Type>.

RULE G0077

Description (EN)
In case sub-contracting is not involved then the data group must be filled in at goods item level or at header level (if the same Consignee is used for all goods items).

RULE G0087

Description (EN)
- Declaration related authorisation(s) shall be recorded under <AUTHORISATION>;
- Goods Item related authorisation(s) shall be recorded under <GOODS SHIPMENT-GOODS ITEM- AUTHORISATION>

RULE G0088

Description (EN)
When <GOODS SHIPMENT-CONSIGNMENT.Inland mode of transport> is EQUAL to '3', the identification number of the trailer(s) must also be provided (where applicable).

RULE G0089

Description (EN)
Data item <AUTHORISATION.Holder of authorisation> shall be filled in only in the case of an export declaration where there is a ‘BTI’ / ‘BOI’ authorisation for all goods items.

RULE G0103

Description (EN)
Each iteration of this data group shall include:
-Either the transport equipment information for the containerised goods with seals OR without seals with reference to those goods; 
-OR the transport equipment information for the non containerised but sealed goods (e.g. goods carried by truck with seals) with reference to those goods;
Note: the non containerised and unsealed goods shall not be recorded under this data group.

RULE G0105

Description (EN)
Information recorded under this data group is solely for communication purposes. No legal liabilities exist upon the specific contact person.

RULE G0106

Description (EN)
If the recorded value in <GOODS SHIPMENT-GOODS ITEM-COMMODITY-COMMODITY CODE.Harmonized system sub-heading code> is contained in  the MUST CN Code list then the corresponding Administrative Reference Code (ARC) and Unique Body Reference (UBR) must be recorded under <GOODS SHIPMENT-GOODS ITEM-PREVIOUS DOCUMENT.Reference number> and under <GOODS SHIPMENT-GOODS ITEM-PREVIOUS DOCUMENT.Goods item number> respectively.

RULE G0107

Description (EN)
-The gross mass generally must be indicated with a value greater than ‘0’ (zero value).
-The gross mass may only be given with a ‘0’ (zero value) if different types of goods items of the declaration are packed together in such a way that it is impossible to determine the gross mass for each individual item.

RULE G0108

Description (EN)
In the case of accompanying packaging of another goods item, its net mass must always be taken into account.

RULE G0112

Description (EN)
If IMO ship identification number (type ‘10’) exists for that ship, it must be used and the Name of the sea-going vessel (type ‘11’) shall not be used.

RULE G0121

Description (EN)
IF <DECLARANT> is different from <CONSIGNOR> AND <EXPORT OPERATION.Security> is EQUAL to '2'
THEN IF at least one instance of <CONSIGNOR> is different on Goods Items <CONSIGNOR> must be provided at Goods Item level 
ELSE (if it is the same <CONSIGNOR> for all goods items) <CONSIGNOR> must be provided at Consignment level

RULE G0122

Description (EN)
IF <DECLARANT> is different from <Consignor>
THEN <CONSIGNOR> must be provided at goods item level
ELSE <CONSIGNOR> must be provided at header level (if it is the same Consignor for all goods items).

RULE G0132

Description (EN)
The specific data item is of dual purpose: a) to be used so as to record the Unique Body Record (UBR) in case of excise goods; b) when excise goods are not concerned the data item is to be used as a writing off in case /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure is EQUAL to '31' (i.e. re-export procedure).

RULE G0133

Description (EN)
The specific data item is intended to be used in case /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure is EQUAL to '31' (i.e. re-export procedure).

RULE G0144

Description (EN)
The data in the IE corresponds always to the current (latest) version of the Transit/Export/Summary declaration operation data. This means that it contains the amended declaration data (if any) and/or the revised declaration data after a control (if any) and completed with the departure/export control results and entry/exit control results.

RULE G0154

Description (EN)
This attribute is used as a flag. 
The value '0' refers to ‘partial shipment’ and value '1' refers to ‘final shipment’.

RULE G0155

Description (EN)
Common Code List can be extended at national level with any of the values {R, U, V}. Codes {R, U, V} shall not be included in Common Domain messages.

RULE G0156

Description (EN)
Information on Actual Customs Office of Exit is to be provided if available or procurable.

RULE G0168

Description (EN)
This data group is only used when the message is sent in cases of CCE.

RULE G0187

Description (EN)
The SCO of the special procedure shall be registered if it is different from the Office of Export (independently whether the special procedure is combined with CCE or simplified declaration (SD)).
If CCE or SD are not combined with a special procedure, the SCO of CCE or SD is not needed in the export declaration.

RULE G0196

Description (EN)
This data group must contain the full transport equipment details and not only what is different compared to the data declared in the customs declaration.

RULE G0215

Description (EN)
IF the goods are subject to a TARIC measure in relation with a valid <GOODS SHIPMENT-GOODS ITEM-COMMODITY.CUS code>, this Data Item can be used.

RULE G0216

Description (EN)
This data group/data element can be provided to identify goods covered by a notification for re-exportation of goods under temporary storage where part of the goods covered by the declaration for temporary storage concerned are not re-exported.

RULE G0300

Description (EN)
The UN Number must be present if the commodity includes dangerous goods that are listed in the United Nations Dangerous Goods Code (UNDG).

RULE G0321

Description
This Data Item can take the value ’0’ (zero) in the following cases:
a. a document number is missing (i.e. it shall not be filled in with a dummy number);
b. the length of a document number exceeds the allowed 70 characters (i.e. it shall not be truncated).
A missing document reference number (due to the above or any other case) is not a valid reason for
the rejection of this message.

RULE G0330

Description (EN)
IF discrepancies exist for this D.G./D.I.
THEN this D.G./ D.I.= "R" and is used to report these discrepancies
ELSE this D.G./ D.I. = "N"

RULE G0332

Description (EN)
IF <Container indicator> is NOT PRESENT then data group <TRANSPORT EQUIPMENT> shall NOT be PRESENT, too. <Container indicator> functions as the governing data item for data group <TRANSPORT EQUIPMENT>.

RULE G0500

Description (EN)
The exact content of the CL326 (QualifierOfTheIdentification) is defined nationally, considering -for example -that only in some NAs the value 'T' must only be used in case “House number” and “Postcode” or only “Postcode” define an exact and unique location.

RULE G0511

Description (EN)
The LRN of the recapitulative supplementary declaration is used as the unique identifier of that declaration. 
In case of additional declaration type is 'U' (for a supplementary recapitulative declaration of simplified declarations covered by C and F) this LRN is not the same as the LRN of the simplified declaration. 

RULE G0518

Description (EN)
When the <Additional declaration type> is ‘U’, the MRN declared as Previous Document (GOODS SHIPMENT-PREVIOUS DOCUMENT.Reference number) in the Supplementary Declaration must be the MRN of the Simplified Declaration.

RULE G0520

Description (EN)
IF <IE507-EXPORT OPERATION.Storing flag> is EQUAL to ‘1’
THEN first iteration of this D.G. shall be used to declare the location where the goods are available for controls while the other iterations of this D.G. shall be used to declare the location where the goods will be stored before exit.

RULE G0521

Description (EN)
IF <IE507-EXPORT OPERATION.Storing flag> is EQUAL to ‘1’
THEN in case where the storing location is different to the location where goods shall be presented for control, value ‘V’ shall not be used for D.I. <IE507-EXPORT OPERATION-GOODS SHIPMENT-CONSIGNMENT-LOCATION OF GOODS.Qualifier of identification> in the second iteration of D.G. < IE507-EXPORT OPERATION-GOODS SHIPMENT-CONSIGNMENT-LOCATION OF GOODS>.

RULE G0550

Description (EN)
IF <Decisive Date> is GREATER than <TPendDate> THEN 
only value ‘2’ shall be used for the cases of Centralised Clearance.

RULE G0670

Description (EN)
If all goods items are related a single container, the data group can be omitted.
Otherwise all the goods items related to this container (if present) must be declared.
All the non-containerised goods items related to this seals information (if present) must be declared as well.

RULE G0671

Description (EN)
If all goods items are related to a single container, the data group can be omitted. Otherwise all the goods items related to this container must be declared.

RULE G0825

Description (EN)
- Goods Shipment related information shall be recorded under
<GOODS SHIPMENT-PREVIOUS DOCUMENT>
<GOODS SHIPMENT-SUPPORTING DOCUMENT>
<GOODS SHIPMENT-ADDITIONAL REFERENCE>
<GOODS SHIPMENT-ADDITIONAL INFORMATION>
<GOODS SHIPMENT-ADDITIONAL SUPPLY CHAIN ACTOR>

- Goods Item related information shall be recorded under
<GOODS SHIPMENT-GOODS ITEM-PREVIOUS DOCUMENT>
<GOODS SHIPMENT-GOODS ITEM-SUPPORTING DOCUMENT>
<GOODS SHIPMENT-GOODS ITEM-ADDITIONAL REFERENCE>
<GOODS SHIPMENT-GOODS ITEM-ADDITIONAL INFORMATION>
<GOODS SHIPMENT-GOODS ITEM-ADDITIONAL SUPPLY CHAIN ACTOR>

- Consignment related information shall be recorded under
<CONSIGNMENT-PREVIOUS DOCUMENT>
<CONSIGNMENT-SUPPORTING DOCUMENT>
<CONSIGNMENT-ADDITIONAL REFERENCE>
<CONSIGNMENT-ADDITIONAL INFORMATION>
<CONSIGNMENT-ADDITIONAL SUPPLY CHAIN ACTOR>

- Consignment Item related information shall be recorded under
<CONSIGNMENT-CONSIGNMENT ITEM-ADDITIONAL SUPPLY CHAIN ACTOR>
<CONSIGNMENT-CONSIGNMENT ITEM-PREVIOUS DOCUMENT>
<CONSIGNMENT-CONSIGNMENT ITEM-SUPPORTING DOCUMENT>
<CONSIGNMENT-CONSIGNMENT ITEM-ADDITIONAL REFERENCE>
<CONSIGNMENT-CONSIGNMENT ITEM-ADDITIONAL INFORMATION>

RULE G0878

Description (EN)
The statistical value is expressed in the currency unit described in data element 'Internal Currency Unit' or in absence of such a code, in the currency of the MS where the export formalities are completed, in accordance with the EU provisions in force.

RULE G0999

Description (EN)
The format is defined as 'n..5', but the maximum value for AES is '999' as defined in the XSD pattern, taking into account the multiplicity '999x' of the Data Group.

RULE GN001

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN this element is optional.

RULE R0007

Description (EN)
Each /*/GoodsShipment/GoodsItem/declarationGoodsItemNumber is unique throughout the declaration. The items shall be numbered in a sequential fashion, starting from '1' for the first item and incrementing the numbering by '1' for each following item.

RULE R0021

Description (EN)
A zero '0' is to be considered as a valid number in this field.

RULE R0028

Description (EN)
The structure of this Data Item is validated as specified in DDCOM. The check digit must follow the ISO 6346 standard. (Country code validated in CL170)

RULE R0054

Description (EN)
IF one of more discrepancy(ies) is(are) identified in this Data Group THEN:
- ‘Declaration goods item number’ / 'Sequence number' is always used
- Excess goods items shall not be reported.
 
Numbering of items:
IF one of more discrepancy(ies) is(are) identified in this Data Group THEN:
- the 'Declaration goods item number'/'Sequence number' shall be unique AND EQUAL to the 'Declaration goods item number'/'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, allowing the optionality constraints defined in the declaration.
 
IF a Goods Item is missing OR the information related to a Data Group is missing THEN:
   - 'Declaration goods item number'/'Sequence number' shall be unique AND EQUAL to the 'Declaration goods item number'/'Sequence number' (as defined in the declaration, but missing during control) and the rest of the Data Items contained in the Data Group and all sub–Data Groups shall not be filled in.
   
Note: The ‘Declaration goods item number'/'Sequence number' is unique if the XPath (without the last DG’s predicate, i.e. the last DG’s occurrence number included in “[]”) and the value of the 'Declaration goods item number'/'Sequence number' are unique in this message.

RULE R0076

Description (EN)
IF /*/GoodsShipment/Consigment/ActiveBorderTransportMeans/typeofIdentification is in SET {10,21,30,40,41,80}
THEN /*/GoodsShipment/Consignment/ActiveBorderTransportMeans/IdentificationNumber shall not contain lowercase letters.

RULE R0201

Description (EN)
IF /*/GoodsShipment/GoodsItem/Consignor is PRESENT for all /*/GoodsShipment/GoodsItem
THEN at least one occurrence of /*/GoodsShipment/GoodsItem/Consignor must be different from the others;
IF /*/Consignment/ConsignmentItem/Consignor is PRESENT for all /*/Consignment/ConsignmentItem
THEN at least one occurrence of /*/Consignment/ConsignmentItem/Consignor must be different from the others;
IF /*/ GoodsShipment/GoodsItem/Consignee is PRESENT for all /*/GoodsShipment/GoodsItem
THEN at least one occurrence of /*/GoodsShipment/GoodsItem/Consignee must be different from the others;
IF /*/Consignment/ConsignmentItem/Consignee is PRESENT for all /*/Consignment/ConsignmentItem
THEN at least one occurrence of /*/Consignment/ConsignmentItem/Consignee must be different from the others;
IF /*/ GoodsShipment/GoodsItem/TransportCharges is PRESENT for all /*/GoodsShipment/GoodsItem
THEN at least one occurrence of /*/ GoodsShipment/GoodsItem/TransportCharges must be different from the others;
IF /*/Consignment/ConsignmentItem/TransportCharges is PRESENT for all /*/Consignment/ConsignmentItem
THEN at least one occurrence of /*/Consignment/ConsignmentItem/TransportCharges must be different from the others;
IF /*/ GoodsShipment/GoodsItem/countryOfExport is PRESENT for all /*/GoodsShipment/GoodsItem
THEN at least one occurrence of /*/ GoodsShipment/GoodsItem/countryOfExport must be different from the others;
IF /*/ GoodsShipment/GoodsItem/countryOfDestination is PRESENT for all /*/GoodsShipment/GoodsItem
THEN at least one occurrence of /*/ GoodsShipment/GoodsItem/countryOfDestination must be different from the others;
IF /*/ GoodsShipment/GoodsItem/referenceNumberUCR is PRESENT for all /*/GoodsShipment/GoodsItem
THEN at least one occurrence of /*/ GoodsShipment/GoodsItem/referenceNumberUCR must be different from the others;
IF /*/Consignment/ConsignmentItem/referenceNumberUCR is PRESENT for all /*/Consignment/ConsignmentItem
THEN at least one occurrence of /*/Consignment/ConsignmentItem/referenceNumberUCR must be different from the others;
IF /*/ GoodsShipment/GoodsItem/natureOfTransaction is PRESENT for all /*/GoodsShipment/GoodsItem
THEN at least one occurrence of /*/ GoodsShipment/GoodsItem/natureOfTransaction must be different from the others

RULE R0219

Description (EN)
IF /*/GoodsShipment/GoodsItem/Packaging/numberOfPackages is EQUAL to '0' (zero value)
THEN no further data group /*/GoodsShipment/GoodsItem/Packaging with a value not equal to "0" (zero value) in the data item /*/GoodsShipment/GoodsItem/Packaging/numberOfPackages is specified for this data group /*/GoodsShipment/GoodsItem;
IF /*/Consignment/ConsignmentItem/Packaging/numberOfPackages is EQUAL to '0' (zero value)
THEN no further data group /*/Consignment/ConsignmentItem/Packaging with a value not equal to "0" (zero value) in the data item /*/Consignment/ConsignmentItem/Packaging/numberOfPackages is specified for this data group /*/Consignment/ConsignmentItem.

RULE R0220

Description (EN)
IF /*/GoodsShipment/GoodsItem/Packaging/numberOfPackages is EQUAL to '0' (zero value)
THEN /*/GoodsShipment/GoodsItem/Packaging/typeOfPackages shall not be in SET CL182 for this data group /*/GoodsShipment/GoodsItem;
IF /*/Consignment/ConsignmentItem/Packaging/numberOfPackages is EQUAL to '0' (zero value)
THEN /*/Consignment/ConsignmentItem/Packaging/typeOfPackages shall not be in SET CL182 for this data group /*/Consignment/ConsignmentItem.

RULE R0221

Description (EN)
IF there is at least one goods item with value not EQUAL to zero for /*/GoodsShipment/GoodsItem/Commodity/GoodsMeasure/grossMass
THEN for the rest of the goods items the zero value can be indicated for /*/GoodsShipment/GoodsItem/Commodity/GoodsMeasure/grossMass;
IF there is at least one goods item with value not EQUAL to zero for /*/Consignment/ConsignmentItem/Commodity/GoodsMeasure/grossMass
THEN for the rest of the goods items the zero value can be indicated for /*/Consignment/ConsignmentItem/Commodity/GoodsMeasure/grossMass.

RULE R0222

Description (EN)
IF /*/GoodsShipment/GoodsItem/Packaging/numberOfPackages is EQUAL to '0' (zero value)
THEN /*/GoodsShipment/GoodsItem/Commodity/GoodsMeasure/grossMass is EQUAL to '0' (zero value);
IF /*/Consignment/ConsignmentItem/Packaging/numberOfPackages is EQUAL to '0' (zero value)
THEN /*/Consignment/ConsignmentItem/Commodity/GoodsMeasure/grossMass is EQUAL to '0' (zero value).

RULE R0223

Description (EN)
IF /*/GoodsShipment/GoodsItem/Commodity/GoodsMeasure/grossMass is GREATER THAN '0' (zero value)
THEN /*/GoodsShipment/GoodsItem/Commodity/GoodsMeasure/netMass must be LESS THAN OR EQUAL to /*/GoodsShipment/GoodsItem/Commodity/GoodsMeasure/grossMass

RULE R0224

Description (EN)
The sum of /*/GoodsShipment/GoodsItem/Commodity/GoodsMeasure/grossMass for all goods items must not be less than the sum of /*/GoodsShipment/GoodsItem/Commodity/GoodsMeasure/netMass for all goods items.

RULE R0231

Description (EN)
IF /CC547C/ManifestItem/TransportDocumentData/CustomsData/numberOfPackages is EQUAL to ‘0’
THEN at least one /CC547C/ManifestItem/TransportDocumentData/CustomsData must exist with the same /CC547C/ManifestItem/TransportDocumentData/CustomsData/MRN having a value GREATER than ‘0’.

RULE R0232

Description (EN)
The value of /CC547C/ManifestItem/TransportDocumentData/grossMass must be greater or equal to the sum of CC547C/ManifestItem/TransportDocumentData/CustomsData/grossMass for all /CC547C/ManifestItem/TransportDocumentData/CustomsData.

RULE R0233

Description (EN)
The value of /CC547C/ManifestItem/TransportDocumentData/numberOfPackages must be greater or equal to the sum of /CC547C/ManifestItem/TransportDocumentData/CustomsData/numberOfPackages for all /CC547C/ManifestItem/TransportDocumentData/CustomsData.

RULE R0364

Description (EN)
IF /*/GoodsShipment/GoodsItem/Packaging/numberOfPackages is EQUAL to ‘0’ (zero)
THEN at least one other /*/GoodsShipment/GoodsItem must exist with (the same
/*/GoodsShipment/GoodsItem/Packaging/Packaging/shippingMarks AND
with /*/GoodsShipment/GoodsItem/Packaging/numberOfPackages having a value GREATER than ‘0’ (zero) AND /*/GoodsShipment/GoodsItem/Packaging/typeOfPackages having a value NOT IN SET {CL181, CL182});
IF /*/Consignment/ConsignmentItem/Packaging/numberOfPackages is EQUAL to ‘0’ (zero)
THEN at least one other /*/Consignment/ConsignmentItem must exist with (the same
/*/Consignment/ConsignmentItem/Packaging/Packaging/shippingMarks AND
with /*/Consignment/ConsignmentItem/Packaging/numberOfPackages having a value GREATER than ‘0’ (zero) AND /*/Consignment/ConsignmentItem/Packaging/typeOfPackages having a value NOT IN SET {CL181, CL182});
IF /CC547C/ManifestItem/TransportDocumentData/numberOfPackages is EQUAL to ‘0’ (zero)
THEN at least one other /CC547C/ManifestItem/TransportDocumentData must exist with (the same /CC547C/ManifestItem/TransportDocumentData/shippingMarks AND
with /CC547C/ManifestItem/TransportDocumentData/numberOfPackages having a value GREATER than ‘0’ (zero)AND /CC547C/ManifestItem/TransportDocumentData/typeOfPackages having a value NOT IN SET {CL181, CL182})

RULE R0408

Description (EN)
The 17th character of MRN must be ‘C’.

RULE R0409

Description (EN)
The 17th character of MRN must be ‘D’.

RULE R0414

Description (EN)
When /*/GoodsShipment/GoodsItem/PreviousDocument/type is EQUAL to 'C651' the Administrative Reference Code (ARC) shall be recorded in this field.

RULE R0417

Description (EN)
IF /*/GoodsShipment/GoodsItem/PreviousDocument/type is in SET {C651, C658}
THEN the value recorded for the same 'Declaration goods item number' in /*/GoodsShipment/GoodsItem/harmonizedSystemSubHeadingCode must be contained in the MUST CN Code list.

RULE R0448

Description (EN)
IF /*/Consignment/TransportEquipment/containerIdentificationNumber is NOT PRESENT
THEN the R0021 is not applicable (i.e. the value '0' is not valid) for
/*/Consignment/TransportEquipment/numberOfSeals;

IF /*/GoodsShipment/Consignment/TransportEquipment/containerIdentificationNumber is NOT PRESENT
THEN the R0021 is not applicable (i.e the value '0' is not valid) for /*/GoodsShipment/Consignment/TransportEquipment/numberOfSeals

RULE R0472

Description (EN)
IF /*/GoodsShipment/Consignment/inlandModeOfTransport is in SET {1,2,3,4,8} 
THEN the first digit of /*/GoodsShipment/Consignment/DepartureTransportMeans/typeOfIdentification 
shall be EQUAL to /*/GoodsShipment/Consignment/inlandModeOfTransport

RULE R0473

Description (EN)
IF /*/GoodsShipment/Consigment/DepartureTransportMeans/typeofIdentification is in SET {10,20,21,30,31,40,41,80}
THEN /*/GoodsShipment/Consignment/DepartureTransportMeans/IdentificationNumber shall not contain lowercase letters

RULE R0475

Description (EN)
IF /*/GoodsShipment/Consignment/modeOfTransportAtTheBorder is in SET {1,2,3,4,8} 
THEN the first digit of /*/GoodsShipment/Consignment/ActiveBorderTransportMeans/typeOfIdentification 
shall be EQUAL to /*/GoodsShipment/Consignment/modeOfTransportAtTheBorder

RULE R0555

Description (EN)
IF /CC583C/ExportOperation/enquiryInformationCode is EQUAL to '2' 
THEN /CC583C/ExportOperation/exitDate is GREATER than the system date 
ELSE /CC583C/ExportOperation/exitDate is LESS than OR EQUAL to the system date

RULE R0557

Description (EN)
When CC582C has not been transmitted by NECA, then ONLY values '3' or '4' are valid for this field else value '3' is not valid for this field.

RULE R0560

Description (EN)
IF one of more discrepancy(ies) is(are) identified in this Data Group THEN:
- ‘Declaration goods item number’ / 'Sequence number' is always used
- Excess goods items can be reported.
Numbering of items:
IF one of more discrepancy(ies) is(are) identified in this Data Group THEN:
- the 'Declaration goods item number'/'Sequence number' shall be unique AND EQUAL to the 'Declaration goods item number'/'Sequence number' of the Data Group defined in the declaration for which the discrepancy is reported;
IF a new Data Group/Goods Item is identified THEN:
   - the 'Declaration goods item number'/'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, allowing the optionality constraints defined in the declaration.
IF a Goods Item is missing OR the information related to a Data Group is missing THEN:
   - 'Declaration goods item number'/'Sequence number' shall be unique AND EQUAL to the
'Declaration goods item number'/'Sequence number' (as defined in the declaration, but missing during control) and the rest of the Data Items contained in the Data Group and all sub–Data Groups shall not be filled in.
Note: The ‘Declaration goods item number'/'Sequence number' is unique if the XPath (without the last DG’s predicate, i.e. the last DG’s occurrence number included in “[]”) and the value of the 'Declaration goods item number'/'Sequence number' are unique in this message.

RULE R0676

Description (EN)
IF /*/CustomsOfficeOfPresentation is PRESENT
THEN at least one iteration of /*/Authorisation/type is EQUAL to ’C513’

RULE R0677

Description (EN)
IF /*/ExportOperation/additionalDeclarationType> is in SET {C, F}
THEN at least one iteration of /*/Authorisation/type is EQUAL to ’C512’

RULE R0679

Description (EN)
IF /*/Authorisation/type is EQUAL to 'C626'
THEN /*/Authorisation/referenceNumber must be in eBTI 
ELSE IF /*/Authorisation/type is EQUAL to 'C627'
THEN /*/Authorisation/referenceNumber must be in National (BOI) system
ELSE /*/Authorisation/referenceNumber must be in CDMS or in the National Decision Management System AND shall belong either to /*/Exporter OR to /*/Declarant

RULE R0722

Description (EN)
The value of /CC590C/GoodsShipment/GoodsItem/Commodity/GoodsMeasure/grossMass must be LESS than the value declared in the Manifest Presentation /CC547C/ManifestItem/TtansportDocumentData/CustomsData/grosMass.

RULE R0817

Description (EN)
When /*/GoodsShipment/GoodsItem/PreviousDocument/type is in SET {C651, C658}, the Unique Body Reference (UBR) shall be recorded in this field.

RULE R0840

Description (EN)
For this DI only a valid EORI or TCUIN shall be used.

RULE R0855

Description (EN)
IF /*/Consignment/inlandModeOfTransport is EQUAL to ‘3’
THEN the multiplicity of /*/Consignment/DepartureTransportMeans can be up to '3x'
ELSE IF /*/Consignment/inlandModeOfTransport is EQUAL to ‘2’
THEN the multiplicity of /*/Consignment/DepartureTransportMeans can be more than '1x'
ELSE the multiplicity of /*/Consignment/DepartureTransportMeans is '1x'

RULE R0858

Description (EN)
IF /*/ExportOperation/transit is EQUAL to '1'
THEN /*/ExitControlResult/code is in SET {A1, A2, A4}
ELSE /*/ExitControlResult/code is in SET {A1, A2, A4, B1}

RULE R0883

Description (EN)
No amendment allowed for /*/Exporter
No amendment allowed for /*/Representative
No amendment allowed for /*/Declarant
No amendment allowed for /*/CustomsOfficeOfLodgement
No amendment allowed for /*/CustomsOfficeOfExport
No amendment allowed for /*/CustomsOfficeOfExitDeclared
No amendment allowed for /*/CustomsOfficeOfPresentation
No amendment allowed for /*/ExportOperation/MRN
No amendment allowed for /*/ExportOperation/LRN
No amendment allowed for /*/ExportOperation/declarationType
No amendment allowed for /*/ExportOperation/additionalDeclarationType
No amendment allowed for /*/ExportOperation/security

RULE R0887

Description (EN)
The /CC547C/ManifestItem/manifestItemNumber is the sequential number of the listed items in this message.

RULE R0893

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN /*/Representative/identificationNumber is NOT EQUAL to /*/Declarant/identificationNumber.

RULE R0894

Description (EN)
At most only one occurrence of PREVIOUS DOCUMENT.Type that is equal to 'C651'/’C658’ per goods item.

RULE R0921

Description (EN)
IF /*/ExportOperation/declarationType is EQUAL to 'CO'
THEN /*/GoodsShipment/countryOfDestination is in SET CL208
ELSE IF all iterations of  /*/GoodsShipment/GoodsItem contain a /Procedure/AdditionalProcedure/additionalProcedure being EQUAL to 'F61' 
        THEN /*/GoodsShipment/GoodsItem/countryOfDestination is in SET CL389
        ELSE /*/GoodsShipment/countryOfDestination is in SET CL207;

IF /*/ExportOperation/declarationType is EQUAL to 'CO'
THEN /*/GoodsShipment/GoodsItem/countryOfDestination is in SET CL208
ELSE IF any iteration of /*/GoodsShipment/GoodsItem/Procedure/AdditionalProcedure/additionalProcedure is EQUAL to 'F61'
        THEN /*/GoodsShipment/GoodsItem/countryOfDestination is in SET CL389
        ELSE /*/GoodsShipment/GoodsItem/countryOfDestination is in SET CL207

RULE R0940

Description (EN)
For this D.I. only a valid EORI or ad hoc number shall be used.

RULE R0987

Description (EN)
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.

RULE R0992

Description (EN)
 IF /*/ExportOperation/declarationType is EQUAL to 'CO' 
THEN /*/GoodsShipment/GoodsItem/Procedure/AdditionalProcedure/additionalProcedure is NOT EQUAL to 'F61'  

RULE R0994

Description (EN)
The value of /*/GoodsShipment/Consignment/grossMass must be GREATER OR EQUAL to the sum of /*/GoodsShipment/GoodsItem/Commodity/GoodsMeasure/grossMass for all Goods Items.;

The value of /*/Consignment/grossMass must be GREATER OR EQUAL to the sum of /*/Consignment/ConsignmentItem/Commodity/GoodsMeasure/grossMass for all Goods Items.

RULE R0995

Description (EN)
For this data item only an EORI number is valid.

RULE R0996

Description (EN)
IF /*/ExportOperation/declarationType is EQUAL to 'EX'
THEN /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure must be in SET {10, 11, 21, 22, 23, 31}
ELSE /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure must be in SET {10, 76, 77}

RULE R0997

Description (EN)
IF /CC515C/CustomsOfficeOfPresentation is PRESENT //Centralise Clearance
THEN /*/GoodsShipment/GoodsIem/requestedProcedure shall be the same for all goods items 
ELSE 
IF /*/ExportOperation/declarationType is EQUAL to 'EX' AND at least one iteration of /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure is in SET {10, 11, 23, 31}
THEN all iterations of /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure must be in SET {10, 11, 23, 31}
ELSE IF /*/ExportOperation/declarationType is EQUAL to 'EX' AND at least one iteration of /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure is in SET {21, 22}
THEN all iterations of /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure must be in SET {21, 22}
ELSE IF /*/ExportOperation/declarationType is EQUAL to 'CO' AND at least one iteration of /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure is in SET {76, 77}
THEN all iterations of /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure must be in SET {76, 77}
ELSE IF /*/ExportOperation/declarationType is EQUAL to 'CO' AND at least one iteration of /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure is EQUAL to '10' 
THEN all iterations of /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure must be EQUAL to '10'

RULE RN001

Description (EN)
Authorisation for communication with Customs office of export, which was filled into Envelope, 
must correspond with Declarant/Representative (in case of direct representation) 
and Customs office of export.

RULE RN001I

Description (EN)
Authorisation for communication with Customs office of export, which was filled into Envelope, 
must correspond with Declarant/Representative (in case of direct representation) 
and Customs office of export.

RULE RN001X

Description (EN)
Authorisation for communication with Customs office of exit, which was filled into Envelope, 
must correspond with the subject confirming exit and Customs office of exit.

RULE RN002

Description (EN)
If in envelope of message is specified the element MRN, then the value of this element must be the same like value in the element MRN in group Header of message.

RULE RN003

Description (EN)
If */GoodsShipment/AdditionalReference/type is EQUAL to "Povolení investičního celku"
THEN this field can to be EQUAL to "Konečná zásilka investičního celku"
ELSE this field mus not to be EQUAL to "Konečná zásilka investičního celku"

RULE RN004

Description (EN)
IF  /*/GoodsShipment/GoodsItem/AdditionalInformation/code is EQUAL '00100'
THEN /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure is in SET {21, 22}

RULE RN005

Description (EN)
IF /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure is in SET {21, 22} and /*/GoodsShipment/GoodsItem/AdditionalInformation/code is NOT EQUAL '00100'
THEN /*/Authorisation/type is EQUAL to ’C019’

RULE RN006

Description (EN)
The actual departure date and time must not be greater than the current date and time.

RULE RN007

Description (EN)
The date of the invalidation request must not be less than the date of the manifest submission and greater than the current date and time.

RULE RN008

Description (EN)
The local authority identificationNumber element on output must be the same in messages CC547C, CC545C and CC549C.

RULE RN009

Description (EN)
Only CZ referenceNumber can be filled.

RULE RN010

Description (EN)
The value of the "referenceNumber" element in CC545C and CC549C must be identical to the value that was given in the CC547C message.

RULE RN011

Description (EN)
The value of the "referenceNumber" element in the CC572C must be identical to the value that was given in the CC507C message.

RULE RN012

Description (EN)
The "identification Number" of the participating local authority at the exit must be in CC507C messages.

RULE RN013

Description (EN)
The given element can only contain the customs department of the current CO.

RULE RN020

Description (EN)
There are allowed only bellow combination of value in Date Items /*/LocationOfGoods/typeOfLocation and /*/LocationOfGoods/qualifierOfIdentification: AV,BY,CY and DZ

RULE RN021

Description (EN)
IF authorisation type C512, C513 or C514 is used 
THEN the data element "Type of location" MUST contain the value "B"

RULE RN022

Description (EN)
There are allowed only bellow combination of value in Date Items /*/LocationOfGoods/typeOfLocation and /*/LocationOfGoods/qualifierOfIdentification: AV,BY,CY and DZ

RULE RN023

Description (EN)
There are allowed only bellow combination of value in Date Items /*/LocationOfGoods/typeOfLocation and /*/LocationOfGoods/qualifierOfIdentification: AV,BY,CY and DZ

RULE RN024

Description (EN)
IF exists *Message/GoodsShipment/AdditionalReference group or *Message/GoodsShipment/GoodsItem/AdditionalReference group
with element type from [Y022,Y023,Y024,Y025,Y027,Y028,Y029],
THEN element referenceNumber of this group must contain a valid AEO certificate number in line with value of element type:
Y022 = AEO certificate of Consignor or Exporter
Y023 = AEO certificate of Consignee
Y024 = AEO certificate of Declarant
Y025 = AEO certificate of Representative
Y027 = AEO certificate of AdditionalSupplyChainActor with role = WH
Y028 = AEO certificate of Carrier
Y029 = AEO certificate of AdditionalSupplyChainActor with role other then WH

RULE RN025

Description (EN)
Only licence not to verify can be used in /GoodsShipment/SupportingDocument/

RULE RN026

Description (EN)
One of the groups Representative and RepresentativeAtLodgement can be used at the same time

RULE RN028

Description (EN)
IF MRN is non CZ THEN element /ExportOperation/messageSentToCOExit must be TRUE.
ELSE IF MRN is CZ AND CustomsOfficeOfExitDeclared is non CZ THEN element /ExportOperation/messageSentToCOExit must be FALSE
ELSE element /ExportOperation/messageSentToCOExit is OPTIONAL

RULE RN030

Description (EN)
Value "Y026" not allowed for 
/*/GoodsShipment/AdditionalReference/type
/*/GoodsShipment/GoodsItem/AdditionalReference/type
/*/Consignment/AdditionalReference/type
/*/Consignment/ConsignmentItem/AdditionalReference/type

RULE RN031

Description (EN)
Value of element can be '1' if declaration is in state PreviousDocumentAmend

RULE RN032

Description (EN)
IF element "type" = "NMRN, THEN element "referenceNumber" must be in a valid MRN format.

RULE RN034

Description (EN)
Document for write off from customs warehouse must be unique on goods item

RULE RN036

Description (EN)
Only one document for write off from EMCS (type C651, C658) can be filled in one Goods Item. 

RULE RN038

Description (EN)
For write off from EMCS (type C651, C658), the measurementUnitTypeAndQualifier value must match the equivalent of value from codelist MJAAD (KGM, LTR, MIL,…).

RULE RN039

Description (EN)
For write off from EMCS (type C651, C658), the harmonizedSystemSubHeadingCode must be from codelist KN_S

RULE RN040

Description (EN)
The value must be valid MRN

RULE RN041

Description (EN)
Simplified declaration exists

RULE RN042

Description (EN)
Supplementary declaration can't change this D.G./ element

RULE RN044_T1

Description (EN)
IF element „customsStatus“ is equal to "T1" AND value of element "par245" is not 1
THEN exactly one of elements "MRN" or "LRN_ETD" MUST be provided

RULE RN044_TD

Description (EN)
IF element „customsStatus“ is equal to "TD" AND value of element "par245" is not 1
THEN exactly one of elements "MRN" or "LRN_ETD" or "auxiliaryEvidence" MUST be provided

RULE RN044_X

Description (EN)
IF element „customsStatus“ is equal to "X" AND departure airport code is one of Czech international airports (PRG, BRQ, KLV, OSR, PED, JCL) AND value of element "par245" is not 1
THEN exactly one of elements "MRN" or "auxiliaryEvidence" MUST be provided

RULE RN045

Description (EN)
Combination of values of elements "MRN" and "goodShipmentNumber" must be unique in context of one group "TransportDocumentData".

RULE RN046

Description (EN)
Value of element "LRN_ETD" must be unique in context of one group "TransportDocumentData".

RULE RN047

Description (EN)
Sum of all gross masses in D.G. "Manifest Item" must be equal to total gross mass at level "Consignment".

RULE RN0475

Description (EN)
IF /*/GoodsShipment/Consignment/modeOfTransportAtTheBorder is in SET {1,2,3,4,8} 
THEN the first digit of /*/GoodsShipment/Consignment/ActiveBorderTransportMeans/typeOfIdentification 
shall be EQUAL to /*/GoodsShipment/Consignment/modeOfTransportAtTheBorder OR to CD501C/GoodsShipment/Consignment/modeOfTransportAtTheBorder the element is empty in this message

RULE RN048

Description (EN)
The description of the goods must correspond to the tariff classification of the goods, and therefore must contain at least one word derived from the base of the word listed in the OBLPOPIS_V codelist and from each group of words listed in the OBLPOPIS_V codelist from the more general CN to the most precisely determined CN.

RULE RN049

Description (EN)
The description of the goods must correspond to the tariff classification of the goods, and therefore must contain a numerical value from each group of numerical values ​​according to the OBLCISLO_V codelist from the more general CN to the most precisely determined CN.

RULE RN051

Description (EN)
Only Czech customs office is acceptable with this item

RULE RN052

Description (EN)
This element ca nonly contain value "4".

RULE RN053

Description (EN)
Value of TARIC additional code shall not start with „2“, „7“, „8“, „A“, „B“, „C“, „F“, „P“, „R“ a „S“. 

RULE RN054

Description (EN)
This element can only contain value "40".

RULE RN056

Description (EN)
Value of element " Total number of manifest items" must be equal to number of items in D.G. "Manifest item".

RULE RN057

Description (EN)
Sum of all number of packages' in D.G. "Manifest Item" must be equal to total number of packages at level "Consignment".

RULE RN059

Description (EN)
IF type of previous document = N337 or N355 (write off from temporary storage),
THEN quantity OR type and number of packages must be filled in. 

RULE RN060

Description (EN)
IF /*/ExportOperation/additionalDeclarationType  =“Z“, THEN MUST exist /*/Authorisation/type = „C514“
 

RULE RN062

Description (EN)
IF  /ExportOperation/additionalDeclarationType  =“Z“, THEN MUST be EQUAL /CustomsOfficeOfExport/referenceNumber =/CustomsOfficeOfExitDeclarred/referenceNumber

RULE RN065

Description (EN)
IF EXISTS /Authorisation/type="C514" THEN MUST HOLD /ExportOperation/additionalDeclarationType="Z"

RULE RN066

Description (EN)
IF /*/ExportOperation/additionalDeclarationType = "Z" AND THERE DOESN'T EXISTS /*/GoodsShipment/PreviousDocument/type = "NCLE" 
THEN
THERE MUST EXIST /*/GoodsShipment/GoodsItem/PreviousDocument/type = "NCLE" for each /*/GoodsShipment/GoodsItem

RULE RN067

Description (EN)
IF /*/ExportOperation/additionalDeclarationType = "Z" AND EXISTS /*/GoodsShipment/PreviousDocument/type = "NCLE" 
THEN THERE MUST BE NO /*/GoodsShipment/GoodsItem/PreviousDocument/type = "NCLE"

RULE RN068

Description (EN)
IF is this element filled
THEN value must correspond to the current exchange rate for one unit of the currency specified in element Internal currency unit on the current date.

RULE RN069

Description (EN)
Element CurrencyExchange/internalCurrencyUnit can contain only value 'CZK'

RULE RN070

Description (EN)
IF discrepancies exist for this D.G./D.I.
THEN this D.G./ D.I.= "R" and is used to report these discrepancies
ELSE this D.G./ D.I. = "N"

RULE RN071

Description (EN)
Only value 'U' allowed

RULE RN072

Description (EN)
 IF /*/ExportOperation/additionalDeclarationType is EQUAL to 'U'
THEN /*/Authorisation/type = 'C512'

RULE RN073

Description (EN)
Combination of data from CZ515C a CZ517C must fulfill all rules and condition applicable to CZ515C. 

RULE RN074

Description (EN)
 IF /*/ExportOperation/additionalDeclarationType is EQUAL to 'U'
THEN /*/GoodsShipment/PreviousDocument/type = 'C512'

RULE RN075

Description (EN)
This date must be less or equal to the actual date and must NOT be less than the /*/ExportOperation/releaseDate of the CD501C/CD503C for this movement.

RULE RN077

Description (EN)
If measurementUnitAndQualifier is equal to  NAR or NCL or NPR, then quantity can be only a nonnegative integer

RULE RN079

Description (EN)
In Summary Declaration Customs Office of Exit Declared cannot be from county in ECS-P2.

RULE RN080

Description (EN)
In the group PreviousDocument, at most one of the data elements transportDocumentReferenceNumber and houseConsignmentSequenceNumber can be filled.

RULE RN081

Description (EN)
IF ExportOperation/amendmentTypeFlag = 1 
THEN number of GoodsItems can not change

RULE RN082

Description (EN)
The goods measure (gross mass and net mass) must not be greater than what was declared.

RULE RN083

Description (EN)
If element type is equal to "C615" or "C658", THEN element "reference number" must comply with the strucutre of ARC code.

RULE RN084

Description (EN)
Valid value from codelist MJT is required for write-off from temporary storage.

RULE RN085

Description (EN)
IF <CC590C-EXPORT OPERATION.Discrepancies exist at exit> is EQUAL to '1'
THEN this D.G./ D.I. = "R" and is used to report these discrepancies
ELSE this D.G./ D.I. = "N"

RULE RN086

Description (EN)
The date (/ExportOperation.arrivalNotificationDateAndTime)  must be equal or greater than release date.

RULE RN412

Description (EN)
IF ExportOperation/AdditionalDeclaration is in SET {X,Y} THEN
at least one occurence of GoodsShipment/PreviousDocument must contain type = "NMRN"

RULE RN471

Description (EN)
Only value '2' is valid for this field. '2' and '3' is valid in data migrated from P4.

RULE RN678

Description (EN)
IF /*/Authorisation/type is EQUAL to ’C512’
THEN /*/ExportOperation/additionalDeclarationType is in SET {C, F, Y}

RULE S0013

Description (EN)
The validation of particular Data Group/Item shall be performed in the following sequence: C0059 > C0335

RULE S0014

Description (EN)
The validation of particular Data Group/Item shall be performed in the following sequence: C0059 > C0471

RULE S0017

Description (EN)
The validation of particular Data Group/Item shall be performed in the following sequence: R0677 > R0676

RULE T0001

Description (EN)
At least one of the optional data items must be filled in.

List of conditions

Conditions

CONDITION B1808

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN
          IF /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure is in SET {76, 77} OR /*/GoodsShipment/GoodsItem/Procedure/previousProcedure is in SET {71, 78}
           THEN
                    IF /*/GoodsShipment/Consignment/grossMass is PRESENT
                    THEN /*/GoodsShipment/GoodsItem/Commodity/GoodsMeasure/grossMass = "O"
                    ELSE /*/GoodsShipment/GoodsItem/Commodity/GoodsMeasure/grossMass = "R"
            ELSE /*/GoodsShipment/GoodsItem/Commodity/GoodsMeasure/grossMass = "O"

CONDITION B1837

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN
	IF /*/GoodsShipment/countryOfDestination is PRESENT
     THEN /*/GoodsShipment/GoodsItem/countryOfDestination = "N" 
ELSE IF /*/GoodsShipment/GoodsItem/Procedure/previousProcedure is in SET {71,78}
     THEN /*/GoodsShipment/GoodsItem/countryOfDestination = "O" 
		ELSE /*/GoodsShipment/GoodsItem/countryOfDestination = "R"

CONDITION B1844

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN
          IF /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure is in SET {76, 77} OR /*/GoodsShipment/GoodsItem/Procedure/previousProcedure is in SET {71, 78}
          THEN
                    IF /*/GoodsShipment/GoodsItem/Commodity/GoodsMeasure/grossMass is PRESENT
                    THEN /*/GoodsShipment/Consignment/grossMass = "O"
                    ELSE /*/GoodsShipment/Consignment/grossMass = "R"
           ELSE /*/GoodsShipment/Consignment/grossMass = "O"

CONDITION B1855

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN 
          IF /*/GoodsShipment/countryOfExport is PRESENT
          THEN /*/GoodsShipment/GoodsItem/countryOfExport = “N”
          ELSE
                  IF (/CC515C/ExportOperation/specificCircumstanceIndicator is EQUAL to ‘A20’ OR /CC513C/ExportOperation/specificCircumstanceIndicator is EQUAL to ‘A20’)
                  THEN /*/GoodsShipment/GoodsItem/countryOfExport = ”O”
                  ELSE /*/GoodsShipment/GoodsItem/countryOfExport = “R”

CONDITION B1857

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN
          IF /*/ExportOperation/additionalDeclarationType is in SET (B, C, E, F)
          THEN /*/GoodsShipment/natureOfTransaction = "N"
          ELSE /*/GoodsShipment/natureOfTransaction = "O"

CONDITION B1865

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN
         IF/*/Consignment/Consignee is PRESENT
	 THEN /*/Consignment/ConsignmentItem/Consignee = "N"
	 ELSE /*/Consignment/ConsignmentItem/Consignee = "O" ;

IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN
          IF /*/GoodsShipment/GoodsItem/Consignee is PRESENT
          THEN /*/GoodsShipment/Consignment/Consignee = "N"
          ELSE  /*/GoodsShipment/Consignment/Consignee = "O"

CONDITION B1866

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN
         IF/*/Consignment/Consignee is PRESENT
	 THEN /*/Consignment/ConsignmentItem/Consignee = "N"
	 ELSE /*/Consignment/ConsignmentItem/Consignee = "O" ;

IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN
          IF /*/GoodsShipment/GoodsItem/Consignee is PRESENT
          THEN /*/GoodsShipment/Consignment/Consignee = "N"
          ELSE  /*/GoodsShipment/Consignment/Consignee = "O"

CONDITION B1869

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN 
         IF/*/Consignment/ConsignmentItem/Consignor is PRESENT
	 THEN /*/Consignment/Consignor = "N"
	 ELSE /*/Consignment/Consignor = "O"

CONDITION B1887

Description
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN
         IF /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure is in SET {31, 71, 76, 77, 78}
         THEN /*/GoodsShipment/GoodsItem/statisticalValue = "O"
         ELSE /*/GoodsShipment/GoodsItem/statisticalValue = "R"

CONDITION B1971

Description (EN)
If <Decisive Date> is LESS or EQUAL to <TPR0921endDate> 
THEN R0921 shall be disabled AND
IF /*/ExportOperation/declarationType is EQUAL to 'CO'
THEN /*/GoodsShipment/countryOfDestination is in SET CL208 
ELSE /*/GoodsShipment/countryOfDestination is in SET CL207.

CONDITION B1972

Description (EN)
If <Decisive Date> is LESS or EQUAL to <TPR0921endDate> 
THEN R0921 shall be disabled AND
IF /*/ExportOperation/declarationType is EQUAL to 'CO'
THEN /*/GoodsShipment/GoodsItem/countryOfDestination is in SET CL208 
ELSE /*/GoodsShipment/GoodsItem/countryOfDestination is in SET CL207.

CONDITION B1976

Description (EN)
If <Decisive Date> is LESS or EQUAL to <TPR0921endDate> 
THEN R0992 shall be disabled 

CONDITION B2101

Description (EN)
IF <Decisive Date> is GREATER than <TPendDate> 
THEN /*/GoodsShipment/Consignment/DepartureTransportMeans/nationality = "R";

IF <Decisive Date> is GREATER than <TPendDate> 
THEN /*/GoodsShipment/Consignment/DepartureTransportMeans/typeOfIdentification = "R";

IF <Decisive Date> is GREATER than <TPendDate> 
THEN /*/GoodsShipment/Consignment/grossMass = "R";

IF <Decisive Date> is GREATER than <TPendDate> 
THEN /*/Consignment/grossMass = "R";

IF <Decisive Date> is GREATER than <TPendDate> 
THEN /*/GoodsShipment/GoodsItem/Commodity/GoodsMeasure/grossMass = "R";

IF <Decisive Date> is GREATER than <TPendDate> 
THEN /CD501C/ExportOperation/additionalDeclarationType = "R";

IF <Decisive Date> is GREATER than <TPendDate> 
THEN /CD906C/FunctionalError/errorReason = "R";

IF <Decisive Date> is GREATER than <TPendDate> 
THEN /*/CustomsOfficeOfExit = "R" AND /*/CustomsOfficeOfExport = "R";

IF <Decisive Date> is GREATER than <TPendDate> 
THEN /*/Consignment/LocationsOfGoods = "R" AND /*/Consignment/ConsignmentItem/Commodity/GoodsMeasure = "R"

CONDITION B2400

Description (EN)
IF <Decisive Date> is GREATER than <TPendDate>
THEN /*/GoodsShipment/GoodsItem/TransportDocument = “N”

CONDITION BN001

Description (EN)
IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
THEN CN031 attached to /*/GoodsShipment/GoodsItem/statisticalValue
shall be disabled

CONDITION C0050

Description (EN)
IF /*/Declarant/identificationNumber is PRESENT AND is resolvable by the national application
THEN /*/Declarant/name = "N"
            AND /*/Declarant/Address = "N"
ELSE /*/Declarant/name = "R"
            AND /*/Declarant/Address = "R";

IF /*/Exporter/identificationNumber is PRESENT AND is resolvable by the national application
THEN /*/Exporter/name = "N"
           AND /*/Exporter/Address = "N"
ELSE /*/Exporter/name = "R"
          AND /*/Exporter/Address = "R";

IF /*/GoodsShipment/Consignee/identificationNumber is PRESENT AND is resolvable by the national application
THEN /*/GoodsShipment/Consignee/name = "N"
         AND /*/GoodsShipment/Consignee/Address = "N"
ELSE /*/GoodsShipment/Consignee/name = "R"
         AND /*/GoodsShipment/Consignee/Address = "R";

IF /*/GoodsShipment/Consignment/Consignor/identificationNumber is PRESENT AND is resolvable by the national application
THEN /*/GoodsShipment/Consignment/Consignor/name = "N"
         AND /*/GoodsShipment/Consignment/Consignor/Address = "N"
ELSE /*/GoodsShipment/Consignment/Consignor/name = "R"
        AND /*/GoodsShipment/Consignment/Consignor/Address = "R";

IF /*/GoodsShipment/Consignment/ExitCarrier/identificationNumber is PRESENT AND is resolvable by the national application
THEN /CC507C/GoodsShipment/Consignment/ExitCarrier/name = "N"
         AND /CC507C/GoodsShipment/Consignment/ExitCarrier/Address = "N"
ELSE /CC507C/GoodsShipment/Consignment/ExitCarrier/name = "R"
        AND /CC507C/GoodsShipment/Consignment/ExitCarrier/Address = "R";

IF /*/GoodsShipment/GoodsItem/Consignor/identificationNumber is PRESENT AND is resolvable by the national application
THEN /*/GoodsShipment/GoodsItem/Consignor/name = "N"
        AND /*/GoodsShipment/GoodsItem/Consignor/Address = "N"
ELSE /*/GoodsShipment/GoodsItem/Consignor/name = "R"
       AND /*/GoodsShipment/GoodsItem/Consignor/Address = "R";

IF /*/GoodsShipment/GoodsItem/Consignee/identificationNumber is PRESENT AND is resolvable by the national application
THEN /*/GoodsShipment/GoodsItem/Consignee/name = "N"
  AND /*/GoodsShipment/GoodsItem/Consignee/Address = "N"
ELSE /*/GoodsShipment/GoodsItem/Consignee/name = "R"
       AND /*/GoodsShipment/GoodsItem/Consignee/Address = "R";

IF /*/Consignment/Consignee/identificationNumber is PRESENT AND is resolvable by the national application
THEN /*/Consignment/Consignee/name = "N"
  AND /*/Consignment/Consignee/Address = "N"
ELSE /*/Consignment/Consignee/name = "R"
  AND /*/Consignment/Consignee/Address = "R";

IF /*/Consignment/ConsignmentItem/Consignee/identificationNumber is PRESENT AND is resolvable by the national application
THEN /*/Consignment/ConsignmentItem/Consignee/name = "N"
  AND /*/Consignment/ConsignmentItem/Consignee/Address = "N"
ELSE /*/Consignment/ConsignmentItem/Consignee/name = "R"
  AND /*/Consignment/ConsignmentItem/Consignee/Address = "R";

IF /*/Consignment/ConsignmentItem/Consignor/identificationNumber is PRESENT AND is resolvable by the national application
THEN /*/Consignment/ConsignmentItem/Consignor/name = "N"
  AND /*/Consignment/ConsignmentItem/Consignor/Address = "N"
ELSE /*/Consignment/ConsignmentItem/Consignor/name = "R"
  AND /*/Consignment/ConsignmentItem/Consignor/Address = "R";

IF /*/Consignment/Consignor/identificationNumber is PRESENT AND is resolvable by the national application
THEN /*/Consignment/Consignor/name = "N"
  AND /*/Consignment/Consignor/Address = "N"
ELSE /*/Consignment/Consignor/name = "R"
  AND /*/Consignment/Consignor/Address = "R";

IF /*/ExitCarrier/identificationNumber is PRESENT AND is resolvable by the national application
THEN /*/ExitCarrier/name = "N"
  AND /*/ExitCarrier/Address = "N"
ELSE /*/ExitCarrier/name = "R"
  AND /*/ExitCarrier/Address = "R"

CONDITION C0055

Description (EN)
IF /*/GoodsShipment/Consignment/containerIndicator is EQUAL to '0'
THEN /*/GoodsShipment/Consignment/TransportEquipment/containerIdentificationNumber = "N" 
ELSE at least one iteration of /*/GoodsShipment/Consignment/TransportEquipment/containerIdentificationNumber = "R" (for the rest of iterations is optional);

IF /*/Consignment/containerIndicator is EQUAL to '0'
THEN /*/Consignment/TransportEquipment/containerIdentificationNumber = "N" 
ELSE at least one iteration of /*/Consignment/TransportEquipment/containerIdentificationNumber = "R" (for the rest of iterations is optional)

CONDITION C0059

Description (EN)
IF /*/ExportOperation/specificCircumstanceIndicator is EQUAL to 'A20'
THEN /*/Consignment/referenceNumberUCR = "N" AND
          /*/Consignment/ConsignmentItem/referenceNumberUCR = "N"
ELSE /*/Consignment/referenceNumberUCR optionality will be derived from other applicable conditions AND /*/Consignment/ConsignmentItem/referenceNumberUCR optionality will be derived from other applicable conditions

CONDITION C0060

Description (EN)
IF /*/GoodsShipment/GoodsItem/Packaging/typeOfPackages is in SET CL181
THEN /*/GoodsShipment/GoodsItem/Packaging/shippingMarks = "O"
         AND /*/GoodsShipment/GoodsItem/Packaging/numberOfPackages = "N"
ELSE IF /*/GoodsShipment/GoodsItem/Packaging/typeOfPackages is in SET CL182
THEN /*/GoodsShipment/GoodsItem/Packaging/shippingMarks = "O"
    AND /*/GoodsShipment/GoodsItem/Packaging/numberOfPackages = "R"
 ELSE   /*/GoodsShipment/GoodsItem/Packaging/shippingMarks = "R"
     AND /*/GoodsShipment/GoodsItem/Packaging/numberOfPackages = "R";
IF /*/Consignment/ConsignmentItem/Packaging/typeOfPackages is in SET CL181
THEN /*/Consignment/ConsignmentItem/Packaging/shippingMarks = "O"
ELSE IF /*/Consignment/ConsignmentItem/Packaging/typeOfPackages is in SET CL182
THEN /*/Consignment/ConsignmentItem/Packaging/shippingMarks = "O"
 ELSE /*/Consignment/ConsignmentItem/Packaging/shippingMarks = "R";
IF /*/Consignment/ConsignmentItem/Packaging/typeOfPackages is in SET CL181
THEN /*/Consignment/ConsignmentItem/Packaging/numberOfPackages = "N"
ELSE IF /*/Consignment/ConsignmentItem/Packaging/typeOfPackages is in SET CL182
THEN /*/Consignment/ConsignmentItem/Packaging/numberOfPackages = "R"
 ELSE /*/Consignment/ConsignmentItem/Packaging/numberOfPackages = "R";
IF /CC547C/ManifestItem/TransportDocumentData/typeOfPackages is in SET CL181
THEN /CC547C/ManifestItem/TransportDocumentData/shippingMarks = "O"
    AND /CC547C/ManifestItem/TransportDocumentData/numberOfPackages = "N"
ELSE IF /CC547C/ManifestItem/TransportDocumentData/typeOfPackages is in SET CL182
THEN /CC547C/ManifestItem/TransportDocumentData/shippingMarks = "O"
    AND /CC547C/ManifestItem/TransportDocumentData/numberOfPackages = "R"
 ELSE /CC547C/ManifestItem/TransportDocumentData/shippingMarks = "R"
    AND /CC547C/ManifestItem/TransportDocumentData/numberOfPackages = "R"

CONDITION C0158

Description (EN)
IF /CC547C/ManifestItem/TransportDocumentData/typeOfPackages is IN SET CL181
THEN /CC547C/ManifestItem/TransportDocumentData/CustomsData/numberOfPackages = "N"
ELSE /CC547C/ManifestItem/TransportDocumentData/CustomsData/numberOfPackages = "R"

CONDITION C0211

Description (EN)
IF /*/ExportOperation/security is EQUAL to '2'
THEN /*/GoodsShipment/Consignment/CountryOfRoutingOfConsignment = "R"
ELSE /*/GoodsShipment/Consignment/CountryOfRoutingOfConsignment = "O"

CONDITION C0222

Description (EN)
IF /*/Consignment/AdditionalInformation/code is EQUAL TO ‘30600’ OR any /*/Consignment/ConsignmentItem/AdditionalInformation/code is EQUAL to ‘30600’
THEN /*/Consignment/Consignee = "N"
ELSE
      IF /*/Consignment/ConsignmentItem/Consignee is PRESENT
      THEN /*/Consignment/Consignee = "N"
      ELSE /*/Consignment/Consignee = "O"

CONDITION C0259

Description (EN)
IF /*/GoodsShipment/countryOfExport is PRESENT
THEN /*/GoodsShipment/GoodsItem/countryOfExport = "N"
ELSE /*/GoodsShipment/GoodsItem/countryOfExport = "R";

IF /*/GoodsShipment/natureOfTransaction is PRESENT
THEN /*/GoodsShipment/GoodsItem/natureOfTransaction = "N"
ELSE /*/GoodsShipment/GoodsItem/natureOfTransaction = "R"

CONDITION C0265

Description (EN)
IF {/*/ExportOperation/declarationType is EQUAL to 'CO'
THEN /*/ExportOperation/security = "N"
ELSE /*/ExportOperation/security = "R"

CONDITION C0273

Description (EN)
IF /*/GoodsShipment/GoodsItem/countryOfExport is PRESENT
THEN /*/GoodsShipment/countryOfExport = "N"
ELSE /*/GoodsShipment/countryOfExport = "R";

IF /*/GoodsShipment/GoodsItem/natureOfTransaction is PRESENT
THEN /*/GoodsShipment/natureOfTransaction = "N"
ELSE /*/GoodsShipment/natureOfTransaction = "R"

CONDITION C0281

Description (EN)
IF /*/Consignment/ConsignmentItem/Consignor is PRESENT
THEN /*/Consignment/Consignor = "N"
ELSE /*/Consignment/Consignor = "O"

CONDITION C0282

Description (EN)
IF /*/Consignment/Consignor is PRESENT
THEN /*/Consignment/ConsignmentItem/Consignor = "N"
ELSE /*/Consignment/ConsignmentItem/Consignor = "O"

CONDITION C0283

Description (EN)
IF /*/GoodsShipment/AdditionalInformation/code is EQUAL TO ‘30600’ OR any /*/GoodsShipment/GoodsItem/AdditionalInformation/code is EQUAL to ‘30600’
THEN /*/GoodsShipment/Consignment/Consignee = "N"
ELSE
    IF /*/GoodsShipment/GoodsItem/Consignee is PRESENT
    THEN /*/GoodsShipment/Consignment/Consignee = "N"
    ELSE /*/GoodsShipment/Consignment/Consignee = "O"

CONDITION C0284

Description (EN)
IF /*/Consignment/TransportCharges is PRESENT
THEN /*/Consignment/ConsignmentItem/TransportCharges = "N"
ELSE /*/Consignment/ConsignmentItem/TransportCharges = "O"

CONDITION C0298

Description (EN)
IF /*/GoodsShipment/GoodsItem/SupportingDocument/quantity is PRESENT
THEN /*/GoodsShipment/GoodsItem/SupportingDocument/measurementUnitAndQualifier = "R"
ELSE /*/GoodsShipment/GoodsItem/SupportingDocument/measurementUnitAndQualifier = "N";

IF /*/GoodsShipment/GoodsItem/PreviousDocument/quantity is PRESENT
THEN /*/GoodsShipment/GoodsItem/PreviousDocument/measurementUnitAndQualifier = "R"
ELSE /*/GoodsShipment/GoodsItem/PreviousDocument/measurementUnitAndQualifier = "N";

IF /*/GoodsShipment/GoodsItem/Commodity/CalculationOfTaxes/DutiesAndTaxes/TaxBase/quantity is PRESENT
THEN /*/GoodsShipment/GoodsItem/Commodity/CalculationOfTaxes/DutiesAndTaxes/TaxBase/measurementUnitAndQualifier = "R"
ELSE /*/GoodsShipment/GoodsItem/Commodity/CalculationOfTaxes/DutiesAndTaxes/TaxBase/measurementUnitAndQualifier = "N";

IF /*/Consignment/ConsignmentItem/PreviousDocument/quantity is PRESENT
THEN /*/Consignment/ConsignmentItem/PreviousDocument/measurementUnitAndQualifier = "R"
ELSE /*/Consignment/ConsignmentItem/PreviousDocument/measurementUnitAndQualifier = "N"

CONDITION C0335

Description (EN)
IF /*/GoodsShipment/GoodsItem/TransportCharges is PRESENT
THEN /*/GoodsShipment/Consignment/TransportCharges = "N"
ELSE /*/GoodsShipment/Consignment/TransportCharges = "O";

IF /*/Consignment/ConsignmentItem/referenceNumberUCR is PRESENT
THEN /*/Consignment/referenceNumberUCR = "N"
ELSE /*/Consignment/referenceNumberUCR = "O";

IF /*/GoodsShipment/GoodsItem/referenceNumberUCR is PRESENT
THEN /*/GoodsShipment/Consignment/referenceNumberUCR = "N"
ELSE /*/GoodsShipment/Consignment/referenceNumberUCR = "O"

CONDITION C0335_TransportCharges

Description (EN)
IF /*/GoodsShipment/GoodsItem/TransportCharges is PRESENT
THEN /*/GoodsShipment/Consignment/TransportCharges = "N"
ELSE /*/GoodsShipment/Consignment/TransportCharges = "O";

IF /*/Consignment/ConsignmentItem/referenceNumberUCR is PRESENT
THEN /*/Consignment/referenceNumberUCR = "N"
ELSE /*/Consignment/referenceNumberUCR = "O";

IF /*/GoodsShipment/GoodsItem/referenceNumberUCR is PRESENT
THEN /*/GoodsShipment/Consignment/referenceNumberUCR = "N"
ELSE /*/GoodsShipment/Consignment/referenceNumberUCR = "O"

CONDITION C0351

Description (EN)
IF /*/GoodsShipment/AdditionalInformation/code is EQUAL TO ‘30600’ OR this /*/GoodsShipment/GoodsItem/AdditionalInformation/code is EQUAL to ‘30600’
THEN this /*/GoodsShipment/GoodsItem/Consignee = "N"
ELSE
    IF /*/GoodsShipment/Consignment/Consignee is PRESENT
    THEN this /*/GoodsShipment/GoodsItem/Consignee = "N"
    ELSE this /*/GoodsShipment/GoodsItem/Consignee = "O"

CONDITION C0362

Description (EN)
IF /*/Consignment/ConsignmentItem/TransportCharges is PRESENT 
THEN /*/Consignment/TransportCharges = "N" 
ELSE /*/Consignment/TransportCharges = "O"

CONDITION C0371

Description (EN)
IF /CC548C/FunctionalError is PRESENT
THEN /CC548C/ExportOperation/manifestNumber = "N"
   AND /CC548C/ExportOperation/manifestRegistrationDate = "N"
   AND /CC548C/CustomsOfficeOfExitActual = "N"
ELSE /CC548C/ExportOperation/manifestNumber = "R"
   AND /CC548C/ExportOperation/manifestRegistrationDate = "R"
   AND /CC548C/CustomsOfficeOfExitActual = "R"

CONDITION C0374

Description (EN)
IF /*/ExportOperation/additionalDeclarationType is in SET {B, C, E,  F}
THEN /*/GoodsShipment/Consignment/modeOfTransportAtTheBorder = "N" 
ELSE /*/GoodsShipment/Consignment/modeOfTransportAtTheBorder = "R"

CONDITION C0375

Description (EN)
IF /*/ExportOperation/additionalDeclarationType is in SET {B, C, E, F}
THEN /*/GoodsShipment/GoodsItem/TransportCharges = "N" AND NO validation of other conditions is performed
ELSE /*/GoodsShipment/GoodsItem/TransportCharges optionality will be derived from other applicable conditions;

IF /*/ExportOperation/additionalDeclarationType is in SET {B, C, E, F}
THEN /*/GoodsShipment/Consignment/TransportCharges = "N" AND NO validation of other conditions
is performed
ELSE /*/GoodsShipment/Consignment/TransportCharges optionality will be derived from other applicable conditions;

IF /*/ExportOperation/additionalDeclarationType is in SET {B, C, E, F}
THEN
(/*/GoodsShipment/GoodsItem/natureOfTransaction = "N" AND NO validation of other conditions
is performed)
AND (/*/GoodsShipment/Warehouse = "N" AND NO validation of other conditions is performed)
AND (/*/GoodsShipment/natureOfTransaction = "N" AND NO validation of other conditions is performed)
ELSE
/*/GoodsShipment/GoodsItem/natureOfTransaction optionality will be derived from other applicable conditions
AND /*/GoodsShipment/natureOfTransaction optionality will be derived from other applicable conditions
AND /*/GoodsShipment/Warehouse optionality will be derived from other applicable conditions

CONDITION C0382

Description (EN)
IF /*/Consignment/LocationOfGoods/PostcodeAddress/country is in SET CL198
THEN /*/Consignment/LocationOfGoods/PostcodeAddress/houseNumber = ''O''
ELSE /*/Consignment/LocationOfGoods/PostcodeAddress/houseNumber = ''R''

CONDITION C0392

Description (EN)
IF /*/ExportOperation/additionalDeclarationType is in SET {D, E, F}
THEN /*/GoodsShipment/Consignment/LocationOfGoods = "O"
ELSE /*/GoodsShipment/Consignment/LocationOfGoods = "R"

CONDITION C0394

Description (EN)
IF /*/Consignment/LocationOfGoods/qualifierOfIdentification is EQUAL to 'Z'
THEN
/*/Consignment/LocationOfGoods/Address = "R"
AND /*/Consignment/LocationOfGoods/authorisationNumber = "N"
AND /*/Consignment/LocationOfGoods/UNLocode = "N"
AND /*/Consignment/LocationOfGoods/CustomsOffice = "N"
AND /*/Consignment/LocationOfGoods/GNSS = "N"
AND /*/Consignment/LocationOfGoods/EconomicOperator = "N"
AND /*/Consignment/LocationOfGoods/ContactPerson = "O"
AND /*/Consignment/LocationOfGoods/PostcodeAddress = "N"
ELSE IF /*/Consignment/LocationOfGoods/qualifierOfIdentification is EQUAL to 'X'
THEN
/*/Consignment/LocationOfGoods/EconomicOperator = "R"
AND /*/Consignment/LocationOfGoods/UNLocode = "N"
AND /*/Consignment/LocationOfGoods/CustomsOffice = "N"
AND /*/Consignment/LocationOfGoods/GNSS = "N"
AND /*/Consignment/LocationOfGoods/authorisationNumber = "N"
AND /*/Consignment/LocationOfGoods/Address = "N"
AND /*/Consignment/LocationOfGoods/ContactPerson = "O"
AND /*/Consignment/LocationOfGoods/PostcodeAddress = "N"
ELSE IF /*/Consignment/LocationOfGoods/qualifierOfIdentification is EQUAL to 'Y'
THEN
/*/Consignment/LocationOfGoods/authorisationNumber = "R"
AND /*/Consignment/LocationOfGoods/UNLocode = "N"
AND /*/Consignment/LocationOfGoods/CustomsOffice = "N"
AND /*/Consignment/LocationOfGoods/GNSS = "N"
AND /*/Consignment/LocationOfGoods/EconomicOperator = "N"
AND /*/Consignment/LocationOfGoods/Address = "N"
AND /*/Consignment/LocationOfGoods/ContactPerson = "O"
AND /*/Consignment/LocationOfGoods/PostcodeAddress = "N"
ELSE IF /*/Consignment/LocationOfGoods/qualifierOfIdentification is EQUAL to 'W'
THEN
/*/Consignment/LocationOfGoods/GNSS = "R"
AND /*/Consignment/LocationOfGoods/UNLocode = "N"
AND /*/Consignment/LocationOfGoods/CustomsOffice = "N"
AND /*/Consignment/LocationOfGoods/EconomicOperator = "N"
AND /*/Consignment/LocationOfGoods/authorisationNumber = "N"
AND /*/Consignment/LocationOfGoods/Address = "N"
AND /*/Consignment/LocationOfGoods/ContactPerson = "O"
AND /*/Consignment/LocationOfGoods/PostcodeAddress = "N"
ELSE IF /*/Consignment/LocationOfGoods/qualifierOfIdentification is EQUAL to 'V'
THEN
/*/Consignment/LocationOfGoods/CustomsOffice = "R"
AND /*/Consignment/LocationOfGoods/UNLocode = "N"
AND /*/Consignment/LocationOfGoods/GNSS = "N"
AND /*/Consignment/LocationOfGoods/EconomicOperator = "N"
AND /*/Consignment/LocationOfGoods/authorisationNumber = "N"
AND /*/Consignment/LocationOfGoods/Address = "N"
AND /*/Consignment/LocationOfGoods/ContactPerson = "N"
AND /*/Consignment/LocationOfGoods/PostcodeAddress = "N"
ELSE IF /*/Consignment/LocationOfGoods/qualifierOfIdentification is EQUAL to 'U'
THEN
/*/Consignment/LocationOfGoods/UNLocode = "R"
AND/*/Consignment/LocationOfGoods/CustomsOffice = "N"
AND/*/Consignment/LocationOfGoods/GNSS = "N"
AND/*/Consignment/LocationOfGoods/authorisationNumber = "N"
AND/*/Consignment/LocationOfGoods/EconomicOperator = "N"
AND/*/Consignment/LocationOfGoods/Address = "N"
AND /*/Consignment/LocationOfGoods/ContactPerson = "O"
AND /*/Consignment/LocationOfGoods/PostcodeAddress = "N"
ELSE IF /*/Consignment/LocationOfGoods/qualifierOfIdentification is EQUAL to 'T'
THEN
/*/Consignment/LocationOfGoods/Address = "N"
AND /*/Consignment/LocationOfGoods/authorisationNumber = "N"
AND /*/Consignment/LocationOfGoods/UNLocode = "N"
AND /*/Consignment/LocationOfGoods/CustomsOffice = "N"
AND /*/Consignment/LocationOfGoods/GNSS = "N"
AND /*/Consignment/LocationOfGoods/EconomicOperator = "N"
AND /*/Consignment/LocationOfGoods/ContactPerson = "O"
AND /*/Consignment/LocationOfGoods/PostcodeAddress = "R"

CONDITION C0407

Description (EN)
IF /*/ExportOperation/totalAmountInvoiced is PRESENT
THEN /*/ExportOperation/invoiceCurrency = "R"
ELSE /*/ExportOperation/invoiceCurrency = "N"

CONDITION C0462

Description (EN)
IF /*/ExportOperation/additionalDeclarationType is in SET {B, C, E, F}
THEN
/*/GoodsShipment/DeliveryTerms = "N" AND /*/GoodsShipment/GoodsItem/Commodity/CalculationOfTaxes = "N"
ELSE
IF /*/ExportOperation/declarationType = "CO" AND /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure in SET {76, 77}
THEN /*/GoodsShipment/DeliveryTerms = "N"
ELSE /*/GoodsShipment/DeliveryTerms = "O" AND /*/GoodsShipment/GoodsItem/Commodity/CalculationOfTaxes = "O"

CONDITION C0463

Description (EN)
IF /*/ExportOperation/additionalDeclarationType is in SET {B, C, E, F} AND /*/ExportOperation/security
is EQUAL to '2'
THEN 
     IF /*/GoodsShipment/countryOfDestination is PRESENT
    THEN /*/GoodsShipment/GoodsItem/countryOfDestination = "N" 
    ELSE /*/GoodsShipment/GoodsItem/countryOfDestination = "O" 
ELSE 
    IF /*/GoodsShipment/countryOfDestination is PRESENT
    THEN /*/GoodsShipment/GoodsItem/countryOfDestination = "N"
    ELSE /*/GoodsShipment/GoodsItem/countryOfDestination = "R"

CONDITION C0465

Description (EN)
IF (/*/ExportOperation/declarationType is EQUAL to ‘EX’ AND /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure is in SET {21,22}) OR (/*/ExportOperation/declarationType is EQUAL to ‘CO’ AND /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure is in SET {76,77})
THEN /*/GoodsShipment/GoodsItem/Origin = "R"
ELSE /*/GoodsShipment/GoodsItem/Origin optionality will be derived from other applicable conditions

CONDITION C0467

Description (EN)
IF /CC528C/ExportOperation/declarationAcceptanceDate is PRESENT
THEN /*/ExportOperation/MRN = "R" AND /*/ExportOperation/LRN = "N"
ELSE /*/ExportOperation/MRN = "N" AND /*/ExportOperation/LRN = "R"

CONDITION C0471

Description (EN)
IF /*/GoodsShipment/Consignment/TransportCharges is PRESENT
THEN /*/GoodsShipment/GoodsItem/TransportCharges = "N"
ELSE /*/GoodsShipment/GoodsItem/TransportCharges = "O";

IF /*/GoodsShipment/Consignment/referenceNumberUCR is PRESENT
THEN /*/GoodsShipment/GoodsItem/referenceNumberUCR = "N"
ELSE /*/GoodsShipment/GoodsItem/referenceNumberUCR = "O";

IF /*/Consignment/referenceNumberUCR is PRESENT
THEN /*/Consignment/ConsignmentItem/referenceNumberUCR = "N"
ELSE /*/Consignment/ConsignmentItem/referenceNumberUCR = "O"

CONDITION C0503

Description (EN)
IF /*/ExportOperation/additionalDeclarationType is in SET {B, C, E, F} AND /*/ExportOperation/security
is EQUAL to '2'
THEN 
    IF /*/GoodsShipment/GoodsItem/countryOfDestination is PRESENT
    THEN /*/GoodsShipment/countryOfDestination = "N" 
    ELSE /*/GoodsShipment/countryOfDestination = "O" 
ELSE 
    IF /*/GoodsShipment/GoodsItem/countryOfDestination is PRESENT
    THEN /*/GoodsShipment/countryOfDestination = "N"
    ELSE /*/GoodsShipment/countryOfDestination = "R"

CONDITION C0505

Description (EN)
IF /*/Exporter/Address/country is in SET CL505
THEN	/*/Exporter/Address/postcode="O"
ELSE	/*/Exporter/Address/postcode="R";

IF /*/Declarant/Address/country is in SET CL505
THEN	/*/Declarant/Address/postcode="O"
ELSE	/*/Declarant/Address/postcode="R";

IF /*/ExitCarrier/Address/country is in SET CL505
THEN	/CC507C/ExitCarrier/Address/postcode="O"
ELSE	/CC507C/ExitCarrier/Address/postcode="R";

IF /*/GoodsShipment/Consignment/LocationOfGoods/Address/country is in SET CL505
THEN	/*/GoodsShipment/Consignment/LocationOfGoods/Address/postcode="O"
ELSE	/*/GoodsShipment/Consignment/LocationOfGoods/Address/postcode="R";

IF /*/GoodsShipment/Consignee/Address/country is in SET CL505
THEN	/*/GoodsShipment/Consignee/Address/postcode="O"
ELSE	/*/GoodsShipment/Consignee/Address/postcode="R";

IF /*/GoodsShipment/Consignment/Consignor/Address/country is in SET CL505
THEN	/*/GoodsShipment/Consignment/Consignor/Address/postcode="O"
ELSE	/*/GoodsShipment/Consignment/Consignor/Address/postcode="R";

IF /*/GoodsShipment/GoodsItem/Consignee/Address/country is in SET CL505
THEN	/*/GoodsShipment/GoodsItem/Consignee/Address/postcode="O"
ELSE	/*/GoodsShipment/GoodsItem/Consignee/Address/postcode="R";

IF /*/GoodsShipment/GoodsItem/Consignor/Address/country is in SET CL505
THEN	/*/GoodsShipment/GoodsItem/Consignor/Address/postcode="O"
ELSE	/*/GoodsShipment/GoodsItem/Consignor/Address/postcode="R";

IF /*/Consignment/LocationOfGoods/Address/country is in SET CL505
THEN	/*/Consignment/LocationOfGoods/Address/postcode="O"
ELSE	/*/Consignment/LocationOfGoods/Address/postcode="R";

IF /*/Consignment/Consignee/Address/country is in SET CL505
THEN	/*/Consignment/Consignee/Address/postcode="O"
ELSE	/*/Consignment/Consignee/Address/postcode="R";

IF /*/Consignment/Consignor/Address/country is in SET CL505
THEN	/*/Consignment/Consignor/Address/postcode="O"
ELSE	/*/Consignment/Consignor/Address/postcode="R";

IF /*/Consignment/ConsignmentItem/Consignor/Address/country is in SET CL505
THEN	/*/Consignment/ConsignmentItem/Consignor/Address/postcode="O"
ELSE	/*/Consignment/ConsignmentItem/Consignor/Address/postcode="R";

IF /*/Consignment/ConsignmentItem/Consignee/Address/country is in SET CL505
THEN	/*/Consignment/ConsignmentItem/Consignee/Address/postcode="O"
ELSE	/*/Consignment/ConsignmentItem/Consignee/Address/postcode="R"

CONDITION C0556

Description (EN)
IF /*/ExportOperation/invoiceCurrency is PRESENT
THEN /*/CurrencyExchange/exchangeRate = "O"
ELSE /*/CurrencyExchange/exchangeRate = "N"

CONDITION C0561

Description (EN)
IF /*/ExportOperation/declarationType = 'CO' AND /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure is in SET {76, 77} 
THEN /*/GoodsShipment/Warehouse = "R"
ELSE IF /*/GoodsShipment/GoodsItem/Procedure/previousProcedure is in SET {71, 76, 77} 
THEN /*/GoodsShipment/Warehouse = "R"
ELSE /*/GoodsShipment/Warehouse = "O"

CONDITION C0569

Description (EN)
IF /*/GoodsShipment/Consignment/TransportEquipment/numberOfSeals is GREATER than '0'
THEN /*/GoodsShipment/Consignment/TransportEquipment/Seal = "R"
ELSE /*/GoodsShipment/Consignment/TransportEquipment/Seal = "N";

IF /*/Consignment/TransportEquipment/numberOfSeals is GREATER than '0'
THEN /*/Consignment/TransportEquipment/Seal = "R"
ELSE /*/Consignment/TransportEquipment/Seal = "N"

CONDITION C0589

Description (EN)
IF /*/Consignment/containerIndicator is PRESENT
THEN
          IF /*/Consignment/containerIndicator is EQUAL to '1'
          THEN /*/Consignment/TransportEquipment = "R" 
          ELSE /*/Consignment/TransportEquipment = "O"
ELSE /*/Consignment/TransportEquipment = "N"

CONDITION C0591

Description (EN)
IF /*/ExportOperation/specificCircumstanceIndicator is EQUAL to 'A20'
THEN /*/Consignment/containerIndicator = "N"
ELSE /*/Consignment/containerIndicator = "R"

CONDITION C0595

Description (EN)
IF /*/ExportOperation/specificCircumstanceIndicator is EQUAL to 'A20'
THEN /*/Consignment/SupportingDocument = "N" AND /*/Consignment/ConsignmentItem/SupportingDocument = "N"
ELSE /*/Consignment/SupportingDocument = "O" AND /*/Consignment/ConsignmentItem/SupportingDocument = "O"

CONDITION C0596

Description (EN)
IF /*/GoodsShipment/DeliveryTerms/incotermCode is EQUAL to 'XXX'
THEN
/*/GoodsShipment/DeliveryTerms/text = "R" AND
/*/GoodsShipment/DeliveryTerms/UNLocode = "O" AND
/*/GoodsShipment/DeliveryTerms/location = "O" AND
/*/GoodsShipment/DeliveryTerms/country = "O"
ELSE
(/*/GoodsShipment/DeliveryTerms/UNLocode = "R" AND
/*/GoodsShipment/DeliveryTerms/location = "O" AND 
/*/GoodsShipment/DeliveryTerms/country = "O" AND 
/*/GoodsShipment/DeliveryTerms/text = "N")
OR
(/*/GoodsShipment/DeliveryTerms/UNLocode = "O" AND
/*/GoodsShipment/DeliveryTerms/location = "R" AND 
/*/GoodsShipment/DeliveryTerms/country = "R" AND 
/*/GoodsShipment/DeliveryTerms/text = "N")

CONDITION C0655

Description (EN)
IF /*/ExportOperation/additionalDeclarationType is in SET {A, D, X, Y} AND TARIC provides supplementary units
THEN /*/GoodsShipment/GoodsItem/Commodity/GoodsMeasure/supplementaryUnits = "R"
ELSE IF /*/ExportOperation/additionalDeclarationType is in SET {B, C, E, F} AND TARIC provides
supplementary units
THEN /*/GoodsShipment/GoodsItem/Commodity/GoodsMeasure/supplementaryUnits = "O"
ELSE /*/GoodsShipment/GoodsItem/Commodity/GoodsMeasure/supplementaryUnits = "N"

CONDITION C0670

Description (EN)
IF /*/GoodsShipment/Consignment/TransportEquipment is PRESENT only once AND
/*/GoodsShipment/Consignment/TransportEquipment/containerIdentificationNumber is PRESENT 
THEN /*/GoodsShipment/Consignment/TransportEquipment/GoodsReference = "O"
ELSE /*/GoodsShipment/Consignment/TransportEquipment/GoodsReference = "R";

IF /*/Consignment/TransportEquipment is PRESENT only once AND
/*/Consignment/TransportEquipment/containerIdentificationNumber is PRESENT 
THEN /*/Consignment/TransportEquipment/GoodsReference = "O"
ELSE /*/Consignment/TransportEquipment/GoodsReference = "R"

CONDITION C0671

Description (EN)
IF /*/Consignment/LocationOfGoods/EconomicOperator/identificationNumber is PRESENT
OR /*/Consignment/LocationOfGoods/authorisationNumber is PRESENT
THEN /*/Consignment/LocationOfGoods/additionalIdentifier = "O"
ELSE /*/Consignment/LocationOfGoods/additionalIdentifier = "N"

CONDITION C0672

Description (EN)
IF /*/Consignment/TransportEquipment is PRESENT only once
THEN /*/Consignment/TransportEquipment/GoodsReference = "O"
ELSE /*/Consignment/TransportEquipment/GoodsReference = "R"

CONDITION C0680

Description (EN)
IF /CC583C/ExportOperation/enquiryInformationCode is in SET {1, 2}
THEN /CC583C/CustomsOfficeOfExitActual = "N"
ELSE  /CC583C/CustomsOfficeOfExitActual = "R"

CONDITION C0681

Description (EN)
IF /CC583C/ExportOperation/enquiryInformationCode is in SET {1, 2}
THEN /CC583C/ExitCarrier = "N"
ELSE /CC583C/ExitCarrier = "O"

CONDITION C0682

Description (EN)
IF /CC583C/ExportOperation/enquiryInformationCode is EQUAL to '4'
THEN /CC583C/AlternativeEvidence = "R"
ELSE /CC583C/AlternativeEvidence = "N"

CONDITION C0683

Description (EN)
IF /CC583C/ExportOperation/enquiryInformationCode is in SET {2, 3, 4}
THEN /CC583C/ExportOperation/exitDate = "R"
ELSE /CC583C/ExportOperation/exitDate = "N"

CONDITION C0684

Description (EN)
IF /CC583C/AlternativeEvidence/type is in SET {11, 14, 15, 17}
THEN /CC583C/AlternativeEvidence/TransportDocument = "R"
ELSE /CC583C/AlternativeEvidence/TransportDocument = "N"

CONDITION C0823

Description (EN)
IF /*/GoodsShipment/Consignment/containerIndicator is PRESENT
THEN
        IF /*/GoodsShipment/Consignment/containerIndicator is EQUAL to '1'
        THEN /*/GoodsShipment/Consignment/TransportEquipment = "R" 
        ELSE /*/GoodsShipment/Consignment/TransportEquipment = "O"
ELSE /*/GoodsShipment/Consignment/TransportEquipment = "N"

CONDITION C0824

Description (EN)
IF /CC513C/ExportOperation/declarationType is PRESENT
THEN
	IF /CC513C/ExportOperation/additionalDeclarationType is in SET {E, F}
               THEN /CC511C/GoodsShipment/Consignment/containerIndicator is “N”
ELSE  
IF /CC513C/GoodsShipment/Consignment/containerIndicator is PRESENT
               	THEN /CC511C/GoodsShipment/Consignment/containerIndicator is “O”
              		ELSE   /CC511C/GoodsShipment/Consignment/containerIndicator is “R”
ELSE
	IF /CC515C/ExportOperation/additionalDeclarationType is in SET {E, F}
               THEN /CC511C/GoodsShipment/Consignment/containerIndicator is “N”
ELSE  
IF /CC515C/GoodsShipment/Consignment/containerIndicator IS PRESENT
             		THEN /CC511C/GoodsShipment/Consignment/containerIndicator is “O”
               	ELSE   /CC511C/GoodsShipment/Consignment/containerIndicator is “R”

CONDITION C0834

Description (EN)
IF /*/GoodsShipment/Consignment/inlandModeOfTransport is NOT PRESENT
THEN /*/GoodsShipment/Consignment/DepartureTransportMeans = "N"
ELSE IF /*/ExportOperation/declarationType is EQUAL to 'EX' AND */GoodsShipment/GoodsItem/Procedure/requestedProcedure is in SET {21, 22}
THEN
IF /*/GoodsShipment/Consignment/inlandModeOfTransport is in SET {5,7}
THEN /*/GoodsShipment/Consignment/DepartureTransportMeans = "N"
ELSE /*/GoodsShipment/Consignment/DepartureTransportMeans = "O"
ELSE IF /*/ExportOperation/declarationType is EQUAL to 'EX' AND /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure is in SET {10, 11, 23, 31}
THEN
IF /*/GoodsShipment/Consignment/inlandModeOfTransport is in SET {5,7}
THEN /*/GoodsShipment/Consignment/DepartureTransportMeans = "O"
ELSE /*/GoodsShipment/Consignment/DepartureTransportMeans = "R"
ELSE IF /*/ExportOperation/declarationType is EQUAL to 'CO' AND /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure is in SET {76, 77}
THEN
IF /*/GoodsShipment/Consignment/inlandModeOfTransport is in SET {5,7}
THEN /*/GoodsShipment/Consignment/DepartureTransportMeans = "N"
ELSE /*/GoodsShipment/Consignment/DepartureTransportMeans = "R"
ELSE /*/GoodsShipment/Consignment/DepartureTransportMeans = "N”

CONDITION C0835

Description (EN)
IF /*/GoodsShipment/Consignment/inlandModeOfTransport is NOT PRESENT
THEN /*/GoodsShipment/Consignment/DepartureTransportMeans = "N"
ELSE IF /CC515C/ExportOperation/declarationType is EQUAL to 'EX' AND
/CC515C/GoodsShipment/GoodsItem/Procedure/requestedProcedure is in SET {21, 22}
THEN
 IF /*/GoodsShipment/Consignment/inlandModeOfTransport is in SET {5,7}
 THEN /*/GoodsShipment/Consignment/DepartureTransportMeans = "N"
 ELSE /*/GoodsShipment/Consignment/DepartureTransportMeans = "O"
ELSE IF /CC515C/ExportOperation/declarationType is EQUAL to 'EX' AND
/CC515C/GoodsShipment/GoodsItem/Procedure/requestedProcedure is in SET {10, 11, 23, 31}
THEN
 IF /*/GoodsShipment/Consignment/inlandModeOfTransport is in SET {5,7}
 THEN /*/GoodsShipment/Consignment/DepartureTransportMeans = "O"
 ELSE /*/GoodsShipment/Consignment/DepartureTransportMeans = "R"
ELSE IF /CC515C/ExportOperation/declarationType is EQUAL to 'CO' AND
/CC515C/GoodsShipment/GoodsItem/Procedure/requestedProcedure is in SET {76, 77}
THEN
 IF /*/GoodsShipment/Consignment/inlandModeOfTransport is in SET {5,7}
 THEN /*/GoodsShipment/Consignment/DepartureTransportMeans = "N"
 ELSE /*/GoodsShipment/Consignment/DepartureTransportMeans = "R"
ELSE /*/GoodsShipment/Consignment/DepartureTransportMeans = "N"

CONDITION C0836

Description (EN)
IF /*/ExportOperation/additionalDeclarationType is in SET {B, C, E, F}
THEN /*/GoodsShipment/Consignment/containerIndicator = "N"
ELSE IF /*/ExportOperation/additionalDeclarationType is EQUAL to 'D'
THEN /*/GoodsShipment/Consignment/containerIndicator = "O"
ELSE /*/GoodsShipment/Consignment/containerIndicator = "R"

CONDITION C0841

Description (EN)
IF /*/CustomsOfficeOfExport/referenceNumber is NOT EQUAL to
/CC515C/CustomsOfficeOfExit/referenceNumber
THEN
          IF /CC515C/GoodsShipment/Consignment/inlandModeOfTransport is NOT PRESENT
 AND /CC513C/GoodsShipment/Consignment/inlandModeOfTransport is NOT PRESENT
          THEN /CC511C/GoodsShipment/Consignment/inlandModeOfTransport = "R"
          ELSE /CC511C/GoodsShipment/Consignment/inlandModeOfTransport = "O"
               ELSE /CC511C/GoodsShipment/Consignment/inlandModeOfTransport = "N"

CONDITION C0842

Description (EN)
IF /*/ExportOperation/additionalDeclarationType is in SET {B, C, E, F}
THEN /*/GoodsShipment/Consignment/containerIndicator = "N"
ELSE /*/GoodsShipment/Consignment/containerIndicator = "R"

CONDITION C0843

Description (EN)
IF /*/CustomsOfficeOfPresentation/referenceNumber is PRESENT AND is NOT EQUAL to
/*/CustomsOfficeOfExitDeclared/referenceNumber
THEN
IF /*/ExportOperation/additionalDeclarationType is in SET {B, C, E, F} OR {/*/ExportOperation/declarationType is EQUAL to 'CO' AND /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure is EQUAL to '10'}
    	THEN /*/GoodsShipment/Consignment/inlandModeOfTransport = "N"
ELSE IF /*/ExportOperation/additionalDeclarationType is EQUAL to 'D' OR /*/ExportOperation/declarationType is EQUAL to 'CO' AND /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure is in SET {76, 77}
THEN /*/GoodsShipment/Consignment/inlandModeOfTransport = "O"
ELSE /*/GoodsShipment/Consignment/inlandModeOfTransport = "R"
ELSE IF /*/CustomsOfficeOfPresentation/referenceNumber is PRESENT AND is EQUAL to
/*/CustomsOfficeOfExitDeclared/referenceNumber
	THEN /*/GoodsShipment/Consignment/inlandModeOfTransport = "N"
ELSE IF /*/CustomsOfficeOfPresentation/referenceNumber is NOT PRESENT AND
/*/CustomsOfficeOfExport/referenceNumber is NOT EQUAL to
/*/CustomsOfficeOfExitDeclared/referenceNumber
	THEN
IF /*/ExportOperation/additionalDeclarationType is in SET {B, C, E, F} OR {/*/ExportOperation/declarationType is EQUAL to 'CO' AND /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure is EQUAL to '10'}
    	THEN /*/GoodsShipment/Consignment/inlandModeOfTransport = "N"
ELSE IF /*/ExportOperation/additionalDeclarationType is EQUAL to 'D' OR /*/ExportOperation/declarationType is EQUAL to 'CO' AND /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure is in SET {76, 77}
THEN /*/GoodsShipment/Consignment/inlandModeOfTransport = "O"
ELSE /*/GoodsShipment/Consignment/inlandModeOfTransport = "R"
ELSE /*/GoodsShipment/Consignment/inlandModeOfTransport = "N"

CONDITION C0846

Description (EN)
IF /*/GoodsShipment/GoodsItem/Consignor is PRESENT
THEN /*/GoodsShipment/Consignment/Consignor = "N"
ELSE /*/GoodsShipment/Consignment/Consignor = "O"

CONDITION C0847

Description (EN)
IF /*/GoodsShipment/Consignment/Consignor is PRESENT
THEN /*/GoodsShipment/GoodsItem/Consignor = "N"
ELSE/ */GoodsShipment/GoodsItem/Consignor = "O"

CONDITION C0848

Description (EN)
IF /*/Authorisation/type is in SET {C626, C627}
THEN /*/Authorisation/holderOfAuthorisation = "R"
ELSE /*/Authorisation/holderOfAuthorisation = "O"

CONDITION C0849

Description (EN)
IF /*/GoodsShipment/GoodsItem/PreviousDocument/type is in SET {C651, C658}
THEN /*/GoodsShipment/GoodsItem/PreviousDocument/goodsItemNumber = "R"
ELSE /*/GoodsShipment/GoodsItem/PreviousDocument/goodsItemNumber = "O"

CONDITION C0853

Description (EN)
IF /*/Consignment/AdditionalInformation/code is EQUAL TO ‘30600’ OR this /*/Consignment/ConsignmentItem/AdditionalInformation/code is EQUAL to ‘30600’
THEN this /*/Consignment/ConsignmentItem/Consignee = "N"
ELSE
      IF/*/Consignment/Consignee is PRESENT
      THEN /*/Consignment/ConsignmentItem/Consignee = "N"
      ELSE /*/Consignment/ConsignmentItem/Consignee = "O"

CONDITION C0866

Description (EN)
IF /*/ExportOperation/specificCircumstanceIndicator is EQUAL to 'A20'
THEN /*/Consignment/ConsignmentItem/Packaging = "N" 
ELSE /*/Consignment/ConsignmentItem/Packaging = "R"

CONDITION C0868

Description (EN)
IF /*/Consignment/ConsignmentItem/Commodity/descriptionOfGoods is PRESENT
THEN /*/Consignment/ConsignmentItem/Commodity/CommodityCode = "O"
ELSE /*/Consignment/ConsignmentItem/Commodity/CommodityCode = "R"

CONDITION C0869

Description (EN)
IF TARIC demands providing additional code(s)
THEN /*/GoodsShipment/GoodsItem/Commodity/CommodityCode/TARICAdditionalCode = "R"
ELSE /*/GoodsShipment/GoodsItem/Commodity/CommodityCode/TARICAdditionalCode = "N"

CONDITION C0871

Description (EN)
IF /*/GoodsShipment/GoodsItem/Procedure/AdditionalProcedure/additionalProcedure is PRESENT
THEN 
         IF the first digit of /*/GoodsShipment/GoodsItem/Procedure/AdditionalProcedure/additionalProcedure is EQUAL to 'E'
         THEN /*/GoodsShipment/GoodsItem/Origin = "R"
         ELSE /*/GoodsShipment/GoodsItem/Origin = "O"
ELSE /*/GoodsShipment/GoodsItem/Origin = "O"

CONDITION C0874

Description (EN)
IF /*/Consignment/containerIndicator is EQUAL to '1'
THEN /*/Consignment/TransportEquipment = "R"
ELSE /*/Consignment/TransportEquipment = "N";

IF /CC590C/GoodsShipment/Consignment/containerIndicator is EQUAL to '1'
THEN /CC590C/GoodsShipment/Consignment/TransportEquipment = "R"
ELSE /CC590C/GoodsShipment/Consignment/TransportEquipment = "N"

CONDITION C0890

Description (EN)
IF /*/GoodsShipment/Consignment/modeOfTransportAtTheBorder is NOT PRESENT 
THEN /*/GoodsShipment/Consignment/ActiveBorderTransportMeans = "N
ELSE IF /*/ExportOperation/declarationType is EQUAL to 'EX' AND /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure is in SET {10, 11, 23, 31}
THEN
IF /*/GoodsShipment/Consignment/modeOfTransportAtTheBorder is in SET {2, 5, 7} 
THEN /*/GoodsShipment/Consignment/ActiveBorderTransportMeans = "O"
ELSE /*/GoodsShipment/Consignment/ActiveBorderTransportMeans = "R"
ELSE IF /*/ExportOperation/declarationType is EQUAL to 'CO' AND /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure is in SET {76,77}
THEN
IF /*/GoodsShipment/Consignment/modeOfTransportAtTheBorder is in SET {5, 7}
THEN /*/GoodsShipment/Consignment/ActiveBorderTransportMeans = "N" 
ELSE /*/GoodsShipment/Consignment/ActiveBorderTransportMeans = "R" 
ELSE /*/GoodsShipment/Consignment/ActiveBorderTransportMeans = "N"

CONDITION CN001

Description (EN)
IF ExportOperation.FallbackProcedure is true THEN this element SHALL be used ELSE the element CANNOT be used.

CONDITION CN002

Description (EN)
IF /*/GoodsShipment/GoodsItem/AdditionalInformation/code is EQUAL '00100' AND IF the declaration is submitted by trader and yet not accepted
THEN /*/GoodsShipment/AdHocSimplifiedAuthorisation="R"
ELSE /*/GoodsShipment/AdHocSimplifiedAuthorisation="N"

CONDITION CN003

Description (EN)
IF /*/GoodsShipment/GoodsItem/SupportingDocument/type is a code of license to verify
THEN /*/GoodsShipment/GoodsItem/SupportingDocument/issuingCountry = "R"
ELSE  /*/GoodsShipment/GoodsItem/SupportingDocument/issuingCountry = "O"

CONDITION CN004

Description (EN)
IF /*/GoodsShipment/GoodsItem/SupportingDocument/type is EQUAL to 'X002' and below conditions apply:
       - /*/GoodsShipment/GoodsItem/SupportingDocument/referenceNumber is NOT in SET  {'EU001','EU002','EU003','EU004','EU005','EU006'} or
       - /*/GoodsShipment/GoodsItem/SupportingDocument/referenceNumber is in SET  {'EU001','EU002','EU003','EU004','EU005','EU006'} and concurrently /*/GoodsShipment/GoodsItem/SupportingDocument/issuingCountry is EQUAL to 'CZ',
THEN /*/GoodsShipment/GoodsItem/SupportingDocument/codeOfDoubleUsageCommodity = "R",
ELSE /*/GoodsShipment/GoodsItem/SupportingDocument/codeOfDoubleUsageCommodity = "N"

CONDITION CN005

Description (EN)
IF /*/GoodsShipment/GoodsItem/SupportingDocument/type is EQUAL to '9999'
THEN /*/GoodsShipment/GoodsItem/SupportingDocument/referenceNumber="O"
ELSE /*/GoodsShipment/GoodsItem/SupportingDocument/referenceNumber="R"

CONDITION CN006

Description (EN)
IF /CC515C/Authorisation/type is EQUAL to ’C513’
THEN /*/CustomsOfficeOfPresentation = "O"
ELSE /*/CustomsOfficeOfPresentation = "N"

CONDITION CN007

Description (EN)
IF MRN is CZ
THEN group /CustomsOfficeOfLodgement is OPTIONAL, 
ELSE group /CustomsOfficeOfLodgement is NOT USED.

CONDITION CN008

Description (EN)
IF IE614 message is EXS and group /CustomsOfficeOfExit is not present
THEN group CustomsOfficeOfLodgement = "R" 
ELSE group /CustomsOfficeOfLodgement = "N"

CONDITION CN009

Description (EN)
IF group /CustomsOfficeOfLodgement is present
THEN group /CustomsOfficeOfExit = "N" 
ELSE group //CustomsOfficeOfExit = "R"

CONDITION CN010

Description (EN)
Required for write off from customs warehouse

CONDITION CN011

Description (EN)
IF there is write off from customs warehouse, the element is required. ELSE the element can not be used.

CONDITION CN012

Description (EN)
Required for write off from EMCS

CONDITION CN013

Description (EN)
IF */ExportOperation/additionalDeclarationType is in SET {"X","Y"}
THEN /*/GoodsShipment/PreviousDocument = "R"
ELSE IF <Decisive Date> is LESS than or EQUAL to <TPendDate>
	THEN /*/GoodsShipment/PreviousDocument = "N"
	ELSE /*/GoodsShipment/PreviousDocument = "O"

CONDITION CN015

Description (EN)
if CC507C/ExportOperation/singleTransportContract = '1' this data group/element is not used

CONDITION CN016

Description (EN)
Data group can not be used for transport contract

CONDITION CN018

Description (EN)
IF type of previous document = [N337, N355] (temporary warehouse), THEN this element is required.

CONDITION CN019

Description (EN)
IF type of previous document = [N337, N355] (temporary warehouse)
THEN IF element quantity has value
	THEN this element can't be filled in
	ELSE this element is required

CONDITION CN020

Description (EN)
IF type of previous document = [N337, N355] (temporary warehouse)
THEN IF elements type of packages and number of packages have value
	THEN this element can't be filled in
	ELSE this element is required

CONDITION CN022

Description (EN)
IF element „customsStatus“ is equal to "TD" or "T1" OR departure airport code is one of Czech international airports (PRG, BRQ, KLV, OSR, PED, JCL) and element „customsStatus“ is equal to "X"
THEN this element CAN be filled in
ELSE this element CAN'T be filled in

CONDITION CN023

Description (EN)
IF element „customsStatus“ is equal to "TD" or "T1" 
THEN this element CAN be filled in
ELSE this element CAN'T be filled in

CONDITION CN024

Description (EN)
IF element „customsStatus“ is equal to "TD" OR departure airport code is one of Czech international airports (PRG, BRQ, KLV, OSR, PED, JCL) and element „customsStatus“ is equal to "X"
THEN this element CAN be filled in
ELSE this element CAN'T be filled in

CONDITION CN025

Description (EN)
IF element "MRN" or "LRN_ETD" is filled in, 
THEN this element CAN be filled
ELSE this element CAN'T be filled

CONDITION CN027

Description (EN)
IF element "MRN_LRN_noWriteOff" = true,
THEN this element CAN be filled
ELSE this element CAN'T be filled

CONDITION CN028

Description (EN)
IF customsStatus= "X" and "MRN" is filed in and "MRN_LRN_noWriteOff" is NOT 1
THEN this element CAN be filled
ELSE this element CAN'T be filled

CONDITION CN029

Description (EN)
Only one of elements grossMass or numberOfPackages can be filled

CONDITION CN031

Description (EN)
IF /*/ExportOperation/declarationType is EQUAL to 'CO'
THEN /*/GoodsShipment/GoodsItem/statisticalValue = "O"
ELSE 
         IF /*/ExportOperation/additionalDeclarationType is in SET {B, C, E, F, X, Y}
         THEN /*/GoodsShipment/GoodsItem/statisticalValue = "N"
         ELSE 
                  IF /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure is in SET {76, 77}
                   THEN /*/GoodsShipment/GoodsItem/statisticalValue = "O"
                   ELSE /*/GoodsShipment/GoodsItem/statisticalValue = "R"

CONDITION CN033

Description (EN)
IF element "amendmentAfterDeparture“ equals „2“ (exit ackwnoledgement of not amended manifest)
THEN group "ManifestItem" CAN'T be filled in
ELSE group MUST be filled in

CONDITION CN035

Description (EN)
IF ExportOperation.FallbackProcedure OR ExportOperation.additionalExportDeclaration is true THEN this element SHALL be used ELSE the element CANNOT be used.

CONDITION CN036

Description (EN)
IF /*/GoodsShipment/GoodsItem/Procedure/requestedProcedure is in SET {21,22}
THEN  /*/GoodsShipment/GoodsItem/Commodity/GoodsMeasure/SpecialWriteOffMeasurementUnit="O"
ELSE /*/GoodsShipment/GoodsItem/Commodity/GoodsMeasure/SpecialWriteOffMeasurementUnit="N"

CONDITION CN037

Description (EN)
IF /*/GoodsShipment/GoodsItem/statisticalValue is PRESENT
THEN /*/ExportOperation/internalCurrencyUnit = "R"
ELSE /*/ExportOperation/internalCurrencyUnit = "N"

CONDITION CN039

Description (EN)
IF PreviousDocument/type = [N337, N355],
THEN at least one of the elements transportDocumentReferenceNumber and houseConsignmentSequenceNumbe must be used,
ELSE the element must not be used.

CONDITION CN040

Description (EN)
IF /*/GoodsShipment/Consignment/modeOfTransportAtTheBorder is filled in
THEN this D.G./D.I. must be filled in

CONDITION CN041

Description (EN)
IF /*/GoodsShipment/GoodsItem/AdditionalReference/type is a code of licence
THEN  /*/GoodsShipment/GoodsItem/AdditionalReference/issuingCountry = "R"
ELSE   /*/GoodsShipment/GoodsItem/AdditionalReference/issuingCountry = "O"

CONDITION CN592

Description (EN)
IF /*/GoodsShipment/GoodsItem/statisticalValue is PRESENT or /*/ExportOperation/invoiceCurrency is PRESENT
THEN /*/CurrencyExchange = "R"
ELSE /*/CurrencyExchange = "N"

CONDITION R0675

Description (EN)
IF /*/Authorisation/type is EQUAL to ’C513’
THEN /*/CustomsOfficeOfPresentation = "R"

CONDITION S0002

Description (EN)
The validation of particular Data Group/Item shall be performed in the following sequence: C0375 > C0273

CONDITION S0003

Description (EN)
The validation of particular Data Group/Item shall be performed in the following sequence: C0375 > C0561

CONDITION S0008

Description (EN)
The validation of particular Data Group/Item shall be performed in the following sequence: C0375 > C0471

CONDITION S0011

Description (EN)
The validation of particular Data Group/Item shall be performed in the following sequence: C0375 > C0259

CONDITION S0012

Description (EN)
The validation of particular Data Group/Item shall be performed in the following sequence: C0375 > C0335

CONDITION S0024

Description (EN)
The validation of particular Data Group/Item shall be performed in the following sequence: C0465 > C0871
(Generated: 10/9/2026 1:25:30 PM)