# BR-102-GST-SG

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

> Attachment must not be used when providing reference to Total Amount incl or excl GST in SGD, Invoiced Object Reference or Project Reference

- Level: error
- Rule sets: PINT SG rules (Singapore) 1.4.1
- Context: `cac:AdditionalDocumentReference[cbc:DocumentTypeCode]`
- Test: `((cbc:DocumentTypeCode='130' or cbc:DocumentTypeCode='sgdtotal-incl-gst' or cbc:DocumentTypeCode='sgdtotal-excl-gst') or ((local-name(/*) = 'CreditNote') and (cbc:DocumentTypeCode='50'))) and not(cac:Attachment)`

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