BR-KSA-11Out-of-scope line item carries a VAT rate that is not zero

Mutabiq checks Saudi ZATCA Phase 2 e-invoice XML before you submit it: pre-validation against published ZATCA requirements, not an approval by the authority. This page explains one rule, BR-KSA-11.

Validate 5 invoices free

Five checks a month on the Free plan. The file is checked in memory and is never stored.

The message ZATCA prints

[BR-KSA-11]-An Invoice line (BG-25) where the VAT category code (BT-151) is "Not subject to VAT", an invoiced item VAT rate (BT-152) shall be 0 (zero), if exist.

What Mutabiq reports

One entry for each way this rule can be reported.

Reported as
What kind of value was found — empty, not_15_digits and the like — never the value itself.

Out-of-scope line item carries a VAT rate that is not zero

Reported asrate_not_zerothe rate is not zero

What is wrong

An invoice line whose item is in VAT category O - not subject to VAT - has a cbc:Percent in cac:Item/cac:ClassifiedTaxCategory that is not 0. ZATCA rejects the document under BR-KSA-11: where an out-of-scope line states a rate at all, the rate must be zero.

What to check in your ERP

Check the VAT code mapped to out-of-scope items. Either write 0 in the item's cbc:Percent or leave the element out. A rate carried over from the standard-rated code is the usual cause.

The clause that runs

Quoted from the validation-rule stylesheet ZATCA publishes, at the file and line named below. The executed guard is what the check runs; the reported test is what it prints when it fails, and the two are not always the same.

Executed guard

(cbc:Percent >0 or cbc:Percent <0 )

Reported test

not(cbc:Percent)
Evaluated against
/ubl:Invoice
Source
vendor/zatca/schematron/20210819_ZATCA_E-invoice_Validation_Rules.xsl:2271

As shipped in ZATCA SDK 3.4.8: the copy quoted here is, byte for byte, the file that release ships. The date in the file name is the name ZATCA gives the file; the rules in it are those of SDK 3.4.8.

A worked example

A synthetic document from the measured test corpus that trips this rule, shown where it differs from one that passed. Mutabiq's report names the class of the value, never the value itself.

Where it differs from a document that passed

  • This example
  • A document that passed
<cbc:Name>Consulting services</cbc:Name><cac:ClassifiedTaxCategory>This example:   <cbc:ID schemeID="UN/ECE 5305" schemeAgencyID="6">O</cbc:ID>A document that passed:   <cbc:ID schemeID="UN/ECE 5305" schemeAgencyID="6">S</cbc:ID>  <cbc:Percent>15.00</cbc:Percent>  <cac:TaxScheme>
Document
bad-62-o-line-with-rate.xml
Mutabiq's verdict
Not passed
Reported as
rate_not_zerothe rate is not zero

Download this example (.xml)Check it in Mutabiq

This page's example, checked by the same rules your own upload goes through. No upload and no sign-in.

Rules evaluated against the same part of the document. One wrong value often reports several of them at once.

Check an invoice

Check your own invoice

© 2026 Hayatiq AI Solutions F.Z.E. All rights reserved.