aligned-ibrp-cl-01-my

Malaysian invoice tax categories MUST be coded using Malaysian codes.

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:TaxCategory/cbc:ID | cac:ClassifiedTaxCategory/cbc:ID
Test
( ( not(contains(normalize-space(.),' ')) and contains( ' SA SE HVG LVG E O TTX ',concat(' ',normalize-space(.),' ') ) ) )

Checked with PINT MY Invoice, PINT MY Credit Note