Published description
The unit of measure that applies to the invoiced quantity. Codes for unit of packaging from UNECE Recommendation No. 21 can be used in accordance with the descriptions in the "Intro" section of UN/ECE Recommendation 20, Revision 11 (2015): The 2 character alphanumeric code values in UNECE Recommendation 21 shall be used. To avoid duplication with existing code values in UNECE Recommendation No. 20, each code value from UNECE Recommendation 21 shall be prefixed with an “X”, resulting in a 3 alphanumeric code when used as a unit of measure.
Peppol BIS Billing 3.0 (3.0.22), description of the UBL element unitCode. Peppol takes the term from EN 16931 and may add its own rules to the text.
Where it sits
| Part of | BG-25 Invoice line |
|---|---|
| Data type (KoSIT) | Code |
| Occurrence in XRechnung 3.0.2 | 1 (mandatory) |
| Occurrence in the French model (DGFiP, EN 16931 profile) | 1..1 (mandatory) |
Occurrence counts within the parent group: 1 = exactly once, 0..1 = optional, 1..* or 1..n = at least once, 0..* = any number. Both specifications build on EN 16931 and may be stricter than the standard itself.
XML paths
The element that carries the term in the two syntaxes EN 16931 allows, as Docfaro’s parsers read it.
- UBL 2.1
/Invoice/cac:InvoiceLine/cbc:InvoicedQuantity/@unitCode- CII D16B
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeDelivery/ram:BilledQuantity/@unitCode
Prefixes: cbc and cac are the UBL basic and aggregate components; rsm, ram and udt the CII namespaces. In a UBL credit note the root is CreditNote and lines are cac:CreditNoteLine.
Rules that check BT-130
2 rules the Docfaro validator checks refer to BT-130.
All business terms · All validation rules
Sources
- Peppol BIS Billing 3.0, syntax binding for UBL Invoice (structure/syntax/ubl-invoice.xml)OpenPeppol, GitHub
- XRechnung Version 3.0.2 (Spezifikation, Kapitel 11 „Detailbeschreibung“)KoSIT, xeinkauf.de
- Annexe 1 – Format sémantique FE e-invoicing – Flux 1 & 2, v1.6 (spécifications externes v2.4)DGFiP et AIFE, impots.gouv.fr
- Validator-Konfiguration XRechnung 3.0.2, Release 2026-08-31 (XSD UBL 2.1 und CII D16B, Schematron EN 16931 und XRechnung)KoSIT auf GitHub
Last reviewed: