Skip to content
BT-126

Invoice line identifier

A number identifying the line within the invoice, numeric from 1 to 999,999.

Every line needs an identifier (BR-21) and an invoice needs at least one line (BR-16). The data dictionary requires a numeric value between 1 and 999,999, at most six digits.

IdentifierBT-126
Path in the document/Invoice/cac:InvoiceLine/cbc:ID
Cardinality1..1
Data typeIdentifier
Applies toStandard tax invoice and Simplified tax invoice
GroupBG-25 Invoice line

In JooDax

Built

Lines are numbered 1, 2, 3 in the order of the sale.

crates/jdx-einvoice-sa/src/xml.rs

Applies to

Tax invoiceDebit noteCredit noteSimplifiedSimplified debitSimplified credit
MandatoryMandatoryMandatoryMandatoryMandatoryMandatory

Rules that check it

  • BR-16 · An invoice shall have at least one invoice line.
  • 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

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