fatalEN 16931EN 16931 business ruleCIIUBLBG-21BT-102BT-103
In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Intra-community supply" the Document level charge VAT rate (BT-103) shall be 0 (zero).
A document level charge with VAT category Intra-community supply (K) has a VAT rate (BT-103) that is not allowed: it must be exactly 0.
Set the rate to 0. An intra-community supply is zero-rated in the country of dispatch. Or change the charge's category code so the two agree.
CII — context $VATIC_Charge
ram:RateApplicablePercent = 0
UBL — context cac:AllowanceCharge[cbc:ChargeIndicator=true()]/cac:TaxCategory[normalize-space(cbc:ID)='K'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']
(xs:decimal(cbc:Percent) = 0)