VRBL-INV-FR-CIUS-1p0-187

Basic Info

Rule When the Document Currency Code is not EUR, the Accounting Tax Amount must exist within the Invoice.
Context /ubl:Invoice
Pattern vrbl-invoice-fr-cius-1p0
Severity warning

Used Template: Exists

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

Implementation

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