Skip to content
BT-129

Invoiced quantity

The quantity of goods or services on the line, mandatory on every document.

Quantity is one of the particulars Article 53 requires, and BR-22 makes it mandatory on every line. The standard sets no limit on decimals, and it must be positive (BR-KSA-F-04).

It enters the line net amount: quantity × (unit price ÷ price base quantity) plus charges minus allowances (BR-KSA-EN16931-11).

IdentifierBT-129
Path in the document/Invoice/cac:InvoiceLine/cbc:InvoicedQuantity
Cardinality0..1
Data typeQuantity
Applies toStandard tax invoice and Simplified tax invoice
GroupBG-25 Invoice line

In JooDax

Partly built

The programs write quantity 1 on every line and the whole line net as the unit price, so 3 pieces at 5.00 appear as 1 at 15.00. The arithmetic holds, but the real quantity and unit price do not reach the document.

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

Applies to

Tax invoiceDebit noteCredit noteSimplifiedSimplified debitSimplified credit
MandatoryMandatoryMandatoryMandatoryMandatoryMandatory

Rules that check it

  • BR-KSA-EN16931-11 · Line net = quantity × (net price ÷ base quantity) + line charges − line allowances.
  • BR-KSA-F-04 · All amounts and quantities must be positive.

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

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