itemData.quantity
Quantity
The number of units sold, greater than zero.
The table says the quantity must be greater than zero.
Numbers go into the serialization exactly as written in the JSON, so a quantity of "2.00000" hashes differently from "2".
| Identifier | itemData.quantity |
|---|---|
| Path in the document | $.receipts[*].itemData[*].quantity |
| Cardinality | 1..1 |
| Data type | Decimal (> 0) |
| Applies to | E-receipt |
In JooDax
Partly builtJooDax writes the quantity to five decimals but does not refuse a zero or negative quantity. The module is not yet wired to the point-of-sale programs, and no receipt from it has been sent to the ETA.
crates/jdx-einvoice-eg/src/lib.rs
Related fields
- itemData.unitPrice Unit price
- itemData.totalSale Total sale
Fields — E-receipts and e-invoices in Egypt
Sources
- Receipt v1.2 (v1.2) — Egyptian Tax Authority (ETA) – eInvoicing & eReceipt SDK
- Document Serialization Approach — Egyptian Tax Authority (ETA) – eInvoicing & eReceipt SDK
Checked on: 4 November 2026. What concerns JooDax is taken from the programs’ own code.