Skip to content

BT-130: Invoiced Quantity Unit Code

Standard unit of measure code from UN/ECE Rec 20 (e.g. C62 for piece, HUR for hour, DAY for day).

BT-130Mandatory (1..1)EN 16931-1 / XRechnung 3.0 / ZUGFeRD 2.3

Technical Specification

Requirement & Cardinality
1..1(Mandatory)

Mandatory (1..1) coded from UN/ECE Rec 20 / Rec 21

Data Type
Code (UN/ECE Rec 20/21)

Semantic data format according to European Standard EN 16931-1

XML Syntax Mappings
UBL 2.1(XRechnung / Peppol BIS)
Invoice/cac:InvoiceLine/cbc:InvoicedQuantity/@unitCode
UN/CEFACT CII D16B(ZUGFeRD 2.3 / Factur-X)
rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeDelivery/ram:BilledQuantity/@unitCode

What does BT-130 mean?

The unit of measure code (BT-130) is a frequent source of validation errors. Rather than free text like "pcs" or "hrs", EN 16931 enforces standard UN/ECE Rec 20 codes like C62 (piece), HUR (hour), or DAY (day).

XML Syntax & Code Example

OASIS UBL 2.1 (XRechnung)
<cbc:InvoicedQuantity unitCode="C62">5</cbc:InvoicedQuantity>

Codelist Values: UN/ECE Recommendation 20 Unit Codes

CodeMeaningDescription & Usage
C62One / pieceStandard unit for discrete physical items.
HURHourHourly rate for services.
DAYDayDaily service rate.
MINMinuteMinute rate.
KGMKilogramMetric weight.
MTRMetreLinear meter.
MTKSquare metreArea.
MTQCubic metreVolume.
LTRLitreLiquid volume.
XPPPiece partFlat fee / lumped positions.

Business Rules & Schematron Checks

BR-23

Each Invoiced quantity shall be accompanied by an Invoiced quantity unit of measure code (BT-130).

Check BT-130 in your invoice

Use the XML paths above to locate BT-130. A snippet illustrates this field; it is not a complete invoice. After correcting a value in the source application, export and check the entire file again.

Official specifications and rule sets

Requirements depend on the invoice profile and version. Consult the matching specification for mandatory fields, code lists and rules; Peppol-specific requirements do not automatically apply to every ZUGFeRD invoice.

Create compliant E-Invoices easily

Create XRechnung and ZUGFeRD invoices in Billance and check the exported file locally. Use this guide to understand BT-130 and review your invoice details before sending.