XV-MY-41

The total tax amount is the sum of the tax amounts per tax type: …, 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:TaxTotal
Test
not(cac:TaxSubtotal) or my:near(my:dec(cbc:TaxAmount), my:sum(cac:TaxSubtotal/cbc:TaxAmount))

Checked with MyInvois e-Invoice