Skip to content
BT-130

Unit of measure code

The unit of the quantity, recommended from UN/ECE Recommendation 20 (for example PCE for piece).

The field is optional; the standard recommends codes from UN/ECE Recommendation 20, revision 16 (2020). The data dictionary example is PCE, up to 127 characters.

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

In JooDax

Partly built

The programs always write PCE, whatever the item's real unit.

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

Applies to

Tax invoiceDebit noteCredit noteSimplifiedSimplified debitSimplified credit
OptionalOptionalOptionalOptionalOptionalOptional

Rules that check it

  • BR-KSA-F-06 · Field lengths must stay within the data dictionary's minimum and maximum.

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

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