INVOX

BR-CL-23: Unit of measure is not a valid code (BT-130)

The unit of measure of a line (BT-130) must be a code from UN/ECE Recommendation 20 (with Recommendation 21) – not an abbreviation such as “Stk”, “Std” or “pauschal”.

Validate file again – free

XML-Rechnung oder ZUGFeRD-PDF hierher ziehen

Ohne Konto: XML bis 50 KB · 5 Prüfungen pro Stunde · ZUGFeRD-/Factur-X-PDF bis 512 KB · amtlicher KoSIT-Validator. Die Datei wird nur für die Prüfung verarbeitet und nicht gespeichert.

Gefällt Ihnen die Prüfung? Mit kostenlosem Konto: signierter Prüfnachweis und API-Zugang.

Kostenlos registrieren

Official rule text

[BR-CL-23] Unit code MUST be coded according to the UN/ECE Recommendation 20 with Rec 21 extension

Severity: Error

Source: EN 16931-1 (European standard for electronic invoicing), business rules; rule text from the official KoSIT validation configuration (Schematron) for XRechnung 3.0.2 including the CEN EN 16931 rules.

Typical causes

How to fix BR-CL-23

  1. Assign a code to each unit in your invoicing software. Common codes: H87 piece, C62 one (unit), HUR hour, DAY day, MON month, KGM kilogram, MTR metre, MTK square metre, LTR litre, LS lump sum.
  2. Regenerate the invoice and validate it again.
Example: how it looks when correct (UBL and CII)

The values are examples. Enter your own data – preferably in your invoicing software, not by hand in the XML file.

UBL (XRechnung in UBL syntax)

<cac:InvoiceLine>
  <cbc:ID>1</cbc:ID>
  <cbc:InvoicedQuantity unitCode="HUR">8</cbc:InvoicedQuantity>
  <!-- … -->
</cac:InvoiceLine>

CII (XRechnung in CII syntax, ZUGFeRD, Factur-X)

<ram:SpecifiedLineTradeDelivery>
  <ram:BilledQuantity unitCode="HUR">8</ram:BilledQuantity>
</ram:SpecifiedLineTradeDelivery>

Frequently asked questions

C62 or H87 for piece?

Both are valid. H87 means “piece”, C62 “one”. Use one of the two consistently.

How do I check whether BR-CL-23 is fixed?

Regenerate the invoice and upload the XML file at the top of this page. The check works without an account; the file is not stored.

Related messages

Validate for free →