NOGOV-T14-R041 (ERROR)

[NOGOV-T14-R041]-Multiple tax subtotals per tax category code is not allowed.

Technical test

Context
ubl:CreditNote/cac:TaxTotal
Test
  • count(distinct-values(cac:TaxSubtotal/cac:TaxCategory/cbc:ID/normalize-space(text()))) = count(cac:TaxSubtotal)

Shortcuts