VRBL-INV-MX-1p0-20

Basic Info

Rule When the Document Currency Code is XXX, the Tax Exchange Rate must not exist.
Context /ubl:Invoice/cbc:DocumentCurrencyCode
Pattern vrbl-invoice-mx-1p0
Severity fatal

Implementation

not(
	. = 'XXX'
	and
	boolean(../cac:TaxExchangeRate)
)