# BR-KSA-07

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

> Self billing is not allowed (KSA-2, position 7 cannot be "1") for export invoices (KSA-2, position 5 = 1).

- Level: error
- Rule sets: ZATCA e-invoicing rules (Saudi Arabia) SDK 3.4.6
- Context: `cbc:InvoiceTypeCode[substring(@name, 5, 1) = '1']`
- Test: `substring(./@name,7,1) != '1'`

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