Skip to content
IBT-130

Unit of measure code

The unit the quantity is measured in, from UN/ECE Recommendation 20.

Field 41 in both lists; the Ministry’s example is the kilogram, whose Recommendation 20 code is KGM. PINT AE also gives H87 for a piece; Recommendation 21 codes take an X prefix, as in XPX.

The code is an attribute on the quantity element, not an element of its own.

IdentifierIBT-130
Path in the document/Invoice/cac:InvoiceLine/cbc:InvoicedQuantity/@unitCode
Cardinality1..1
Data typeCode (UN/ECE Recommendation 20 and 21)
Applies toTax invoice and Commercial invoice

In JooDax

Built

JooDax writes the code as given and refuses a blank (field 41), without checking it against the list. The module is not yet wired to the programs’ invoices, and its output has not been through the official Schematron or an ASP’s validation.

crates/jdx-einvoice-ae/src/lib.rs

Related fields

Fields — E-invoicing in the UAE (PINT AE)

Sources

  1. UAE Electronic Invoice Mandatory Fields (vV 1.1) — Ministry of Finance, United Arab Emirates
  2. PINT AE Billing 1.0.4 – Invoice transaction, syntax binding (v1.0.4) — OpenPeppol AISBL (docs.peppol.eu)
  3. PINT AE Billing 1.0.4 – specification text (BIS) (v1.0.4) — OpenPeppol AISBL (docs.peppol.eu)

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