VRBL-INV-EN16931-M-209

Basic Info

Rule When Tax Category Code is not 'O', the Tax Category Rate of VAT must exist within the Tax Breakdown in Tax Accounting Currency.
Context /ubl:Invoice/cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:TaxCurrencyCode]/cac:TaxSubtotal
Pattern vrbl-invoice-en16931-ubl-model
Severity fatal

Used Template: Exists

Parameter Value
probe = cac:TaxCategory[cac:TaxScheme/cbc:ID = 'VAT']/cbc:Percent
displayName_probe = %{cac:TaxCategory/cbc:Percent} of VAT

Implementation

(
	cac:TaxCategory/cbc:ID = 'O'
)
or
(
	boolean(cac:TaxCategory[cac:TaxScheme/cbc:ID = 'VAT']/cbc:Percent)
)