Datatypes › All measurable values (percentage, amount and e.t.c) › unit_of_measure

UN/ECE Recommendation 20 unit code (UN/CEFACT common code)

ID unece_rec20_unit_code

Pattern of unit_of_measureNot PIIcategorical

Two- or three-character code of a unit of measure from UN/ECE Recommendation 20, used in trade documents such as UN/EDIFACT and UBL invoices, for example KGM for kilogram or H87 for piece. Codes use uppercase letters and digits. Some lists, such as Peppol, add package codes from Recommendation 21 with an X prefix; they have the same shape but are not units.

Pattern of
Unit of measurement unit_of_measure
Categories
All measurable values (percentage, amount and e.t.c)
Countries
Global (not tied to a country)
Languages
Common to most languages
Wikidata
P6512
Quality
95/100 · missing: translation
Metacrafter rules
1 rule (0 by field name, 1 by value)
Supported by tools
metacrafter

Regular expression

^[A-Z0-9]{2,3}$

Python re syntax.

Test a value

Examples

ValueDescription
KGM kilogram
MTR metre
LTR litre
C62 one (unit)
H87 piece
KGMS invalid four characters

Sources

Use this record