Message

Only one tax total without tax subtotals MUST be provided when tax currency code is provided.

Context
ubl-creditnote:CreditNote | ubl-invoice:Invoice
Test
count(cac:TaxTotal[not(cac:TaxSubtotal)]) = (if (cbc:TaxCurrencyCode) then 1 else 0)
Usage
/ ubl:Invoice / cac:TaxTotal