BR-KSA-39
Rule BR-KSA-39 in Saudi e-invoicing
The document must contain the seller VAT number or VAT group number.
The VAT number anchors everything: it ties the document to the taxpayer, appears in QR tag 2, and the platform checks that the device certificate was issued to the same number.
The XML standard does not say which rules are errors and which are warnings; this classification is not confirmed by an official document.
| Identifier | BR-KSA-39 |
|---|---|
| Effect | Error: the document is rejected |
| Applies to | Standard tax invoice and Simplified tax invoice |
In JooDax
BuiltThe number comes from the company settings.
crates/jdx-einvoice-sa/src/xml.rs
Fields it checks
Other rules on the same fields
- BR-KSA-40 · The seller VAT number has 15 digits, the first and last being 3.
Validation rules — E-invoicing in Saudi Arabia (FATOORA)
Sources
- Electronic Invoice XML Implementation Standard to the E-Invoicing resolution dated 2023-05-19 (v1.2) — ZATCA
- Security Features Implementation Standards 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.