VRBL-INV-EN16931-M-154

Basic Info

Rule In a Allowance Group where the Allowance Tax ID is "Reverse charge" the Allowance Tax Percent must be 0 (zero).
Context /ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'false']/cac:TaxCategory
Pattern vrbl-invoice-en16931-ubl-model
Severity fatal

Implementation

not(
	cbc:ID = 'AE'
	and
	cac:TaxScheme/cbc:ID = 'VAT'
)
or
number(cbc:Percent) = 0