BR-KSA-13: 'Not subject to VAT' (O) charges must have a VAT rate of 0 if given
Applies to each document-level cac:AllowanceCharge with cbc:ChargeIndicator = true whose cac:TaxCategory/cbc:ID is 'O': if cbc:Percent (BT-103) is present it must be 0. The executed check fails only on a non-zero Percent, while the listed test text implies Percent must be absent.
How to fix it
In the charge's 'O' cac:TaxCategory either omit cbc:Percent or set <cbc:Percent>0</cbc:Percent>.
ZATCA's official text
[BR-KSA-13]-A Document level charge (BG-21) where the VAT category code (BT-102) is "Not subject to VAT", a Document level charge VAT rate (BT-103) shall be 0 (zero), if exist.
Source: ZATCA SDK 3.4.8 · ZATCA KSA rules
Fails when (the condition ZATCA's SDK runs)
(cbc:Percent >0 or cbc:Percent <0 )
Related rules
- BR-36 · Each document-level charge needs an amount (BT-99)
- BR-37 · Each document-level charge needs a VAT category code (BT-102)
- BR-E-01 · Exempt (E) items need an 'E' VAT breakdown
- BR-E-07 · Exempt (E) document charges must have a VAT rate of 0
- BR-E-08 · Exempt (E) taxable amount must match the exempt lines and adjustments
- BR-KSA-19 · Each document-level charge needs a reason code
Validate your invoice against ZATCA's rules
Paste the XML and see every error and warning. It runs in your browser; the invoice goes nowhere.
Validate an invoice or try Matheel