XV-MY-07

The total tax amount (cac:TaxTotal/cbc:TaxAmount) and a tax amount per tax type (cac:TaxSubtotal) are mandatory, also when no tax is charged.

error: the document is invalid

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
/*
Test
cac:TaxTotal/cbc:TaxAmount and cac:TaxTotal/cac:TaxSubtotal

Checked with MyInvois e-Invoice