XV-MY-32

A line's tax amount is the sum of its tax amounts per tax type: … in line …, not ….

warning: reported, still valid

What the rule checks

As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.

Context
/*/cac:InvoiceLine
Test
every $t in cac:TaxTotal[cac:TaxSubtotal] satisfies my:near(my:dec($t/cbc:TaxAmount), my:sum($t/cac:TaxSubtotal/cbc:TaxAmount))

Checked with MyInvois e-Invoice