XV-MY-33
The tax scheme (cac:TaxCategory/cac:TaxScheme/cbc:ID) is OTH, with schemeID UN/ECE 5153 and schemeAgencyID 6, not ….
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
cac:TaxSubtotal
Test
normalize-space(cac:TaxCategory/cac:TaxScheme/cbc:ID) = 'OTH'
Checked with MyInvois e-Invoice