Only one tax total without tax subtotals MUST be provided when tax currency code is provided.
ubl-creditnote:CreditNote | ubl-invoice:Invoice
count(cac:TaxTotal[not(cac:TaxSubtotal)]) = (if (cbc:TaxCurrencyCode) then 1 else 0)