# BR-111-GST-SG

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

> A CreditNote that contains an GST Category code of value SR, SRCA-S, SRCA-C, ZR, SRRC, SROVR-RS, SROVR-LVG, SRLVG or NA shall contain an Invoice note with the reason for credit (IBT-022)

- Level: error
- Rule sets: PINT SG rules (Singapore) 1.4.1
- Context: `cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[contains( ' SR SRCA-S SRCA-C ZR SRRC SROVR-RS SROVR-LVG SRLVG NA ',concat(' ',normalize-space(cbc:ID),' ') ) ]`
- Test: `exists(cn:CreditNote/cbc:Note) or not(exists(cn:CreditNote))`

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