VRBL-INV-EN16931-M-209

Basic Info

Rule When Accounting Tax Subtotal Tax ID is not 'O', the Accounting Tax Subtotal Tax Percent of VAT must exist within the Accounting Tax Subtotal Group.
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)
)