VRBL-INV-EN16931-M-172

Basic Info

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

Implementation

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