BR-109-GST-SG
An Universally unique Invoice Identifier (BT-SG-003) shall be formatted according to the UUID standard
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:UUID
Test
matches(normalize-space(.), '^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$')
Checked with PINT SG Invoice, PINT SG Credit Note