VRBL-INV-EN16931-M-47

Basic Info

Rule If the Tax Currency Code exists, the Accounting Tax must exist within the Invoice.
Context /ubl:Invoice
Pattern vrbl-invoice-en16931-ubl-model
Severity fatal

Used Template: Exists

Parameter Value
probe = cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:TaxCurrencyCode]

Implementation

(
	not(boolean(cbc:TaxCurrencyCode))
)
or
(
	boolean(cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:TaxCurrencyCode])
)