Skip to content
BT-25

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).

IdentifierBT-25
Path in the document/Invoice/cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID
Cardinality1..n
Data typeText
Applies toStandard tax invoice and Simplified tax invoice
GroupBG-3 Preceding invoice reference

In JooDax

Built

A 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 invoiceDebit noteCredit noteSimplifiedSimplified debitSimplified credit
Not applicableMandatoryMandatoryNot applicableMandatoryMandatory

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

  1. Electronic Invoice XML Implementation Standard to the E-Invoicing resolution dated 2023-05-19 (v1.2) — ZATCA
  2. Electronic Invoice Data Dictionary to the E-Invoicing resolution dated 2023-05-19 (v1.2) — ZATCA
  3. الضوابط والمتطلبات والمواصفات الفنية والقواعد الإجرائية اللازمة لتنفيذ أحكام لائحة الفوترة الإلكترونية (قرار المحافظ رقم 62738 وتاريخ 1443/11/23هـ) (vfile dated 20230519 (decision 62738)) — ZATCA
  4. اللائحة التنفيذية لنظام ضريبة القيمة المضافة (vالنسخة العاشرة (آخر تعديل بقرار 24-06-01 في 2024-11-19)) — ZATCA

Checked on: 4 November 2026. What concerns JooDax is taken from the programs’ own code.