Rules › EN 16931 (European standard) › BR-23

A line's quantity has no unit

In short: Each invoiced quantity must give its unit of measure (unit, hour, day…), as a standard code.

✗ ErroriAn invoice that fails this rule is not valid under its rule set.Lines, allowances and charges

  1. What the rule checks

    Each invoiced quantity must come with its unit of measure: unit, hour, day, kilogram… The e-invoice does not spell it out but uses a standard code, which your software picks from the unit you select.

  2. Common causes

    • A flat-fee line without a unit.
    • A unit typed as free text ("flat fee", "lot") that the software does not turn into a code.
    • An item created without a unit in the software's catalogue.
  3. How to fix it

    1. Choose a unit for each item or service in your software, for example "unit", "hour" or "day".
    2. For a flat-fee service, choose the unit "unit".
    3. If the unit is chosen but missing from the e-invoice, report it to the software's publisher, quoting BR-23.
  4. Why it matters

    BR-23 is a rule of the European e-invoicing standard, EN 16931. The French, German (XRechnung) and European (Peppol) rules build on this standard, so an invoice that fails BR-23 also fails each of them.

    In public procurement, buyers in the European Union must accept e-invoices that follow this standard (Directive 2014/55/EU).

Does your invoice pass BR-23?

Check it against this rule only. The check runs in your browser, so nothing is sent.

Technical details

If you are interested in the technical side: the data the rule checks in the invoice file.

The unit is BT-130, an attribute of the quantity BT-129: unitCode of ram:BilledQuantity in CII, of cbc:InvoicedQuantity (or cbc:CreditedQuantity) in UBL. The code comes from UN/ECE Recommendations 20 and 21, as rule BR-CL-23 requires: for example C62 (unit), HUR (hour), DAY (day), KGM (kilogram).

The Factur-X XML schema leaves this attribute optional: BR-23 makes it mandatory. The example invoice removes the unit from its first line's quantity.

Fields (EN 16931)BT-130
CII/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeDelivery/ram:BilledQuantity/@unitCode
UBL/Invoice/cac:InvoiceLine/cbc:InvoicedQuantity/@unitCode
Reported asBR-23

The fix in the example file

Between the example invoice that fails the rule (−, removed) and the same invoice, valid (+, added):

  </ram:SpecifiedLineTradeAgreement>  <ram:SpecifiedLineTradeDelivery>−   <ram:BilledQuantity>2</ram:BilledQuantity>+   <ram:BilledQuantity unitCode="C62">2</ram:BilledQuantity>  </ram:SpecifiedLineTradeDelivery>  <ram:SpecifiedLineTradeSettlement>

Official text

An Invoice line (BG-25) shall have an Invoiced quantity unit of measure code (BT-130).

BR-23, EN 16931 validation artefacts 1.3.17, CII and UBL.

Page updated on 2026-11-18

EN 16931 concepts (business terms, rules): these pages are an implementation of the semantic data model EN 16931-1:2017 and its two mandatory syntaxes (CEN/TS 16931-2:2017), and reproduce parts of them with the permission of CEN and its member national standardisation bodies. CEN and the national standardisation bodies bear no liability for the content and implementation of these pages, and give no warranty, express or implied, for any purpose. In case of doubt, always refer to the official text of the standard.