# BR-104-GST-SG

Source: https://xmlvalid.com/rules/BR-104-GST-SG

> When providing Total Amount excluding GST in SGD, element ID must be set to the code value SGD

- Level: error
- Rule sets: PINT SG rules (Singapore) 1.4.1
- Context: `cac:AdditionalDocumentReference[cbc:DocumentTypeCode]`
- Test: `(cbc:DocumentTypeCode='sgdtotal-excl-gst' and cbc:ID='SGD') or cbc:DocumentTypeCode != 'sgdtotal-excl-gst'`

Validate a document against these rules: https://xmlvalid.com/validate
