List of rules

RULE GRN

Description (EN) GRN shall fulfil check algorithm specified in ISO 6346.

RULE NR001

Description (EN) This date shall not exceed current date.

RULE NR002

Description (EN) Only guarantee type 0, 1 or 9 can be used.

RULE NR003

Description (EN) Only guarantee type 4 can be used.

RULE NR004

Description (EN) This element should be equal 0 / false.

RULE NR005

Description (EN) IF Requester role = "Guarantor" THEN cannot be used foreign GRN.

RULE NR006

Description (EN) Only "Guarantor" can be used.

RULE NR007

Description (EN) Expiry date shall not be less than Valid from

RULE NR008

Description (EN) Guarantor TIN shall be equal to requester TIN

RULE NR009

Description (EN) Guarantor can make only query of type 1, 2 or 4.

RULE NR012

Description (EN) IF Guarantee is foreign THEN this element shall be equal 4.

RULE NR018

Description (EN) Requestor/Principal must correspond with used comunication agreement with customs office of guarantee.

RULE NR021

Description (EN) Guarantor TIN shall be different from principal TIN

RULE NR022

Description (EN) Guarantor can make query type 1 (Usage) only for guarantee type 2 (Individual guarantee by guarantor) or 4 (Individual guarantee voucher)

RULE NR028

Description (EN) IF period From and To is greater than 31 days or From and To are not used AND guarantee is national THEN this element will set to "1" and data group Usage will contain only non released usages ELSE this element will set to "0" and data group Usage will contain all usages.

RULE NR030

Description (EN) Combination of guarantee type and regime must be allowed in the code list GuaranteeType_GMS.

RULE NR032

Description (EN) If Serbia is not member of European Community THEN country of guarantor shall be Serbia ELSE country of guarantor shall be any of member countries of EC.

RULE NTR001

Description (EN) Date shall not be gretaer than 2999-12-31

RULE R261

Description (EN) Query Identifier ‘2’ (exposure only) and ‘3’ (usage and exposure) can not be used for guarantee types ‘2’ (individual guarantee by Guarantor) and ‘4’ (individual guarantee in the form of voucher).

RULE TR0102

Description (EN) Although the format of the Commodity Code is an..10 for technical reasons, only digits can be used in the data-item.

RULE TR0301

Description (EN) If GRN is used THEN If 'Guarantee type' = 4 THEN GRN field type = an24 ELSE GRN field type = an17

RULE TR0301N

Description (EN) IF GRN is used and Requestor role = "Guarantor" THEN IF Guarantee type = 4 THEN GRN field type = an17 or an24 ELSE GRN GRN field type = an17 ELSE IF Guarantee type = 4 THEN GRN field type = an24 ELSE GRN GRN field type = an17

RULE TR0705

Description (EN) Within a single "GUARANTEE QUERY" data-group, the "Period from date" must be prior or equal to the "Period to date".

RULE TR9055

Description (EN) If query identifier = ‘4’ then only one of the groups marked with this technical rule must be used else none of the groups can be used.

List of conditions

Conditions

CONDITION C230N

Description (EN)
IF ‘Guarantee type’ = ‘9’ (Individual guarantee with multiple usage)
     THEN the attribute = R
     ELSE the attribute = O

CONDITION C231N

Description (EN)
IF ‘Guarantee type’ = ‘0’ or ‘1’
THEN this element shall be used
THEN this element shall not be used

CONDITION C232

Description (EN)
IF ‘TIR Carnet’ =’1’
    THEN ‘Voucher amount’ and ‘Currency’ = R
    ELSE can not be used

CONDITION C232N

Description (EN)
IF ‘TIR Carnet’ =’1’
    THEN ‘Voucher amount’ shall be used
    ELSE can not be used

CONDITION C234N

Description (EN)
IF Guarantee type = "1", "2" ," 4" , "9" or "V" 
  AND Guarantee Invalid Reason is not used
THEN this data group shall be used
ELSE this data group shall not be used.

CONDITION C235N

Description (EN)
IF Guarantee type = 9
THEN the data group is required
ELSE can not be used

CONDITION C270N1

Description (EN)
IF Query type = 4 AND Guarantee regime is Commont transit
THEN these data groups can be used
ELSE these data groups cannot be used.

CONDITION C270N2

Description (EN)
IF Query type = 4 and data group "Guarantee invaild reason" is not used
THEN this data group shall be used
ELSE this data group shall not be used

CONDITION C280

Description (EN)
IF Query type = 2 or 4 OR data group "Guarantee invail reason" is used
THEN this data group shall not be used.

CONDITION C285N

Description (EN)
IF Query type = 1 or 4 OR Guarantee type="4" OR data group "Guarantee invail reason" is used
THEN this data group shall not be used
ELSE this data group shall be used.

CONDITION C286

Description (EN)
 IF "Guarantee Monitoring code" = "3"
        THEN   "Balance" shall be used
        ELSE   "Balance" can not be used

CONDITION NC002

Description (EN)
IF Data group "Guarantee invalid reason" is used
THEN this data element/group cannot be used
ELSE this data element/group shall be used

CONDITION NC008

Description (EN)
IF Query type = 4 AND data group "Guarantee invalid reason" is not used
THEN this data group/element can be used
ELSE this data group/element shall not be used.

CONDITION NC009

Description (EN)
IF Query type = 1 or 3 AND data group "Guarantee invalid reason" is not used
THEN this data element/group shall be used
ELSE this data element/group shall not be used

CONDITION NC012

Description (EN)
This element shall be used only if Principal want to change primary access code of guarantee.

CONDITION NC013

Description (EN)
IF Guarantee regime is Common transit
THEN data group Other adresses can be used
ELSE data group Other adresses cannot be used

CONDITION R156

Description (EN)
A "Sensitive Quantity" is always required when the movement contains sensitive goods (see also Rule 155). The "Sensitive Goods Code" is not always required when the movement contains sensitive goods. If the HS6 commodity code (Box 33) is enough to uniquely identify a sensitive good then the "Sensitive Goods Code" is not required. If the HS6 commodity code (Box 33) is not enough to uniquely identify a sensitive good then the "Sensitive Goods Code" becomes required.

CONDITION R263N

Description (EN)
IF Query type =1 or 3
THEN this element can be used
ELSE this element shall not be used.

CONDITION R264N

Description (EN)
The attribute can be used only with guarantee types ‘0’ (guarantee waiver) and ‘1’ (comprehensive guarantee).

CONDITION R270N

Description (EN)
When a Principal is requesting the information then the Access code (of the Principal) becomes required.

CONDITION R271N

Description (EN)
This attribute becomes optional for international IEs when guarantee type is ‘0’ or ‘1’, and is required in all other cases.

CONDITION R275N

Description (EN)
IF Requestor role = Principal
THEN this data group shall be used and shall be identical with the data group Requestor
ELSE this data group shall not be used.

CONDITION TR9060N

Description (EN)
IF “Guarantee type” = “0” or “1” and the message is national 
 THEN the attribute is required 
 ELSE IF “Guarantee type” = “0” or “1” and the message is international 
 THEN the attribute is optional 
 ELSE the attribute cannot be used.
(Generated: 24. 7. 2014 10:12:25)