BR-KSA-05
Rule BR-KSA-05 in Saudi e-invoicing
The invoice type code must be one of the Saudi subset: 388, 386, 383 or 381.
UN/CEFACT list 1001 has dozens of codes; ZATCA accepts four: invoice, prepayment, debit note and credit note. Standard versus simplified is not a different code but the name attribute.
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-05 |
|---|---|
| Effect | Error: the document is rejected |
| Applies to | Standard tax invoice and Simplified tax invoice |
In JooDax
BuiltThe programs write only 388 or 381.
crates/jdx-einvoice-sa/src/xml.rs
Fields it checks
Other rules on the same fields
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
Checked on: 4 November 2026. What concerns JooDax is taken from the programs’ own code.