VRBL-INV-HU-1p0-31

Basic Info

Rule The Tax Exchange Rate must be provided when Document Currency Code is different from Tax Currency Code.
Context /ubl:Invoice
Pattern vrbl-invoice-hu-1p0
Severity fatal

Implementation

(
	not(boolean(cbc:TaxCurrencyCode))
	or
	cbc:DocumentCurrencyCode = cbc:TaxCurrencyCode
)
or
boolean(cac:TaxExchangeRate)