BR-KSA-27
Rule BR-KSA-27 in Saudi e-invoicing
The document must contain a QR code encoded as base64Binary.
The rule defers to the Security standard for content: five tags in phase 1, nine in phase 2, TLV then base64, up to 700 characters.
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-27 |
|---|---|
| Effect | Error: the document is rejected |
| Applies to | Standard tax invoice and Simplified tax invoice |
In JooDax
BuiltEvery document carries a nine-tag code.
crates/jdx-einvoice-sa/src/xml.rs
Fields it checks
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.