BR-CL-18-GST-SG
Invoice tax categories MUST be coded using valid Singapore code values
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:ClassifiedTaxCategory/cbc:ID
Test
( ( not(contains(normalize-space(.),' ')) and contains( ' SR SRCA-S SRCA-C ZR ES33 ESN33 DS OS NA NG SRRC SROVR-RS SROVR-LVG SRLVG ',concat(' ',normalize-space(.),' ') ) ) )
Checked with PINT SG Invoice, PINT SG Credit Note