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.
| Identifier | BT-130 |
|---|---|
| Path in the document | /Invoice/cac:InvoiceLine/cbc:InvoicedQuantity/@unitCode |
| Cardinality | 0..1 |
| Data type | Code |
| Applies to | Standard tax invoice and Simplified tax invoice |
| Group | BG-25 Invoice line |
In JooDax
Partly builtThe programs always write PCE, whatever the item's real unit.
crates/jdx-einvoice-sa/src/xml.rs
Applies to
| Tax invoice | Debit note | Credit note | Simplified | Simplified debit | Simplified credit |
|---|---|---|---|---|---|
| Optional | Optional | Optional | Optional | Optional | Optional |
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
- 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
Checked on: 4 November 2026. What concerns JooDax is taken from the programs’ own code.