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).
| Identifier | BT-129 |
|---|---|
| Path in the document | /Invoice/cac:InvoiceLine/cbc:InvoicedQuantity |
| Cardinality | 0..1 |
| Data type | Quantity |
| Applies to | Standard tax invoice and Simplified tax invoice |
| Group | BG-25 Invoice line |
In JooDax
Partly builtThe 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 invoice | Debit note | Credit note | Simplified | Simplified debit | Simplified credit |
|---|---|---|---|---|---|
| Mandatory | Mandatory | Mandatory | Mandatory | Mandatory | Mandatory |
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
- 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
Checked on: 4 November 2026. What concerns JooDax is taken from the programs’ own code.