Multiple tax subtotals per tax category code is not allowed.
ubl:Invoice/cac:TaxTotal
count(distinct-values(cac:TaxSubtotal/cac:TaxCategory/cbc:ID/normalize-space(text()))) = count(cac:TaxSubtotal)