# List of rules

# RULE G0006

Description (EN) |
    Only one of the referenced Code Lists can be used per each document, depending on the document type (supporting, transport, additional reference)

# RULE G0007

Description (EN) |
    - Goods Shipment related information shall be recorded under <GOODS SHIPMENT-PREVIOUS DOCUMENT>, <GOODS SHIPMENT-ADDITIONAL INFORMATION>, <GOODS SHIPMENT-SUPPORTING DOCUMENT>, <GOODS SHIPMENT-ADDITIONAL REFERENCE> [if the information is related to the whole Shipment, there's no need to repeat it at Item level per each Item; same ap-plies in case the Declaration contains only one Goods Item, except for writing off information that shall be used always at goods item level].
    - Goods Shipment Item related information shall be recorded under <GOODS SHIPMENT-GOODS SHIPMENT ITEM-PREVIOUS DOCUMENT>, <GOODS SHIPMENT-GOODS SHIPMENT ITEM-ADDITIONAL INFORMATION>, <GOODS SHIPMENT-GOODS SHIPMENT ITEM-SUPPORTING DOCUMENT>, <GOODS SHIPMENT-GOODS SHIPMENT ITEM-TRANSPORT DOCUMENT>, <GOODS SHIPMENT- GOODS SHIPMENT ITEM-ADDITIONAL REFERENCE>
    - Consignment related information shall be recorded under <GOODS SHIPMENT-CONSIGNMENT-TRANSPORT DOCUMENT> [if the information is related to the whole Consignment, there's no need to repeat it at Item level per each Item; same applies in case the Declaration contains only one Goods Item]

# RULE G0009

Description (EN) |
    Using the relevant Union code, enter the code for the Member State where the goods are located at the time of release into the customs procedure. However, where it is known at the time of drawing up the customs declaration, that the goods will be dispatched to another Member State after the release, enter the code for this latter Member State.
    Where goods are imported with a view to place them under the inward processing procedure, the Member State of destination shall be the Member State where the first processing activity is carried out.

# RULE G0010

Description (EN) |
    The valuation indicators should be declared considering the contractual conditions of the transaction.
    The valuation indicator code comprises four digits, each of which being either a '0' or a '1'. Each '1' or '0' digit reflects whether or not a valuation indicator is relevant to the valuation of the goods concerned.
    1st digit: Party relationship, whether there is price influence or not
    2nd digit: Restrictions as to the disposal or use of the goods by the buyer in accordance with Article 70(3)(a) of the Code.
    3rd digit: Sale or price is subject to some condition or consideration in accordance with Article 70(3)(b) of the Code.
    4th digit: The sale is subject to an arrangement under which part of the proceeds of any subsequent resale, disposal or use accrues directly or indirectly to the seller.
    Example: Goods subject to party relationship, but not to any of the other situations defined under 2nd, 3rd and 4th digits would entail the use of code combination '1000'

# RULE G0019

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

# RULE G0021_AIS

Description (EN) |
    This Data Item can take the value '0' (zero) in the following cases:
    a. a document number is missing, it shall not be filled in with a dummy number (dummy values are generally avoided);
    b. the length of a document number exceeds the allowed 70 characters, it is also preferable not to truncate the document reference number;
    c. a missing document reference number (due to the above or any other case) is not a valid reason for the rejection of the declaration.

# RULE G0031

Description (EN) |
    Enter the authorisation number of the warehouse or temporary storage facility concerned.

# 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 G0113

Description (EN) |
    The CC qualifier in DG Guarantee Reference is referring either to GRN or to Other guarantee reference, depending which of these data items is used.

# RULE G0349

Description (EN) |
    The measurement units and qualifiers defined in TARIC shall be used.

# RULE G0616

Description (EN) |
    Member States may waive this information where the customs value of the goods in question cannot be determined under the provisions of Article 70 of the Code. In such cases the declarant shall furnish or cause to be furnished to the customs authorities such other information as may be requested for the purposes of determining the customs value. [DA note 10]

# RULE G0617

Description (EN) |
    This information is not to be provided when customs administrations calculate duties on behalf of economic operators on the basis of information elsewhere in the declaration. It is otherwise optional for the Member States. [DA note 11]

# RULE G0618

Description (EN) |
    This information is not required for goods eligible for relief from import duties, unless the customs authorities consider it necessary for the application of the provisions governing the release for free circulation of the goods concerned [DA note 12]

# RULE G0620

Description (EN) |
    Except where it is essential for the correct determination of the customs value, the Member State of acceptance of the declaration shall waive the obligation to provide this information, where the customs value of the imported goods in a consignment does not exceed EUR 20 000 provided that they do not constitute split or multiple consignments from the
    same consignor to the same consignee,
    OR where the importation is of a non-commercial nature
    OR in case of continuing traffic in goods supplied by the same seller to the same buyer under the same commercial conditions.
    [DA note 14]

# RULE G0628

Description (EN) |
    In case preferential treatment is applied (the first digit of <Preference> (D.E. 14 11 000 000) IN ['2', '3']), this information is required only where it is different to the country of preferential origin.
    [DA note 20]

# RULE G0631

Description (EN) |
    This information shall only be used in case the declaration for temporary storage or the customs declaration to place the goods under a special procedure other than transit is lodged at a customs office different to the supervising customs office as indicated in the respective authorisation. [DA note 23]

# RULE G0641

Description (EN) |
    This data element must not be provided where the import formalities are carried out at the point of entry into the customs territory of the Union [DA note 32]

# RULE G0642

Description (EN) |
    IF the data item/data group is used and has the same value(s) for all other goods items
    THEN the data group/data item on GS level is used,
    ELSE the data group/data item on SI level is used.

# RULE G0647

Description (EN) |
    For CCI systems that cannot retrieve the Access Code from other guarantee systems, the following applies:
    IF 'Guarantee Type' = '0', '1', '2', '4' AND Declarant.identificationNumber <> PersonProvidingAGuarantee.identificationNumber
    THEN 'Access code' = 'R'
    ELSE 'Access code' = 'O'

# RULE G0651

Description (EN) |
    The Member State of acceptance of the declaration may waive the obligation to provide this information where it is in the position to assess it correctly and has implemented calculation routines to provide a result compatible with statistical requirements. [DA note 40]

# RULE G0654

Description (EN) |
    This data group/data item is optional and economic operators may decide to supply.

# RULE G0656

Description (EN) |
    This data element may be Required only in cases when the rate of exchange is fixed in advance by a contract between the parties concerned.
    IF <Invoice Currency> is present AND <Exchange rate> is fixed in advance by a contract between the parties concerned
    THEN <Exchange rate> = 'O'
    ELSE <Exchange rate> = 'N'

# RULE G0671

Description (EN) |
    Where the buyer and the importer are identical this information does not need to be provided. Where the buyer is different to the person provided in D.E. 13 04 000 000 Importer, enter the name and address of the buyer of the goods where his EORI number is not available to the declarant. In case the customs value is calculated in accordance with Article 74 of the Code, this information shall be provided, IF available.

# RULE G0672

Description (EN) |
    Where the seller and the exporter are identical this information does not need to be provided. Where the seller is different to the person provided in D.E. 13 01 000 000 Exporter, enter the full name and address of the seller of the goods, IF his EORI number is not available to the declarant. In case the customs value is calculated in accordance with Article 74 of the Code, this information shall be provided, IF available.

# RULE G0673

Description (EN) |
    This data element shall only be used when a document is used for write-off.

# RULE G0880

Description (EN) |
    IF the VAT will be paid in the VAT return, provide the VAT identification number of the person concerned. When procedure code 42 or 63 is used, the information required by Article 143 (2) of Directive 2006/112/EC shall be entered - VAT Identification Number must be provided for the Role code FR2 (Customer), and either FR1 (Importer) or FR3 (Tax Representative).

# RULE G0881

Description (EN) |
    This data element shall be used when a document is used for write-off. In other cases where applicable.

# RULE G0901

Description (EN) |
    Where the goods concerned are subject to a TARIC measure in relation with a CUS code, the code CUS shall be provided.

# RULE G0904

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

# RULE G0907

Description (EN) |
    In the cases where Article 166(2) of the Code (simplified declarations based on authorisations) is applicable, Member States may waive the obligation to provide this information where the conditions prescribed in the authorisations associated with the procedures concerned allow them to defer the collection of this data element in the supplementary declaration.

# RULE G0918

Description (EN) |
    For Centralised Clearance at Import where more than one MS is involved, the information relating to the national codes shall be provided for the Authorising and Presentation MS [DA note 58]

# RULE G0920

Description (EN) |
    This data group is to be provided when an authorisation exists according to the relevant section of the Commission Delegated Regulation (EU) 2015/2446 Annex A Title I Chapter 1. [DA note 60]

# RULE G0921

Description (EN) |
    CC qualifier is required only for national SCI / PCI codes and can be empty for common European codes. IF PCI requires a common European code, this should also use the CC qualifier. SCI shall validate and manage the codes with no CC qualifier and the codes with SCI CC qualifier, while PCI shall validate and manage the codes with PCI CC qualifier.

# RULE G0922

Description (EN) |
    This information shall relate to the situation at the moment when the declaration is made.

# RULE G0923

Description (EN) |
    The CC qualifier in this DG shall refer to the Region of destination.

# RULE G0924

Description (EN) |
    These DE's are only needed IF there is more than one previous document to write-off in the same goods item. In case only one previous document has to be written-off, THEN the same elements already available in the declaration can be used.

# RULE G0925

Description (EN) |
    Not for use in the case of postal consignments or carriage by fixed transport installations [DA note 34].

# RULE G0929

Description (EN) |
    IF neither a commercial transaction (e.g. sale or processing), nor a stoppage unrelated to the transport of goods has taken place in an intermediate country, enter the relevant Union code to indicate the country from which goods were initially dispatched to the Member State in which the goods are located at the time of their release into the customs procedure. IF such a stoppage or commercial transaction has taken place, indicate the last intermediate country. For the purpose of this data requirement, a stoppage to enable consolidation of the goods en-route shall be considered as being related to the transport of the goods.

# RULE G0930

Description (EN) |
    For CCI declarations, the Authorisation corresponding to the Requested procedure code must be filled-in at Declaration level, with the exception of End Use authorisation. For End Use (Requested procedure 44), IF the same Authorisation is covering all items, it must be declared at Declaration level; otherwise, it must be declared at Item level. The Authorisation corresponding to the Previous procedure (IF any) must always be filled-in at Item level.

# RULE G0981

Description (EN) |
    Enter the date when the goods were entered in the declarant's records.

# RULE G0984

Description (EN) |
    In case of declarations for the introduction of goods in the context of trade with special fiscal territories, this information shall only be required in case of commercial transactions involving at least two Member States. [DA note 24]

# RULE G0985

Description (EN) |
    When the requested procedure is 51 or 53 THEN the DE is required for completion only where Union legislation so provides. [DA note 16]

# RULE G0999

Description (EN) |
    If the 'Requested procedure' = '07', '45', '68','95','96' when goods will be placed in a non-customs warehouse, e.g. tax warehouse with "type" "Y" the authorisation number for tax warehouse should be provided under DG Warehouse.

# RULE GN0001

Description (EN) |
    Active means of transport shall be declared first in the sequence (with sequenceNumber = 1).

# RULE R0007

Description (EN) |
    Each 'Declaration goods item number' is unique throughout the declaration. The items shall be numbered in a sequential fashion, starting from '1' for the first item and incrementing the numbering by '1' for each following item.

# RULE R0010

Description (EN) |
    IF a specific dataset is declared at D/GS level THEN it must not be duplicated at SI level.

# RULE R0012

Description (EN) |
    IF this DG/DI is declared at SI level (in any Goods Item) THEN it cannot be declared at GS level ELSE IF this DG/DI is declared at GS level THEN it cannot be declared at SI level.

# RULE R0014

Description (EN) |
    The Method of payment provided in the declaration at "SI" level should be one and the same for all Goods Items included in the declaration.

# RULE R0364

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

# RULE R0432

Description (EN) |
    The LRN, Customs Office of Presentation, Declarant and Representative in the presentation notification (IE432) should be the same as the ones provided in the pre-lodged CCI declaration (IE415 type D or F)

# RULE R0520

Description (EN) |
    /*/Representative/identificationNumber must NOT BE EQUAL to /*/Declarant/identificationNumber

# RULE R0521

Description (EN) |
    Only value '2' is valid for this field

# RULE R0596

Description (EN) |
    IF ADDITIONAL DECLARATION TYPE in ['X', 'Y', 'U'], the following updates are not allowed with reference to the current (latest) version of the values (following the Amendment(where applicable), IF it is the case) of the related Simplified declaration ('ADDITIONAL DECLARATION TYPE 'C'):
          'No update allowed for <IMPORTER>
          No update allowed for <DECLARANT>
          No update allowed for <PERSON PAYING CUSTOMS DUTY>
          No update allowed for <CUSTOMS OFFICE OF PRESENTATION>
          No update allowed for <IMPORT OPERATION.Declaration type>
          No update allowed for <ADDITIONAL FISCAL REFERENCE>
          No update allowed for <COMMODITY CODE.Harmonized system subheading code>
          No update allowed for <PROCEDURE. Requested procedure>
          No update allowed for <PROCEDURE. Previous procedure>

# RULE R0597

Description (EN) |
    IF ADDITIONAL DECLARATION TYPE in ['V', 'Z'], the following updates are not allowed with reference to the values provided in the Presentation Notification in case of EIDR:
          No update allowed for <DECLARANT>
          No update allowed for <CUSTOMS OFFICE OF PRESENTATION>
          No update allowed for <AUTHORISATION. Reference number >
          No update allowed for <PROCEDURE. Requested procedure>
          No update allowed for <PROCEDURE. Previous procedure>
          No update allowed for <LOCATION OF GOODS>.

# RULE R0764

Description (EN) |
    IF the Additional Declaration Type is U or V THEN the Multiplicity of the Goods Shipment is up to 999x ELSE it is 1x

# RULE R0765

Description (EN) |
    IF Additional declaration type is in ['X', 'Y', 'U'], one of the MRN declared as Previous Document (IE415.PREVIOUS DOCUMENT.Reference number) at GS level in the Supplementary Declaration must be the MRN of the Simplified Declaration.

# RULE R0766

Description (EN) |
    IF Additional declaration type is in ['V', 'Z'], one of the MRN declared as Previous Document (IE415.PREVIOUS DOCUMENT.Reference number) at GS in the Supplementary Declaration must be the MRN of the Presentation Notification (IF any).

# RULE R0767

Description (EN) |
    Each 'Goods item number' is unique throughout the goods shipment. The items shall be numbered in a sequential fashion, starting from '1' for the first item and increment the numbering by '1' for each following item in the same way as they are declared in the original simplified customs declaration or in the customs declaration made via EIDR.

# RULE R0868

Description (EN) |
    When the Additional declaration type is Y or U , THEN the D.E. Type is NMRN IF it is Z or V , THEN the D.E. Type should be NCLE.

# RULE R0884

Description (EN) |
    This information shall only be provided for entry into the declarants
    records and only IF the discharge of the goods under temporary storage
    concerns only parts of the declaration for temporary storage lodged
    previously in relation with the goods concerned [DA note 25].

# RULE R0902

Description (EN) |
    The date provided cannot be in the future

# RULE R0906

Description (EN) |
    The country code of the CC qualifier must be identical with either the SCI country code or the PCI country code.

# RULE R0907

Description (EN) |
    No amendment allowed for <REPRESENTATIVE>
    No amendment allowed for <DECLARANT>
    No amendment allowed for <CUSTOMS OFFICE OF PRESENTATION>
    No amendment allowed for <IMPORT OPERATION.MRN>
    No amendment allowed for <IMPORT OPERATION.LRN>
    No amendment allowed for <IMPORT OPERATION.Declaration type>
    No amendment allowed for <IMPORT OPERATION.Additional declaration type>
    Restrictions should not apply to amendments sent for Customs Declarations with Additional declaration type 'D' or 'F'

# RULE R0928

Description (EN) |
    For this DI only a valid EORI or TCUIN shall be used.
    The EORI/TCUIN values should comply with the following pattern:
    <xs:pattern value='[A-Z][2][\x21-\x7E][1,15]'/>

# RULE R0933

Description (EN) |
    IF <Additional declaration type> IN ['C', 'F']
    THEN this DG shall contain at least one valid /Authorisation/referenceNumber which includes 'SDE'

# 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 R0995

Description (EN) |
    For this DI only an EORI number is valid.

# RULE R0995_AIS

Description (EN) |
    For this DI only an EORI number is valid.
    If the customs declaration is submitted via the Web Client, a valid CRSKey may also be provided.

# RULE R0998

Description (EN) |
    IF CCI (i.e. <CustomsOfficeOfPresentation> is used)
    THEN this DG shall contain at least one valid /Authorisation/referenceNumber which includes 'CCL'.

# RULE RN0001

Description (EN) |
    Authorisation for communication with Customs office of import, which was filled into Envelope,
    must correspond with Declarant/Representative and Customs office of import

# RULE RN0002

Description (EN) |
    IF NOT international CCI THEN this DG can be declared only at GoodsShipment level.

# RULE RN0003

Description (EN) |
    IF /*/GoodsShipment/AdditionalFiscalReference/role = 'FR5'
    THEN <AdditionalProcedure> = 'F48'

# RULE RN0004

Description (EN) |
    IF <CustomsOfficeOfPresentation> = CZ or is not not used THEN following rule should apply:
    IF <Type of location> = 'A'
    THEN <Qualifier of identification> = 'V', 'X', 'Z'
    ELSE IF <Type of location> = 'B'
    THEN <Qualifier of identification> = 'Y'
    ELSE IF <Type of location> = 'C'
    THEN <Qualifier of identification> = 'X', 'Z'
    ELSE IF <Type of location> = 'D'
    THEN <Qualifier of identification> = 'Z'

# RULE RN0005

Description (EN) |
    IF <Additional procedure> = 'F47'
    THEN only one repeat of this DG is permitted (i.e. only a single goods shipment item is permitted in the declaration).

# RULE RN0006

Description (EN) |
    <Requested procedure> and <Previous procedure> must be the same for all items in the declaration.

# RULE RN0007

Description (EN) |
    IF <Declaration type> = 'CO'
    THEN this DI = 'F15'

# RULE RN0008

Description (EN) |
    IF postal consignment THEN values '5xxx' are not permitted in this field, excluding the value of '5820'

# RULE RN0009

Description (EN) |
    IF <Requested procedure> NOT IN [42, 63]
    THEN <Country of destination> must be the country of COIMP (if not CCI) or the country of PCI (if CCI).

# RULE RN0010

Description (EN) |
    /*/Representative/identificationNumber must NOT BE EQUAL to /*/Importer/identificationNumber

# RULE RN0011

Description (EN) |
    The '00100' shall be declared only on the GS level.

# RULE RN0012

Description (EN) |
    IF <Preference> = '4xxx'
    THEN <Additional procedure> = 'F16'

# RULE RN0013

Description (EN) |
    IF <referenceNumber> is MRN
    THEN the following applies:
    	IF <Additional declaration type> IN ['D', F']
    	THEN this document cannot be stored yet in the temporary storage
    	ELSE this document must be stored and not written-off in the temporary storage.

# RULE RN0014

Description (EN) |
    IF not CCI
    THEN <LocationOfGoods/CustomsOffice/referenceNumber> must belong to the same customs office as <CustomsOfficeOfImport>.

# RULE RN0015

Description (EN) |
    Only values from DALPOD_A, DRUPODKL_A or TYPRDOK_A codelists are permitted.

# RULE RN0016

Description (EN) |
    IF the previous document is a temporary storage declaration (i.e. <type> IN ['N337', 'N355', 'N8xx', 'N952']) and the <quantity> element is provided
    THEN <measurementUnitAndQualifier> = 'KGM'.

# RULE RN0017

Description (EN) |
    DI 'measurementUnit' + 'measurementUnitQualifier' in this DG can not be equal to */GoodsShipmentItem/Commodity/CalculationOfTaxes/DutyAndTax/TaxBase/measurementUnitAndQualifier

# RULE RN0018

Description (EN) |
    Only those values shall be used for which there is a code in SET UDV with an identical 5th digit and whose 1st to 4th digits correspond to the <Requested procedure> and <Previous procedure>.

# RULE RN0019

Description (EN) |
    ECeP declaration must contain exactly one previous document, type of the document is N750 or N337.

# RULE RN0020

Description (EN) |
    For eCeP declarations the reference number can't be already used in another valid or written of H7.

# RULE RN0021

Description (EN) |
    IF <addtional procedure> = 'F49'
    THEN declarant must hold a valid authorisation for the special procedure pro Low-Value Import.

# RULE RN0021_ZDCP

Description (EN) |
    IF <addtional procedure> = 'F49'
    THEN declarant must hold a valid authorisation for the special procedure pro Low-Value Import.

# RULE RN0022

Description (EN) |
    IF <Previous procedure> = '51'
    THEN there must be <Authorisation> on the GSI level with type 'C601' (IPO).
    IF <Previous procedure> = '53'
    THEN there must be <Authorisation> on the GSI level with type 'C516' (TEA).
    IF <Previous procedure> = '54'
    THEN there must be <Authorisation> on the GSI level with type 'C601' (IPO).
    IF <Previous procedure> = '71'
    THEN there must be <Authorisation> on the GSI level with type 'C517' (CWP) or 'C518' (CW1) or 'C519' (CW2).

# RULE RN0023

Description (EN) |
    IF <requestedProcedure> = '71'
    THEN
       IF <Authorisation.type> = 'C517' THEN <Warehouse.type> = 'U'
       IF <Authorisation.type> = 'C518' THEN <Warehouse.type> = 'R'
       IF <Authorisation.type> = 'C519' THEN <Warehouse.type> = 'S'

# RULE RN0025

Description (EN) |
    Value '1' MUST be used in cases where the declarant has received a request to correct previous documents. Only previous document data can be corrected.
    Value '2' MUST be used in cases where the declarant has received a request to correct a guarantee. Only guarantee data can be corrected.

# RULE RN0026

Description (EN) |
    IF national CCI OR NOT CCI
     THEN value in this field shall have length of exactly 2 characters.

# RULE RN0027

Description (EN) |
    IF value in this field has length of exactly 2 characters THEN only values from ZEME_A codelist are permitted.

# RULE RN0028

Description (EN) |
    IF /GoodsShipment/GoodsItem/Procedure/additionalProcedure = 'F48'
    THEN /GoodsShipment/AdditionalFiscalReference/role = 'FR5'

# RULE RN0029

Description (EN) |
    IF <requested procedure> = 71 THEN this D.E. contains reference number of the corresponding 'CWP'/'CW1'/'CW2' authorisation

# RULE RN0030

Description (EN) |
    In CCI declarations, the <PreviousDocument> group may occur a maximum of 99 times.

# RULE RN0031

Description (EN) |
    This data element must be present EITHER on any GSI OR on all GSI's.

# RULE RN0032

Description (EN) |
    IF NOT international CCI AND <Additional declaration type> IN ['U', 'V']
    THEN 'role' and 'VATIdentificationNumber' in this DG must be the same for all shipments in the declaration

# RULE RN0033

Description (EN) |
    IF <Additional declaration type> IN ['X', 'Y', 'U', 'V', 'Z']
    THEN MRN present in this DI shall not be of a simplified declaration already supplemented by another valid supplementary declaration.

# RULE RN0034

Description (EN) |
    Only values 'FR2', 'FR5' and 'FR7' are permitted in this field.

# RULE RN0035

Description (EN) |
    Only 'FR5' is permitted in this field.

# RULE RN0036

Description (EN) |
    This value must be unique in the declaration. Only one repeat of DG 'Guarantee' per each guaranteeType is permitted.

# RULE RN0037

Description (EN) |
    IF <Requested procedure> = '44' (end use) AND <Guarantee type> IN ['0', '1']
    THEN at least one repeat of this DG with <type> = '5004' is required.
    (Type '5005' is optional)

# RULE RN0038

Description (EN) |
    IF 'type' is in ['5004', '5005']
    THEN value in this field must be one of the GRN present in .../Guarantee/GuaranteeReference/GRN

# RULE RN0039

Description (EN) |
    In the CZ432 message, there must be all goods shipment items as in the original declaration.

# RULE RN0040

Description (EN) |
    IF <Requested procedure> = '44' (end use) and <Quota order number> is present
    THEN one repeat of this DG with <type> = '5002' and non-empty <referenceNumber> is required.

# RULE RN0041

Description (EN) |
    */LocationOfGoods/authorisationNumber must be identical to one of the valid codes of authorised places agreed by the Customs.  Possible error codes for violation - see ASEOCHB codelist.

# RULE RN0042

Description (EN) |
    <GOODS SHIPMENT ITEM.PROCEDURE.requestedProcedure> may be amended only in following cases:
    - A free circulation procedure may be amended only by another free circulation procedure [01, 07, 40, 42, 43, 44, 45, 46, 48, 61, 63, 68];
    - An inward processing procedure [51], a temporary admission procedure [53] and a customs warehousing procedure [71] cannot be amended.

# RULE RN0043

Description (EN) |
    <Gross mass> must be greater than or equal to <Net mass>.

# RULE RN0045

Description (EN) |
    Values '5001', '5002', '5003', '5221', '5223', '5810', '5820' and '5881' may be declared only on GoodsShipmentItem level

# RULE RN0046

Description (EN) |
    IF NOT dataset IN ['H6', 'H7'] OR NOT CD401B message
    THEN the customs value (AdditionalReference.type = '5810') must be present.

# RULE RN0047

Description (EN) |
    Values '5004' and '5005' may be declared only on GoodsShipment level

# RULE RN0048

Description (EN) |
    IF <type> IN ['5003', '5881', '5810', '5820'] THEN only positive integer value is permitted in this field.
    IF <type> IN ['5001', '5002'] THEN only value from SET CL603 is permitted in this field.

# RULE RN0049

Description (EN) |
    Only the first 3 characters of this DI are supposed to be validated against codelist MJT.
    The rule is not validated when ccQualifierForMeasurementUnitAndQualifier contains country code other than "CZ".

# RULE RN0050

Description (EN) |
    This DG shall NOT contain two instances with the same value of "type". This rule does not apply to type "5223".

# RULE RN0051

Description (EN) |
    Requested procedure for EIR can't be in [42,63,07,45].

# RULE RN0052

Description (EN) |
    IF (addtionalDeclarationType=[B,E,X] OR dataset=[H6,H7])  THEN CCL authorisation can not be used (Authorisation.type<>'C513').

# RULE RN0053

Description (EN) |
    There can be at most one */DeferredPayment where CCQualifier is empty or CCQualifier = 'CZ'

# RULE RN0054

Description (EN) |
    IF <type> IN ['NMRN', 'N337', 'N355', 'N8xx', 'N952'] THEN <referenceNumber> must be MRN.
    IF <type> = 'NCLE' THEN <referenceNumber> must be MRN or string in the yyyymmdd-aaaaa format where aaaaa is a sequence number (e.g. 20251231-00001).

# RULE RN0055

Description (EN) |
    After the supplementary customs declaration has been submitted, amendments are made to the supplementary customs declaration, not to the supplemented simplified declaration.

# RULE RN0056

Description (EN) |
    IF <type> IN ['C516', 'C517', 'C601', 'C990', 'N990'] THEN EORI ID holderOfTheAuthorisation must be equal to EORI ID Declarant

# RULE RN0057

Description (EN) |
    The value 'QU' for CZ documents is allowed ONLY IF this document is registered in SINWIN

# RULE RN0060

Description (EN) |
    IF <requestedProcedure> IN ['44', '51', '53', '71']
    THEN <additionalProcedure> = '999' is not allowed.

# RULE RN0061

Description (EN) |
    IF <type> IN ['C512', 'C513', 'C514', 'C518', 'C519']
    THEN IF EORI ID Declarant <> EORI ID Importer (indirect representation)
        THEN EORI ID holderOfTheAuthorisation must be equal to EORI ID Declarant or EORI ID Importer
        ELSE EORI ID holderOfTheAuthorisation must be equal to EORI ID Declarant

# RULE RN0063

Description (EN) |
    The total instrinsic value for all items must not exceed 150 EUR — converted according to the annual EUR exchange rate for determining the limits under Article 48(2) of IA 2015/2447.

# RULE RN0064

Description (EN) |
    <methodOfPayment> = 'E' if and only if <deferredPayment> is used

# RULE RN0065

Description (EN) |
    Each 'GRN' must be unique throughout the declaration.

# RULE RN0077

Description (EN) |
    Possible values for <methodOfPayment> are 'H', 'A', 'B', 'E'.

# RULE RN0079

Description (EN) |
    The value of goods on the postal customs declaration (dataset H6) must be less than or equal to 1000 EUR.

# RULE RN0080

Description (EN) |
    The value of <additionalProcedure> shall be one of the following: 'F48', 'F49', 'F53', or '0D0'.

# RULE RN0081

Description (EN) |
    IF the commodity code (/Commodity/CommodityCode/harmonizedSystemSubheadingCode) begins with 8701, 8702, 8703, 8704, 8705, or 8711,
    THEN the group <Additional Reference>(AdditionalReference) of type '5223' must exist, in which the data element <Reference Number> must contain the vehicle's VIN.

# RULE RN0083_ZDCP

Description (EN) |
    <totalTaxAmount> must be equal to the sum of the values provided in the tax-related data elements, i.e. the sum of all <TaxBasic> and <TaxReduced> groups.

# RULE RN0084

Description (EN) |
    IF the previous document is stored in the temporary storage
    THEN customs office of the import declaration must be equal to the customs office of the temporary storage declaration.

# RULE RN0085_ZDCP

Description (EN) |
    Value of “GRN (Guarantee Reference Number)” element must correspond to one of the guarantee reference numbers for the customs debt specified in the relevant authorisation for the special procedure for the import of low-value goods.

# RULE RN0092

Description (EN) |
    The value of this element must correspond to the value of the element  <originalGoodsItemNumber> of the relevant corrected item of goods (group /GoodsShipment/GoodsShipmentItem) from the CZ429 message or, in the case of an existing correction after release, from the last sent CZ404 message.
    If this element is not used at all in the given shipment of goods (group /GoodsShipment) and it is not a new item, the link to a specific item of goods of the relevant amended customs declaration is made according to the goodsItemNumber or declarationGoodsItemNumber element (in cases where the goodsItemNumber element is not specified).

# RULE RN0093

Description (EN) |
    IF it is a Czech deferred payment (i.e. <ccQualifier> = 'CZ' or is empty)
    THEN it must have a minimum length of 6 characters.

# RULE RN0095

Description (EN) |
    The maximum value is today + 24 months

# RULE RN0096

Description (EN) |
    The value of this element must correspond to the value of the element <originalGoodsItemNumber> of the relevant goods item (group /GoodsShipment/GoodsShipmentItem) of the supplemented customs declaration from the CZ429 message or, in the case of an existing amendment after release, from the last sent CZ404 message.
    If this element is not used at all in the relevant goods shipment (group /GoodsShipment), the link to a specific item of goods of the relevant supplemented customs declaration is established according to the goodsItemNumber or declarationGoodsItemNumber element (in cases where the goodsItemNumber element is not specified).

# RULE RN0097

Description (EN) |
    This element can only contain the values 'NMRN' or 'NCLE'.

# RULE RN0098

Description (EN) |
    In the <PreviousDocument> and <DeletedGoodsShipment> data groups, amendment after release must refer to all Goods Shipments from the CZ429C message (or CZ404C message if followed after CZ429C).

# RULE RN0099

Description (EN) |
    In the <GoodsShipmentItem> and <DeletedGoodsShipmentItem> data groups, the amendment after release must refer to all items of goods listed in the CZ429 message or the last CZ404 (sent after CZ429).

# RULE RN0102

Description (EN) |
    IF <Previous procedure> in [51,53,54,71,10,11,21,23]
    THEN there must exists PreviousDocument.type = 'NMRN' on GSI level
    ELSE there must not exists PreviousDocument.type = 'NMRN' on GSI level

# RULE RN0104

Description (EN) |
    IF <preference> = '5xx' THEN <additional procedure> IN ['F48', 'F49', 'F53'].
    On the other hand, IF <additional procedure> = 'F48' THEN <preference> = '5xx', and IF <additional procedure> IN ['F49', 'F53'] THEN <preference> ≠ '1xx'.

# RULE RN0105

Description (EN) |
    IF dataset H6
    THEN ImportDeclartion/declarationType

# RULE RN0106

Description (EN) |
    Value "CS" or "SK" is expected in ImportOperation/languageCode

# RULE RN0107

Description (EN) |
    IF <additional procedure> IN ['F48','F49','F53'] THEN
        EITHER <Supporting Document> of types 'C127', 'C128', 'C129' shall be provided,
        OR <Addtional Reference> of type 'Y081' and <Supporting document> of types 'C128' and 'C129' shall be provided
        OR none of the above documents shall be provided.

# RULE RN0112

Description (EN) |
    IF flat rate is used THEN sum of itemAmountInvoiced for all items or sum of postalValueAmount for all items must be under 700 EUR –  converted using the annual exchange rate to EUR for the purpose of determining thresholds pursuant to Article 48(2) of Commission Implementing Regulation (EU) 2015/2447 (see code lists KURZ and I_EUR).

# RULE RN0113

Description (EN) |
    The sum of the “Invoice line” for all items with <AdditionalProcedure> IN ['F48', 'F49', 'F53'] must not exceed EUR 150, converted using the annual exchange rate to EUR for determining the limits pursuant to Article 48(2) of Delegated Regulation (EU) 2015/2447 (see code lists KURZ and I_EUR).

# RULE RN0117

Description (EN) |
    The sum of the “Invoice line” for all items with <Additional procedure> IN ['C08', '08C'] must not exceed EUR 45, converted using the annual exchange rate to EUR for determining the limits pursuant to Article 48(2) of Delegated Regulation (EU) 2015/2447 (see code lists KURZ and I_EUR).

# RULE RN0118

Description (EN) |
    Value 'C506' is not permitted in this field. The 'DPO' authorisation may be declared in DG 'Deferred Payment'.

# RULE RN0122

Description (EN) |
    Only a VAT identification number registered in the Czech Republic for the importer EORI number may be provided.

# RULE RN0124

Description (EN) |
    IF there is GSI with preference 5xx
    THEN flatRate shall not be applied.

# RULE RN0125

Description (EN) |
    IF <DeferredPayment> is used
    THEN it shall contain a valid deferred payment authorisation corresponding to the declarant (or importer) and guarantee.

# RULE RN0127

Description |
    Zbožový kód složený z kódu položky harmonizovaného systému a kódu kombinované nomenklatury (pokud byla vyplněna) musí být platným zbožovým kódem v TARIC.

# RULE RN0132

Description (EN) |
    IF NOT international CCI THEN only one repeat of this DG is permitted.

# RULE RN0184

Description (EN) |
    Each 'Additional code' is unique throughout the goods shipment item.

# RULE RN0242

Description (EN) |
    This DG can only write off with the unit that was declared upon storage. IF the previous document has already been partially written off, THEN the write-off unit must correspond with the unit selected for the first write-off.

# RULE RN0264

Description (EN) |
    A supplementary declaration shall only write off a simplified declaration of the same procedure.

# RULE RN0265

Description (EN) |
    IF /*/PreviousDocument/type IN ['N337', 'N355']
    THEN this DI must be IN ['00', '10', '11', '21', '22', '23']

# RULE RN0270

Description (EN) |
    IF <Requested procedure> IN ['42', '63']
    THEN only value 'FR2' is permitted in this field.

# RULE RN0271

Description (EN) |
    IF 'role' = 'FR2' AND <Requested procedure> IN [42, 63]
    THEN 'VATIdentificationNumber' must be issued by member state other than CZ.

# RULE RN0285

Description (EN) |
    Value 'E' is not valid for this field.

# RULE RN0286

Description (EN) |
    Values 'A' or 'D' are expected for this field.

# RULE RN0295

Description (EN) |
    IF <Requested procedure> = '53'
    THEN this DI = 'Dxx'

# RULE RN0313

Description (EN) |
    IF Procedure is in [4600, 4800, 6x21, 6x22]
    THEN 'additionalProcedure' must be in ['B02', 'B03', 'B06', '08B', 'F01', 'F06', '999', '000']
    ELSE 'additionalProcedure' cannot be in ['B02', 'B03', 'B06', '08B']

# RULE RN0319

Description (EN) |
    Within one <GoodsShipmentItem>, there must not exist more <PreviousDocument> data groups with the same combination of the following data elements:
    <referenceNumber>, <goodsItemIdentifier>, <houseConsignmentSequenceNumber>, <transportDocumentReferenceNumber>, and <typeOfPackages> if applicable.

# RULE RN0325

Description (EN) |
    IF <Method of payment> = 'R'
    THEN */Guarantee/guaranteeType = '3'

# RULE RN0328

Description (EN) |
    IF <role> = 'FR5'
    THEN format of 'VATIdentificationNumber' must be [I][M][0-9]{10}

# RULE RN0330

Description (EN) |
    IF not CCI
    THEN
        IF <requested procedure> in ['42', '63']
        THEN
            'role' = 'FR2' and <VATIdentificationNumber> must not be 'CZ'
        ELSE (all other procedures)
            IF <additionalProcedure> = 'F48'
            THEN
                'role' = 'FR5'
            ELSE
                'role' = 'FR7'
                and <VATIdentificationNumber> must be 'CZ'

# RULE RN0335

Description (EN) |
    IF NOT international CCI AND <Previous procedure> is a special procedure
    THEN <GoodsShipmentItem> must contain at least one <Previous document> with 'referenceNumber' referencing a declaration of the same special procedure.

# RULE RN0348

Description (EN) |
    The first character of 'taricAdditionalCode' cannot be 'S' or 'R'.

# RULE RN0349

Description (EN) |
    The first character of 'nationalAdditionalCode' must be 'S' or 'R'.

# RULE RN0350

Description (EN) |
    Reference number value for customs office of import must correspond to the reference number in initial submit message.

# RULE RN0351

Description (EN) |
    IF 'measurementUnitAndQualifier' IN ['NAR', 'NPR', 'NCL', 'STP']
    THEN 'quantity' must be a whole number.

# RULE RN0364

Description (EN) |
    This DI can be EQUAL to 0 IF previous GoodsItem/numberOfPackages IS NOT EQUAL to 0
    ELSE this DI must be GREATER than 0

# RULE RN0393

Description (EN) |
    IF <Requested procedure> = '40' AND <Previous procedure> = '53'
    THEN all items in the declaration shall write off the same previous document in the temporary admission procedure

# RULE RN0410

Description (EN) |
    <AdditionalProcedure> must contain exactly one element <additionalProcedure> = 'F48' or 'F49' or 'F53'

# RULE RN0411

Description (EN) |
    The value in the <additionalProcedure> ('C07' or 'C08') must be identical across all items on the declaration. Combining codes 'C07' and 'C08' and '08C' on different items of the same declaration is not permitted.

# RULE RN0432

Description (EN) |
    Customs Office Of Import in the presentation notification (IE432) should be the same as the ones provided in the pre-lodged CCI declaration (IE415 type D or F)

# RULE RN0451

Description (EN) |
    IF <Additional declaration type> IN ['C', 'F']
    THEN declared commodity code (i.e. 'harmonizedSystemSubheadingCode' + 'combinedNomenclatureCode' + 'taricCode') cannot be listed in ZAKKOM codelist.

# RULE RN0508

Description (EN) |
    This DI can take the value '0' (zero) IF zero is a valid value for the declared measurement unit.

# RULE RN0509

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

# RULE RN0510

Description (EN) |
    The description of goods must correspond to the tariff classification of the goods and must therefore contain a numerical value from each group of numerical values listed in the OBLCISLO codelist from the more general CN to the most precisely defined CN.

# RULE RN0527

Description (EN) |
    IF <Previous procedure> = '53'
    THEN write-offs shall not combine items fully or partially released from customs duty'

# RULE RN0530

Description (EN) |
    IF declaration contains <Additional Information> = '00100' THEN it should be stated EITHER at Goods Shipment level (only ONCE) OR at Goods Item level for ALL Items

# RULE RN0598

Description (EN) |
    This DG shall contain at least one valid /Authorisation/referenceNumber which includes 'EIR'.

# RULE RN0631

Description (EN) |
    Supervising Customs Office must differ from Customs Office of Presentation (see G0631).

# RULE RN0632

Description (EN) |
    <Customs Office of Presentation> must differ from <Customs Office of Import>.

# RULE RN0686

Description (EN) |
    IF international CCI THEN:

    IF <Type of location> = 'A'
    THEN <Qualifier of identification> = 'T', 'U', 'V', 'W', 'Z'
    ELSE IF <Type of location> = 'B'
    THEN <Qualifier of identification> = 'T', 'U', 'W', 'X', 'Y'
    ELSE IF <Type of location> = 'C'
    THEN <Qualifier of identification> = 'T', 'U', 'W', 'X', 'Z'
    ELSE IF <Type of location> = 'D'
    THEN <Qualifier of identification> = 'T', 'U', 'W', 'Z'

# RULE RN0868

Description (EN) |
    IF <Additional declaration type> IN ['Z','V'] AND the EIR authorisation has WaiverOfThePresentationNotification set to true
    THEN the referenceNumber must be in the yyyymmdd-aaaaa format where aaaaa is a sequence number (e.g. 20251231-00001).

    IF <Additional declaration type> IN ['Z','V'] AND the EIR authorisation has WaiverOfThePresentationNotification set to false
    THEN there must be exactly one reference number in the MRN format, and any number of reference numbers in the yymmdd-aaaaa format.

# RULE RN0891

Description (EN) |
    The LRN is a unique identifier assigned by the declarant or the representative. It must be unique for each declarant.

# RULE RN0906

Description (EN) |
    Date provided must be in the future.

# RULE RN0932

Description (EN) |
    IF NOT EXISTS AdHocSimplifiedAuthorisation THEN:

    IF <Requested procedure> = '51'
    THEN this DG shall contain at least one valid referenceNumber which includes 'IPO'
    ELSE IF <Requested procedure> = '53'
    THEN this DG shall contain at least one valid referenceNumber which includes 'TEA''
    ELSE IF <Requested procedure> = '71'
    THEN this DG shall contain at least one valid referenceNumber  which includes 'CWP' or 'CW1' or 'CW2'
    ELSE IF <Requested procedure> IN ['46, 48']
    THEN this DG shall contain at least one valid referenceNumber which includes 'OPO''
    ELSE IF <Requested procedure> = '44' AND in DG AUTHORISATION at Item level does not exist any referenceNumber which includes 'EUS'
    THEN this DG shall contain at least one valid referenceNumber which includes 'EUS''

# RULE RN0932_CZ433C

Description (EN) |
    IF <Requested procedure> = '51'
    THEN this DG shall contain at least one valid referenceNumber which includes 'IPO'
    ELSE IF <Requested procedure> = '53'
    THEN this DG shall contain at least one valid referenceNumber which includes 'TEA''
    ELSE IF <Requested procedure> = '71'
    THEN this DG shall contain at least one valid referenceNumber  which includes 'CWP' or 'CW1' or 'CW2'
    ELSE IF <Requested procedure> IN ['46, 48']
    THEN this DG shall contain at least one valid referenceNumber which includes 'OPO''
    ELSE IF <Requested procedure> = '44' AND in DG AUTHORISATION at Item level does not exist any referenceNumber which includes 'EUS'
    THEN this DG shall contain at least one valid referenceNumber which includes 'EUS''

# RULE RN0933

Description (EN) |
    IF <Additional declaration type> IN ['V', 'Z']
    THEN this DG shall contain at least one valid referenceNumber which includes 'EIR'

# List of conditions

# Conditions

# CONDITION C0002

Description (EN) |
    IF this DG/DI is declared at SI level for at least one Goods Item
    THEN it must be declared in all Goods Items and it cannot be declared at GS level
    ELSE It must be declared at GS level.

# CONDITION C0060

Description (EN) |
    IF Type of packages is in SET CL181 THEN Shipping marks = 'O' AND Number of packages = 'N'
    ELSE IF Type of packages is in SET CL182 THEN Shipping marks = 'O' AND Number of packages = 'R'
    ELSE Shipping marks = 'R' AND Number of packages = 'R'

# CONDITION C0130

Description (EN) |
    IF international CCI
    THEN
        IF <GRN> = 'N'
        THEN <Other guarantee reference> = 'R' and <CC qualifier> = 'R'
        ELSE <Other guarantee reference> = 'N' and <CC qualifier> = 'O'
    ELSE
        IF <GRN> = 'N' AND <Guarantee type> <> '2'
        THEN <Other guarantee reference> = 'R'
        ELSE <Other guarantee reference> = 'N'

# CONDITION C0298

Description (EN) |
    IF <quantity> is PRESENT
    THEN <measurementUnitAndQualifier> = 'R'
    ELSE <measurementUnitAndQualifier> = 'N'

# CONDITION C0382

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

# CONDITION C0394

Description (EN) |
    IF <qualifierOfIdentification> = 'Z'
    THEN Address = "R", UNLOCODE = "N", CustomsOffice = "N", GNSS = "N", authorisationNumber = "N", EconomicOperator = "N", PostcodeAddress = "N"
    ELSE IF <qualifierOfIdentification> = 'X'
    THEN Address = "N", UNLOCODE = "N", CustomsOffice = "N", GNSS = "N", authorisationNumber = "N",  EconomicOperator = "R", PostcodeAddress = "N"
    ELSE IF <qualifierOfIdentification> = 'Y'
    THEN Address = "N", UNLOCODE = "N", CustomsOffice = "N", GNSS = "N", authorisationNumber = "R",  EconomicOperator = "N", PostcodeAddress = "N"
    ELSE IF <qualifierOfIdentification> = 'W'
    THEN Address = "N", UNLOCODE = "N", CustomsOffice = "N", GNSS = "R", authorisationNumber = "N",  EconomicOperator = "N", PostcodeAddress = "N"
    ELSE IF <qualifierOfIdentification> = 'V'
    THEN Address = "N", UNLOCODE = "N", CustomsOffice = "R", GNSS = "N", authorisationNumber = "N",  EconomicOperator = "N", PostcodeAddress = "N"
    ELSE IF <qualifierOfIdentification> = 'U'
    THEN Address = "N", UNLOCODE = "R", CustomsOffice = "N", GNSS = "N", authorisationNumber = "N",  EconomicOperator = "N", PostcodeAddress = "N"
    ELSE IF <qualifierOfIdentification> = 'T'
    THEN Address = "N", UNLOCODE = "N", CustomsOffice = "N", GNSS = "N", authorisationNumber = "N",  EconomicOperator = "N", PostcodeAddress = "R"

# CONDITION C0505

Description (EN) |
    IF <Country> is in SET CL505
    THEN <Postcode> = 'O'
    ELSE <Postcode> = 'R'

# CONDITION C0505_eCeP

Description (EN) |
    IF <Country> is in SET CL505
     OR message sent by eCeP
    THEN <Postcode> = 'O'
    ELSE <Postcode> = 'R'

# 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 C0617

Description (EN) |
    IF 'identificationNumber' is PRESENT AND is resolvable by the national application
    THEN this DG/DI = 'N'
    ELSE this DG/DI = 'R'

# CONDITION C0617_H7

Description (EN) |
    IF <identificationNumber> or <CRSKey> is used
    THEN this DG/DI = N
    ELSE this DG/DI = R

# CONDITION C0618

Description (EN) |
    IF <Requested procedure> = '71'
    THEN this DG/DI = 'N'
    ELSE this DG/DI = 'R', except where additional conditions or rules for the same DG/DI imply something else.

# CONDITION C0619

Description (EN) |
    IF <Requested procedure> = '71'
    THEN this DG/DI = 'N'
    ELSE this DG/DI = 'O'

# CONDITION C0623

Description (EN) |
    IF <Additional declaration type> IN ['B', 'C', 'F'] OR <Requested procedure> = '71'
    THEN this DG/DI = 'N'
    ELSE this DG/DI = 'O', except where additional conditions or rules for the same DG/DI imply something else.

# CONDITION C0624

Description (EN) |
    IF <Additional declaration type> IN ['B', 'C', 'F'] OR Requested procedure IN ['53', '71']
    THEN this DG / DI = 'N'
    ELSE this DG / DI = 'O'

# CONDITION C0625

Description (EN) |
    IF <Additional declaration type> IN ['B', 'C', 'F']
    THEN this DG/DI = 'N'
    ELSE this DG/DI = 'O', except where additional conditions or rules for the same DG/DI imply something else.

# CONDITION C0626

Description (EN) |
    IF <Requested procedure> = '71'
    THEN this DG/DI = 'R'
    ELSE this DG/DI = 'O', except where additional conditions or rules for the same DG/DI imply something else.

# CONDITION C0627

Description (EN) |
    IF <Additional declaration type> IN ['B', 'C', 'F']
    THEN this DG/DI = 'N'
    ELSE this DG/DI = 'R', except where additional conditions or rules for the same DG/DI imply something else.

# CONDITION C0628

Description (EN) |
    IF <Additional declaration type> IN ['D', 'F']
    THEN this DG/DI = 'O'
    ELSE this DG/DI = 'R'

# CONDITION C0630

Description (EN) |
    IF <Additional declaration type> IN ['A', 'D', 'Y',"U","X"] AND <Requested procedure> = '71'
    THEN this DG/DI = 'O'
    ELSE this DG/DI = 'R', except where additional conditions or rules for the same DG/DI imply something else.

# CONDITION C0646

Description (EN) |
    IF  <Mode Of Transport At The Border> is in SET {‘5’, ‘7’}
    THEN this DG/DI = 'N'
    ELSE this DG/DI = 'O''

# CONDITION C0654

Description (EN) |
    IF <Requested procedure code> = ‘71’
    THEN this DG/DI = 'O‘
    ELSE this DG/DI = 'R', except where additional conditions or rules for the same DG/DI imply something else.

# CONDITION C0691

Description (EN) |
    IF 'Additional declaration type' IN ['B', 'C', 'F'] OR 'Requested procedure' IN ['51', '53', '71'] OR 'Additional procedure' = 'F15'
    THEN this data group / data item is = 'O'
    ELSE this data group / data item = 'R'

# CONDITION C0697

Description (EN) |
    IF <Additional declaration type> = 'B', 'C', 'F', OR <Requested procedure> = '71' OR 'Additional procedure code' = 'F15'
    THEN this data group / data item = 'N'
    ELSE this data group / data item = 'O', except where additional conditions or rules for the same data group/attribute imply something else

# CONDITION C0699

Description (EN) |
    IF the first digit of <Preference> (D.E. 14 11 000 000) IN ['2', '3']
    THEN this DG/DI = 'R'
    ELSE this DG/DI = 'N'

# CONDITION C0710

Description (EN) |
    IF <Additional declaration type> IN ['A', 'D', 'Y', 'U', 'V', 'Z']
    THEN this data group / data element is = 'R'
    ELSE this data group / data element is = 'O'

# CONDITION C0715

Description (EN) |
    IF <Requested procedure code> IN ['53', '71'] OR <Additional procedure code> = 'F15'
    THEN this data group / data item = 'O'
    ELSE this data group / data item = 'R' except where additional conditions or rules for the same data group/attribute imply something else

# CONDITION C0728

Description (EN) |
    IF <Requested procedure> IN '[51', '71', '53'] OR <Additional procedure> = 'F15' OR <Additional declaration type> IN ['B', 'C', 'F']
    THEN this data group/data item = 'N'
    ELSE this data group/data item = 'O'

# CONDITION C0729

Description (EN) |
    IF <Additional declaration type> IN ['A', 'D', 'Y'] AND <Requested procedure> in ['71', '53']
    THEN this DG/DI = 'O'
    ELSE this DG/DI = 'R', except where additional conditions or rules for the same DG/DI imply something else.

# CONDITION C0730

Description (EN) |
    IF /CC428B/ImportOperation/declarationAcceptanceDate is PRESENT
    THEN <MRN> = 'R' AND <LRN> = 'N'
    ELSE <MRN> = 'N' AND <LRN> = 'R'

# CONDITION C0731

Description (EN) |
    IF <additional declaration type> = ["U", "V"]
    THEN this element = "R"
    ELSE this element = "N"

# CONDITION C0738

Description (EN) |
    IF ValuationMethod.Code = '1' for AT LEAST ONE ITEM
    THEN the data group / data item = 'R'
    ELSE this data group / data item = ‘O’ except where additional rules and additional conditions for the same data group/attribute imply something else.

# CONDITION C0810

Description (EN) |
    IF <Additional procedure> = 'F15'THEN this data group / data item = 'O'ELSE this data group / data item = 'R'

# CONDITION C0816

Description (EN) |
    IF 'Additional declaration type' = 'B', 'C', 'F' THEN this data group / data item = ‘N’ ELSE IF 'Additional procedure code' = 'F15' THEN this data group / data item = ‘O’ ELSE this data group / data item = ‘R’

# CONDITION C0820

Description (EN) |
    IF 'Additional procedure code' = 'F15' THEN this data group / data item = ‘O’ ELSE this data group / data item = ‘R’, except where additional conditions or rules for the same DG/DI imply something else.

# CONDITION C0829

Description (EN) |
    IF <Requested procedure> IN ['07',  '45',  '68', '95', '96'] THEN this data group / data item ='R' ELSE this data group / data item ='O' except where additional conditions or rules for the same data group/attribute imply something else.

# CONDITION C0834

Description (EN) |
    IF  <Requested Procedure code> IN ['51', '53', '71'] OR <Additional procedure code> = 'F15'
    THEN this data group / data item = 'N'
    ELSE IF  <Requested Procedure code> IN ['42', '63']  THEN this data group / data item = 'R' ELSE this data group / data item = 'O' except where additional conditions or rules for the same data group/attribute imply something else.

# CONDITION C0848

Description (EN) |
    IF /*/Authorisation/type IN ['C626', 'C627']
    THEN /*/Authorisation/holderOfTheAuthorisation = 'R'
    ELSE /*/Authorisation/holderOfTheAuthorisation = 'O'

# CONDITION C0852

Description (EN) |
    IF TaxBase/quantity is PRESENT
    THEN TaxBase/amount = 'N'
    ELSE TaxBase/amount = 'R'

# CONDITION C0869

Description (EN) |
    IF TARIC does not demand providing additional code(s)
    THEN this DG/DI = 'N'
    ELSE this DG/DI = 'R', except where additional conditions or rules for the same DG/DI imply something else.

# CONDITION C0905

Description (EN) |
    IF TARIC does not provide supplementary units
    THEN this DG/DI = 'N'
    ELSE this DG/DI = 'R', except where additional conditions or rules for the same DG/DI imply something else.

# CONDITION C0907

Description (EN) |
    IF /*/GoodsShipment/Consignment/TransportEquipment is PRESENT only once AND /*/GoodsShipment/Consignment/TransportEquipment/containerIdentificationNumber is PRESENT THEN this DG/DI = 'O'
    ELSE this DG/DI = 'R'

# CONDITION C0911

Description (EN) |
    IF Country of destination is in SET CL142,
    THEN Region of destination = "R"
    ELSE Region of destination = "N"

# CONDITION C0917

Description (EN) |
    This DI is Required if the code value for the corresponding Data Element (DE above the CC qualifier) is defined on national level and not part of the CS/RD2 codelists
    ELSE it is Optional.

# CONDITION C0918

Description (EN) |
    IF international CCI and <Region of destination> is not empty
    THEN <ccQualifier> = R
    ELSE <ccQualifier> = N

# CONDITION C0919

Description (EN) |
    IF first digit <Preference> IN ['1', '4', '5']
    THEN <countryOfOrigin> = R
    ELSE <countryOfOrigin> = O

# CONDITION C0921

Description (EN) |
    IF <Requested procedure> = '71'
    THEN this DG/DI = 'N'
    ELSE IF <Additional declaration type> IN ['B', 'C', 'F']
    THEN this DG/DI = 'O'
    ELSE this DG/DI = 'R'

# CONDITION C0926

Description (EN) |
    IF qualifierOfIdentification IN ['X', 'Y']
    THEN additionalIdentifier = 'O'
    ELSE additionalIdentifier = 'N'

# CONDITION C0930

Description (EN) |
    IF /CZ428C/ImportOperation/declarationAcceptanceDate is PRESENT
    THEN /*/ImportOperation/MRN = 'R' AND /*/ImportOperation/LRN = 'N' AND /*/ImportOperation/customsRegistrationNumber = 'N
    ELSE /*/ImportOperation/MRN = 'N' AND /*/ImportOperation/LRN = 'R' AND /*/ImportOperation/customsRegistrationNumber = 'R'

# CONDITION C0931

Description (EN) |
    IF <Additional declaration type> IN ['B', 'C', 'F'] OR <Requested procedure> = '71' OR <Mode Of Transport At The Border> is in SET [2, 5, 7]
    THEN this DG/DI = 'N'
    ELSE this DG/DI = 'R' except where additional conditions or rules for the same DG/DI imply something else

# CONDITION C0934

Description (EN) |
    IF <Requested procedure> = '44' AND in DG AUTHORISATION at Declaration level does not exist any referenceNumber which includes 'EUS'
    THEN this DG shall contain at least one valid referenceNumber which includes 'EUS'
    ELSE this DG = ‘O’

# CONDITION C0936

Description (EN) |
    IF <Additional declaration type> IN ['B', 'C', 'F'] or ‘Additional procedure’ = ‘F15’
    THEN this DG/DI = 'O'
    ELSE this DG/DI = 'R'

# CONDITION C0938

Description (EN) |
    IF Additional declaration type IN ['B', 'C', 'F'] OR Requested procedure IN ['51', '53', '71']
    THEN this DG / DI = 'N'
    ELSE this DG / DI = 'O'

# CONDITION C0939

Description (EN) |
    IF Type of packages is in SET CL181
    THEN Number of packages = 'N'
    ELSE Number of packages = 'R'

# CONDITION C0940

Description (EN) |
    IF <Additional declaration type> IN ['A', 'D', 'Y', ‘Z’, ‘U’, ‘V’] AND <Requested procedure> IN ['01', '07', '40', '42', '43', '44', '45', '46','48', '61', '63', '68']
    THEN this DG/DI = 'R'
    ELSE
       IF (<Additional declaration type> IN ['B', 'C', 'F']) OR <Requested procedure> = '71')
       THEN this DG/DI = 'N' ELSE this DG/DI = 'O'

# CONDITION CN0001

Description (EN) |
    IF EITHER <Additional information> = '00100' (on GS or GSI level) AND <Additional declaration type> IN ['A', 'D'] AND <Requested procedure> IN [44, 51, 53]
    OR <Additional declaration type> = 'B'
    THEN this DG/DI = 'R'
    ELSE this DG/DI = 'N'

# CONDITION CN0002

Description (EN) |
    IF NOT international CCI THEN this DG can be declared only at GoodsShipment level.

# CONDITION CN0003

Description (EN) |
    IF <WriteOffRequestOperation/MRN> is used
    THEN <declarationGoodsItemNumber> = R
    ELSE <declarationGoodsItemNumber> = O

# CONDITION CN0005

Description (EN) |
    IF postal consignment
    THEN this DG/DI = 'R'
    ELSE this DG/DI = 'N'

# CONDITION CN0006

Description (EN) |
    IF <Requested procedure> NOT IN ['51', '71'] AND calculated customs debt is of non-zero value
    THEN this DG/DI = 'R'
    ELSE this DG/DI = 'O'

# CONDITION CN0007

Description (EN) |
    IF <Requested procedure> IN [ '44', '51', '53','71']
    THEN
        IF there is warehouse measurement unit declared on the authorisation of the special procedure
        THEN <WarehouseMeasurementUnit> = R and it must be equal to that warehouse measurement unit
        ELSE <WarehouseMeasurementUnit> = N
    ELSE
        IF <Requested procedure> IN ['07', '45', '68']
        THEN <WarehouseMeasurementUnit> = O
        ELSE <WarehouseMeasurementUnit> = N

# CONDITION CN0008

Description (EN) |
    IF NOT international CCI THEN in a case of ICS2 or NCTS P5/6 documents, either 'transportDocumentReferenceNumber' or 'houseConsignmentSequenceNumber' may be used. Otherwise both are not used.

# CONDITION CN0010

Description (EN) |
    IF <Additional declaration type> IN ['B', 'C', 'F'] or <Declaration type> = 'CO' or <Additional procedure> = 'F15' or <Customs office of import> is an airport from ROLDOP codelist
    THEN this DG/DI = O
    ELSE this DG/DI = R

# CONDITION CN0011

Description (EN) |
    IF <Additional declaration type> = 'B' OR ['53','71']
    THEN this DI = 'O'
    ELSE this DI = 'R'

# CONDITION CN0012

Description (EN) |
    IF <previousProcedure> IN ['71','51','53']
    THEN this D.E. = R and contains reference number of previous special procedure
    ELSE this D.E. = O

# CONDITION CN0013

Description (EN) |
    IF this goods item is under quota AND <Additional procedure> NOT IN ['B', 'C', 'F']
    THEN this DI = 'O'
    ELSE this DI = 'N'

# CONDITION CN0016

Description (EN) |
    IF NOT international CCI AND 'referenceNumber' is a MRN of a declaration in temporary storage
    THEN either 'quantity' or 'numberOfPackages' must be used

# CONDITION CN0017

Description (EN) |
    IF 'guaranteeType' = '4'
    THEN this DI = 'R'
    ELSE this DI = 'N'

# CONDITION CN0018

Description (EN) |
    IF the message is lodged through eCeP
    THEN this d.g./d.i. is Required
    ELSE it is Not Used

# CONDITION CN0019

Description (EN) |
    IF the message is lodged through eCeP
    THEN this d.g./d.i. is Not used
    ELSE it is Required

# CONDITION CN0021

Description (EN) |
    IF <additionalDeclarationType> = 'B'
    THEN <AdHocSimplifiedAuthorisation.limitForSubmissionOfSuppDeclaration> = R
    ELSE <AdHocSimplifiedAuthorisation.limitForSubmissionOfSuppDeclaration> = N

# CONDITION CN0026

Description (EN) |
    IF the message is lodged through eCeP
    THEN this d.g. is Not Used
    ELSE this d.g. is Required

# CONDITION CN0027

Description (EN) |
    IF <additionalProcedure> IN ['F48', '0D0'] THEN <VATRateAdditionalCode> = N

# CONDITION CN0028

Description (EN) |
    IF the message is lodged through eCeP
    THEN this d.g./d.i. is Optional
    ELSE it is Required

# CONDITION CN0029

Description (EN) |
    IF <requestedProcedure> = '53' OR <declarationType> = 'CO'
    THEN <AdditionalProcedure> = R
    ELSE <AdditionalProcedure> = O

# CONDITION CN0030

Description (EN) |
    IF amendment after acceptance
    THEN <amendmentReason> = R
    ELSE <amendmentReason> = N.

# CONDITION CN0031

Description (EN) |
    At least authorisationNumber or address is required

# CONDITION CN0037

Description (EN) |
    IF <Requested procedure> = '44' (end use) AND <Guarantee type> IN ['0', '1']
    THEN this DG = R
    ELSE this DG = O

# CONDITION CN0038

Description (EN) |
    Either MRN or otherReferenceNumber must be used

# CONDITION CN0042

Description (EN) |
    IF <Requested procedure> = '51'
    THEN this DI/DG = 'R'
    ELSE this DI/DG = 'N'

# CONDITION CN0043

Description (EN) |
    IF <Requested procedure> = '53'
    THEN this DI/DG = 'R'
    ELSE this DI/DG = 'N'

# CONDITION CN0044

Description (EN) |
    IF <Additional Declaration Type> = 'B'
    THEN <AdHocSimplifiedAuthorisation/limitForDispatchOfEconomicImpactRegime>, <AdHocSimplifiedAuthorisation/detailsOfPlannedActivities>, <AdHocSimplifiedAuthorisation/PlaceOfProcessingOrUse>, <AdHocSimplifiedAuthorisation/SupervisingCustomsOfficeSP> = N
    ELSE these D.E.'s = R

# CONDITION CN0045

Description (EN) |
    IF <requestedProcedure> = '44'
    THEN <AdHocSimplifiedAuthorisation.CodesForSecuring> = R
    ELSE <AdHocSimplifiedAuthorisation.CodesForSecuring> = N

# CONDITION CN0046_ZDCP

Description (EN) |
    IF <TaxBasic> or <TaxReduced> exist
    THEN <totalTaxAmount> = R
    ELSE <totalTaxAmount> = N

# CONDITION CN0054

Description (EN) |
    This DI/DG can be use only in amendment after release.

# CONDITION CN0055

Description (EN) |
    IF <Additional declaration type> IN ['U', 'V'] AND data group <Previous Document>  with <type> in ['NMRN', 'NCLE'] on the GS level is present
    THEN <DeletedGoodsShipment> = O
    ELSE <DeletedGoodsShipment> = N

# CONDITION CN0056

Description (EN) |
    IF <Additional declaration type> IN ['U', 'V'] AND data group <Previous Document>  with <type> in ['NMRN', 'NCLE'] on the GS level is present
    THEN <originalGoodsItemNumber> = O
    ELSE <originalGoodsItemNumber> = N

# CONDITION CN0057

Description (EN) |
    IF <previousProcedure> IN ['51', '53', '54', '71'] AND <previousDocument/type> = 'NMRN'
    THEN this D.E. = R
    ELSE this D.E. = O

# CONDITION CN0060

Description (EN) |
    IF <DeferredPayment> is used
    THEN <Guarantee> = R
    ELSE <Guarantee> = O

# CONDITION CN0064

Description (EN) |
    IF 'guaranteeType' = '4' OR not validated in GMS ('guaranteeType' NOT IN {0,1,2,3})
    THEN this DI = 'N'
    ELSE this DI = 'R'

# CONDITION CN0065

Description (EN) |
    IF the message is lodged through eCeP
    THEN this DG = N
    ELSE IF <Declarant/identificationNumber> is empty THEN this DG = R ELSE this DG = O

# CONDITION CN0183

Description (EN) |
    IF this document is registered in SINWIN
    THEN this DI = 'R'

# CONDITION CN0209

Description (EN) |
    IF 'Guarantee Type' IN ['0', '1', '4']
    THEN this DI = 'R'
    ELSE IF 'Guarantee Type' = '3'
    THEN this DI = 'N'
    ELSE this DI = 'O'

# CONDITION CN0236

Description (EN) |
    IF <Mode Of Transport At The Border> = '7' OR <Inland Mode Of Transport> = '7' OR<additionalDeclarationType> IN ['D',  'F'] OR CCI THEN PreviousDocument is Optional on GSI level, else is Required.
    Especially, for <additionalDeclarationType> = 'D' there must be <PreviousDocuemnt> either on each GSI or on no GSI.

    IF <additionalDeclarationType> IN ['X', 'Y', 'U']
    OR <additionalDeclarationType> IN ['Z', 'V']  and the EIR authorisation has WaiverOfThePresentationNotification set to false
    THEN PreviousDocument on GS level is Required.

# CONDITION CN0236_H7

Description (EN) |
    IF <additionalDeclarationType> = 'D' THEN PreviousDocument is Optional on GSI level, else is Required.
    Especially, for <additionalDeclarationType> = 'D' there must be <PreviousDocuemnt> either on each GSI or on no GSI.

# CONDITION CN0259

Description (EN) |
    IF NOT international CCI AND 'guaranteeType' is not validated in GMS ('guaranteeType' NOT IN {0,1,2,3,4})
    THEN this DG = 'N'
    ELSE this DG = 'R'

# CONDITION CN0261

Description (EN) |
    IF NOT international CCI AND 'referenceNumber' is MRN
    THEN 'goodsItemIdentifier' = 'R'
    ELSE 'goodsItemIdentifier' = 'O'

# CONDITION CN0296

Description (EN) |
    IF CCI OR <Additional declaration type> IN ['C', 'Y', 'U', 'V', 'Z']
    THEN this DG/DI = 'R'
    ELSE IF <Requested procedure> IN ['44', '5x', '7x'] AND DG <Ad hoc simplified authorisation> is not present
    THEN this DG/DI = 'R'
    ELSE this DG/DI = 'O'

# CONDITION CN0334

Description (EN) |
    IF NOT international CCI
    THEN this DG/DI = 'N'
    ELSE this DG/DI = 'O'

# CONDITION CN0335

Description (EN) |
    IF CCI involving two different member states
    THEN this DG/DI = 'O'
    ELSE this DG/DI = 'N'

# CONDITION CN0336

Description (EN) |
    IF CCI involving two different member states AND PCI <> 'CZ'
    THEN this DG/DI = 'O'
    ELSE this DG/DI = 'N'

# CONDITION CN0374

Description (EN) |
    IF <Additional procedure> IN ['08C', 'F48', 'F49', '0D0']
    THEN this DG/DI = 'N'
    ELSE this DG/DI = 'O'

# CONDITION CN0394

Description (EN) |
    IF 'qualifierOfIdentification' = 'Z'
    THEN this DG = 'R'
    ELSE this DG = 'N'

# CONDITION CN0446

Description (EN) |
    IF <Container indicator> = '1'
    THEN this DG = 'R'
    ELSE this DG = 'N'

# CONDITION CN0460

Description (EN) |
    If Commodity/CalculationOfTaxes/preference = "x2x", then this quotaOrderNumber is required, otherwise it's not used.

# CONDITION CN0631

Description (EN) |
    IF international CCI AND <Requested procedure> = '53'
    THEN this DG = 'O'
    ELSE this DG = 'N'
    (see G0631)

# CONDITION CN0648

Description (EN) |
    IF international CCI
    THEN
        IF <Guarantee Type>  IN ['0', '1', '2', '4']
        THEN <GRN> = R
        ELSE
             IF <Guarantee Type> = '3'
             THEN <GRN> = O
             ELSE <GRN> = N
    ELSE
        IF <Guarantee Type>  IN ['0', '1', '4']
        THEN <GRN> = R
        ELSE
            IF <Guarantee Type>  IN ['2', '3']
            THEN <GRN> = O
            ELSE <GRN> = N

# CONDITION CN0649

Description (EN) |
    IF 'Guarantee Type'  IN ['0', '1', '4'] THEN 'GRN' = 'R'
    ELSE
         IF 'Guarantee Type'  IN ['2'] THEN  'GRN' = 'O'
         ELSE 'GRN' = 'N'

# CONDITION CN0654

Description (EN) |
    IF NOT CCI
    THEN this DG/DI = 'R'

# CONDITION CN0655

Description (EN) |
    IF dataset H6 THEN this DI/DG = N ELSE this  DI/DG = O.

# CONDITION CN0655_req

Description (EN) |
    IF dataset H6 THEN this DI/DG = N ELSE this  DI/DG = R.

# CONDITION CN0697

Description (EN) |
    For declarations with <Additional declaration type> IN ['A', 'D']:
    IF calculated potential customs debt is of non-zero value (eg. antidumping, quota, ...)
    THEN this DG = 'R'
    ELSE this DG = 'O'

    For declarations with <Additional declaration type> NOT IN ['A', 'D']:
    IF any calculated customs debt is of non-zero value
    THEN this DG = 'R'
    ELSE this DG = 'O'

# CONDITION CN0739

Description (EN) |
    IF Additional declaration type IN ['Z', 'V'] AND GS/PreviousDocument does not contain 'MRN' of simplified customs declaration
    THEN this DG / DI = 'R'
    ELSE this DG / DI = 'N'

# CONDITION CN0809

Description (EN) |
    IF <Requested procedure> IN ['51','71']
    THEN this data group / data item = N
    ELSE this data group / data item = O

# CONDITION CN0824

Description (EN) |
    IF DG 'GUARANTEE' is present in the message THEN this DG = ‘O’ ELSE this DG = ‘N’

# CONDITION CN0834

Description (EN) |
    IF international CCI and <Additional procedure code> = 'F15'
    THEN this DG = N
    ELSE IF <Requested Procedure code> IN ['42', '63'] THEN this DG = R ELSE this DG = O

# CONDITION CN0850

Description (EN) |
    IF /*/TaxBase/measurementUnitAndQualifier IN ['CZK', 'EUR'] OR NOT PRESENT
    THEN /*/TaxBase/quantity = 'N'
    ELSE /*/TaxBase/quantity = 'R'

# CONDITION CN0925

Description (EN) |
    IF <Guarantee type> = '5'
    THEN <Customs Office of Guarantee> = 'N'
    ELSE IF <Guarantee type> IN ['0', '1', '4']
    THEN < Customs Office of Guarantee > = 'R'
    ELSE < Customs Office of Guarantee > = 'O'

# CONDITION CN0934

Description (EN) |
    IF <Requested procedure> = '44' AND in DG AUTHORISATION at Declaration level does not exist any referenceNumber which includes 'EUS' AND DG AD HOC SIMPLIFIED AUTHORISATION is not present in the Declaration
    THEN this DG shall contain at least one valid referenceNumber which includes 'EUS'
    ELSE this DG = 'O'

# CONDITION S0001

Description (EN) |
    The validation of rules and conditions on this DG/DI shall be performed in the following sequence: C0625->C0911

# CONDITION S0003

Description (EN) |
    The validation of rules and conditions on this DG/DI shall be performed in the following sequence: C0627->C0630

# CONDITION S0019

Description (EN) |
    The validation of rules and conditions on this DG/DI shall be performed in the following sequence:C0905->C0936

# CONDITION S0020

Description (EN) |
    The validation of rules and conditions on this DG/DI shall be performed in the following sequence:  C0931-> C0810

# CONDITION S0024

Description (EN) |
    The validation of rules and conditions on this DG/DI shall be performed in the following sequence: C0628->C0810

# CONDITION S0025

Description (EN) |
    The validation of rules and conditions on this DG/DI shall be performed in the following sequence:C0820->C0060

# CONDITION S0027

Description (EN) |
    The validation of rules and conditions on this DG/DI shall be performed in the following sequence:C0627->C0002.

# CONDITION S0029

Description (EN) |
    The validation of rules and conditions on this DG/DI shall be performed in the following sequence:C0618->C0002.

# CONDITION S0031

Description (EN) |
    The validation of rules and conditions on this DG/DI shall be performed in the following sequence: C0627->C0715>C0002.

# CONDITION S0032

Description (EN) |
    The validation of rules and conditions on this DG/DI shall be performed in the following sequence: C0869->C0820.

# CONDITION SN0001

Description (EN) |
    The validation of rules and conditions on this DG/DI shall be performed in the following sequence: CN0655->C0619

# CONDITION SN0002

Description (EN) |
    The validation of rules and conditions on this DG/DI shall be performed in the following sequence: CN0655->C0921

# CONDITION SN0003

Description (EN) |
    The validation of rules and conditions on this DG/DI shall be performed in the following sequence:  CN0655->C0627->C0630

# CONDITION SN0007

Description (EN) |
    The validation of rules and conditions on this DG/DI shall be performed in the following sequence: CN0655>C0938

# CONDITION SN0008

Description (EN) |
    The validation of rules and conditions on this DG/DI shall be performed in the following sequence: CN0655->C0728

# CONDITION SN0009

Description (EN) |
    The validation of rules and conditions on this DG/DI shall be performed in the following sequence:  C0623->C0646->CN0003

# CONDITION SN0012

Description (EN) |
    The validation of rules and conditions on this DG/DI shall be performed in the following sequence: CN0654->C0820

# CONDITION SN0015

Description (EN) |
    The validation of rules and conditions on this DG/DI shall be performed in the following sequence: CN0336 -> C0596

# CONDITION SN0016

Description (EN) |
    The validation of rules and conditions on this DG/DI shall be performed in the following sequence: CN0655->C0627>C0729>C0738

# CONDITION SN0017

Description (EN) |
    The validation of rules and conditions on this DG/DI shall be performed in the following sequence: CN0655->C0625->C0626->C0829

# CONDITION SN0022

Description (EN) |
    The validation of rules and conditions on this DG/DI shall be performed in the following sequence: CN0655 → C0618 → C0710 → CN0654.

# CONDITION SN0027

Description (EN) |
    The validation of rules and conditions on this DG/DI shall be performed in the following sequence: CN0655->C0627->C0002.

# CONDITION SN0028

Description (EN) |
    The validation of rules and conditions on this DG/DI shall be performed in the following sequence:CN0655->C0654->C0002.

# CONDITION SN0031

Description (EN) |
    The validation of rules and conditions on this DG/DI shall be performed in the following sequence: CN0655->C0627->C0715>C0002.

# CONDITION SN0033

Description (EN) |
    The validation of rules and conditions on this DG/DI shall be performed in the following sequence: C0627->C0630->C0806->CN0654

(Generated: 24.07.2026 2:34:03)