Skip to content
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".

IdentifieritemData.quantity
Path in the document$.receipts[*].itemData[*].quantity
Cardinality1..1
Data typeDecimal (> 0)
Applies toE-receipt

In JooDax

Partly built

JooDax 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

  1. Receipt v1.2 (v1.2) — Egyptian Tax Authority (ETA) – eInvoicing & eReceipt SDK
  2. 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.