BR-47-GST-SG

Each GST Breakdown (BG-23-GST) shall be defined through a GST category code (BT-118-GST).

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:TaxTotal/cac:TaxSubtotal
Test
exists(cac:TaxCategory[cac:TaxScheme/cbc:ID='GST']/cbc:ID)

Checked with PINT SG Invoice, PINT SG Credit Note