Message

If the tax currency code is different from the document currency code, the tax exchange rate MUST be provided

Context
/ubl:CreditNote
Test
not(//cbc:TaxCurrencyCode) or (//cac:TaxExchangeRate)
Usage
/ ubl:CreditNote / cac:TaxExchangeRate