fatalEN 16931EN 16931 business ruleCIIUBLBG-20BT-95BT-96
In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IGIC" the Document level allowance VAT rate (BT-96) shall be 0 (zero) or greater than zero.
A document level allowance with VAT category IGIC (AF) has a VAT rate (BT-96) that is not allowed: it must be 0 or greater.
IGIC (Canary Islands) permits a zero or positive rate; make sure it is one of the valid IGIC rates. Or change the allowance's category code so the two agree.
CII — context $VATAF_Allowance
ram:RateApplicablePercent > 0
UBL — context cac:AllowanceCharge[cbc:ChargeIndicator=false()]/cac:TaxCategory[normalize-space(cbc:ID)='L'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']
(cbc:Percent) >= 0