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 "Standard rated" the Document level charge VAT rate (BT-103) shall be greater than zero.
A document level charge with VAT category Standard rated (S) has a VAT rate (BT-103) that is not allowed: it must be greater than zero.
Set the rate to the standard or reduced rate that applies. A zero rate with category S is a contradiction — use Z, E or AE instead. Or change the charge's category code so the two agree.
CII — context $VATS_Charge
ram:RateApplicablePercent > 0
UBL — context cac:AllowanceCharge[cbc:ChargeIndicator=true()]/cac:TaxCategory[normalize-space(cbc:ID)='S'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']
(cbc:Percent) > 0