Skip to content
Klarfile

BR-23: A line has no unit of measure

This code shows up when an electronic invoice is validated. Here is what it means, why it fires, and what to change in the file.

Why this code appears

The quantity of a line carries no unit of measure code (BT-130).

How to fix it

Add the unitCode attribute on BilledQuantity, with a UN/ECE Rec 20 code: C62 for "one/piece", HUR for an hour, DAY for a day, KGM for a kilogram.

What it looks like in the file

These two snippets are replayed against our own checker on a complete invoice, every time the site is built. The first one raises this code, the second one does not.

What raises the code:

<ram:BilledQuantity>2</ram:BilledQuantity>

What to write instead:

<ram:BilledQuantity unitCode="HUR">2</ram:BilledQuantity>

Where it happens

This code comes from EN 16931, the European e-invoicing standard. It concerns business term BT-130.

Check my invoice All rejection codes