Message

[BR-IC-07]-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).

Context
cac:AllowanceCharge[cbc:ChargeIndicator=true()]/cac:TaxCategory[normalize-space(cbc:ID)='K'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']
Test
(xs:decimal(cbc:Percent) = 0)
Usage
/ ubl:Invoice / cac:AllowanceCharge / cac:TaxCategory / cbc:Percent