Billing reference (original invoice number)
The number of the original invoice a credit or debit note corrects; mandatory on every note.
A note does not stand alone: Article 54 of the VAT Implementing Regulations requires a clear reference to the invoice or invoices it amends, and the standard carries that reference here. BR-KSA-56 makes it mandatory on notes (381 and 383), and BR-55 requires each reference group to hold a value.
The value is the original invoice's sequential number (BT-1), not its UUID or hash. One note may correct several invoices, so the field repeats; the text may be up to 5,000 characters.
The field does not apply to invoices themselves (status NA in the data dictionary).
| Identifier | BT-25 |
|---|---|
| Path in the document | /Invoice/cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID |
| Cardinality | 1..n |
| Data type | Text |
| Applies to | Standard tax invoice and Simplified tax invoice |
| Group | BG-3 Preceding invoice reference |
In JooDax
BuiltA credit note issued for a return at the till carries the original sale invoice number.
crates/jdx-einvoice-sa/src/xml.rs
Applies to
| Tax invoice | Debit note | Credit note | Simplified | Simplified debit | Simplified credit |
|---|---|---|---|---|---|
| Not applicable | Mandatory | Mandatory | Not applicable | Mandatory | Mandatory |
Rules that check it
- BR-55 · Each preceding invoice reference shall contain the preceding invoice number.
- BR-KSA-56 · Credit notes (381) and debit notes (383) must carry the billing reference ID.
- 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
- الضوابط والمتطلبات والمواصفات الفنية والقواعد الإجرائية اللازمة لتنفيذ أحكام لائحة الفوترة الإلكترونية (قرار المحافظ رقم 62738 وتاريخ 1443/11/23هـ) (vfile dated 20230519 (decision 62738)) — ZATCA
- اللائحة التنفيذية لنظام ضريبة القيمة المضافة (vالنسخة العاشرة (آخر تعديل بقرار 24-06-01 في 2024-11-19)) — ZATCA
Checked on: 4 November 2026. What concerns JooDax is taken from the programs’ own code.