Skip to main content

BT-130 Invoice line quantity unit of measure code

The unit of measure applicable to the quantity in the invoice line. Must use UNECE Recommendation 20 or 21 codes.

Quick answer

Line items

The goods or services on each invoice line, including quantities, prices, and VAT.

Quick actions

In plain language

The unit of measure applicable to the quantity in the invoice line. Must use UNECE Recommendation 20 or 21 codes.

The unit of measure applicable to the quantity in the invoice line. Must use UNECE Recommendation 20 or 21 codes.

Specifies the unit of measurement for the quantity to ensure accurate interpretation.

What you usually enter here

Three-letter code from UNECE Recommendation 20/21

Typical valid values include: EA, HUR, KGM, LTR

Optional but recommended for clarity and automated processing.

What goes wrong often

Avoid values like: , each, kg, 999

Relevant rule codes: BR-23, BR-CL-23

Examples in context

Specifies the unit of measurement for the quantity to ensure accurate interpretation.

Optional but recommended for clarity and automated processing.

Valid Examples

  • EA
  • HUR
  • KGM
  • LTR
  • MTK
  • MTR
  • PCE

Invalid Examples

  • each
  • kg
  • 999

XML mapping and field facts

Open the technical reference if you need XML paths, validator rule codes, legal wording, or schema-specific mapping details.

Field ID:

BT-130

Data Type:

code

Cardinality:

0..1

Requirement:

Optional

Max Length:

3 characters

Since Version:

Optional

XML Implementation

UBL 2.1 Syntax
/Invoice/cac:InvoiceLine/cbc:InvoicedQuantity/@unitCode
CII (UN/CEFACT) Syntax
/CrossIndustryInvoice/SupplyChainTradeTransaction/ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementLineMonetarySummation/ram:BilledQuantity/@unitCode

Validation Rules

BR-23

BR-23

BR-CL-23

BR-CL-23

Next step

Create an XRechnung from your PDF and confirm the BT-130 code

The converter determines the code from the details on the invoice. You see the value before download and can correct it; the invoice is checked against the XRechnung rules. Already have an XML file? The free validator reports findings for this field, for example BR-CL-23, BR-23.

Download requires an account. Subscriptions from €10/month with annual billing (excl. taxes), or €5 per conversion (excl. taxes) without a subscription.

Why the standard cares about this field

Business Context

Specifies the unit of measurement for the quantity to ensure accurate interpretation.

Legal Requirement

Optional but recommended for clarity and automated processing.

Official sources and tools