# BR-KSA-18

Source: https://xmlvalid.com/rules/BR-KSA-18

> VAT category code must contain one of the values (S, Z, E, O).

- Level: error
- Rule sets: ZATCA e-invoicing rules (Saudi Arabia) SDK 3.4.6
- Context: `cac:InvoiceLine/cac:TaxTotal`
- Test: `not( contains('S Z E O',/ubl:Invoice/cac:InvoiceLine/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:ID) )`

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