KSA-21
Tax scheme identifier
A fixed element with the value VAT inside every tax category in the document.
Every tax category in the document, whether in the VAT breakdown, the line category or an allowance or charge, carries a TaxScheme whose ID is VAT. The data dictionary calls it mandatory and gives the value "VAT".
The category rules (such as BR-S-08 and BR-Z-08) select categories whose scheme ID is VAT, so a category without it may not be counted during validation.
| Identifier | KSA-21 |
|---|---|
| Path in the document | .../cac:TaxCategory/cac:TaxScheme/cbc:ID and .../cac:ClassifiedTaxCategory/cac:TaxScheme/cbc:ID |
| Cardinality | 1..1 |
| Data type | Text |
| Applies to | Standard tax invoice and Simplified tax invoice |
| Group | BG-23 VAT breakdown |
In JooDax
BuiltThe programs write VAT in every breakdown and line category, and in the seller's tax scheme.
crates/jdx-einvoice-sa/src/xml.rs
Applies to
| Tax invoice | Debit note | Credit note | Simplified | Simplified debit | Simplified credit |
|---|---|---|---|---|---|
| Mandatory | Mandatory | Mandatory | Mandatory | Mandatory | Mandatory |
Rules that check it
- BR-CO-18 · An invoice shall have at least one VAT breakdown group.
Related fields
Fields — E-invoicing in Saudi Arabia (FATOORA)
Sources
- Electronic Invoice Data Dictionary to the E-Invoicing resolution dated 2023-05-19 (v1.2) — ZATCA
- Electronic Invoice XML Implementation Standard to the E-Invoicing resolution dated 2023-05-19 (v1.2) — ZATCA
Checked on: 4 November 2026. What concerns JooDax is taken from the programs’ own code.