[aligned-ibrp-022]-Only one tax total without tax subtotals (ibg-37) MUST be provided when tax currency code (ibt-006) is provided.
aligned-ibrp-022/ubl:Invoice | /cn:CreditNotecount(cac:TaxTotal[not(cac:TaxSubtotal)]) = (if (cbc:TaxCurrencyCode) then 1 else 0)