Quaterio
Factur-X glossary

Unit code

Also called BT-130, unit of measure code, UN/ECE Recommendation 20

Every EN 16931 invoice line states its quantity in a unit taken from a fixed code list, UN/ECE Recommendation 20. The codes are not intuitive: a plain count of things is C62, hours are HUR and kilograms are KGM.

Business term
BT-130, invoiced quantity unit of measure
Code list
UN/ECE Recommendation 20
A plain count
C62
Hours, kilograms, days
HUR, KGM, DAY

The three you will need first

C62 is "one", the code for a plain countable item. It is the right answer far more often than anything else and it is the least guessable code in the list.

HUR is hours, which is what most service invoices need. KGM is kilograms. DAY is days, MTR is metres, LTR is litres.

What does not work is the word. "each", "hours" and "pcs" are not codes, and a line carrying one of those fails a code list rule rather than being interpreted charitably.

Why the failure is confusing

The rule that fires is a BR-CL code list rule, and its message says the value is not in the permitted list without saying which list or what a valid entry looks like.

So the error reads as though something exotic is wrong when the fix is usually to send C62 instead of the word "unit".

Why it matters

  • It is a required field on every line, so an integration that never mapped it fails on every invoice rather than occasionally.
  • C62 is unguessable, which makes this a common first failure for anyone building a mapping by intuition.

Check it on your own file

Common questions

What unit code should I use for a simple item count?
C62. It is the UN/ECE Recommendation 20 code for "one" and is the correct choice for a plain countable item. The word "each" is not a valid code.
What is the unit code for hours?
HUR. Most service invoices billed by time use it.

Related terms