ibr-cl-05-my
If Tax accounting currency (ibt-006) is present, it shall be coded using MYR in ISO code list of 4217.
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
cbc:TaxCurrencyCode
Test
( ( not(contains(normalize-space(.),' ')) and contains( ' MYR ',concat(' ',normalize-space(.),' ') ) ) )
Checked with PINT MY Invoice, PINT MY Credit Note