Invoice number
The sequential number the seller gives an invoice or note; it is neither the UUID nor the invoice counter.
This is the invoice number both parties see and the one printed on the document. Article 53 of the VAT Implementing Regulations requires a unique sequential number but prescribes no format; a separate sequence per branch is acceptable as long as each number is clear and distinct.
The data dictionary allows 1 to 127 characters (BR-KSA-F-06) and BR-02 makes the field mandatory. A credit or debit note quotes the original invoice number in the billing reference (BT-25), so a number must never change once issued.
The number also forms part of the archive file name the standard prescribes: seller VAT number, date and time, then the invoice number with every non-alphanumeric character replaced by a dash.
| Identifier | BT-1 |
|---|---|
| Path in the document | /Invoice/cbc:ID |
| Cardinality | 1..1 |
| Data type | Identifier |
| Applies to | Standard tax invoice and Simplified tax invoice |
In JooDax
BuiltThe document carries the sale or return number from the till (for example POS-2026-000001) and is stored with the signed document.
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-02 · An invoice shall have an invoice number.
- BR-KSA-F-06 · Field lengths must stay within the data dictionary's minimum and maximum.
Related fields
Fields — E-invoicing in Saudi Arabia (FATOORA)
Sources
- Electronic Invoice XML Implementation Standard to the E-Invoicing resolution dated 2023-05-19 (v1.2) — ZATCA
- Electronic Invoice Data Dictionary to the E-Invoicing resolution dated 2023-05-19 (v1.2) — ZATCA
- Detailed Guidelines for E-Invoicing (vVersion 2) — ZATCA
- الدليل الإرشادي التفصيلي للفوترة الإلكترونية (vالنسخة الثانية) — ZATCA
- اللائحة التنفيذية لنظام ضريبة القيمة المضافة (vالنسخة العاشرة (آخر تعديل بقرار 24-06-01 في 2024-11-19)) — ZATCA
Checked on: 4 November 2026. What concerns JooDax is taken from the programs’ own code.