BR-CL-06-GST-SG

Invoice period description code must be according to UNCL 2005 D.16B.

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:InvoicePeriod/cbc:DescriptionCode
Test
((not(contains(normalize-space(.), ' ')) and contains(' 3 35 432 ', concat(' ', normalize-space(.), ' '))))

Checked with PINT SG Invoice, PINT SG Credit Note