Data Types
Unit of Measure

Unit of Measure

These are the supported Unit of Measure (UoM) codes for UBL 2.1 documents.

Use one of these codes in the unitCode attribute for invoice, credit note, and debit note quantity elements:

  • cbc:InvoicedQuantity
  • cbc:CreditedQuantity
  • cbc:DebitedQuantity

The value must match a UBL 2.1 UoM code exactly, including uppercase letters and numbers.

Common UBL 2.1 UoM Codes

CodeNameSymbol
EAeach-
C62one1
HURhourh
DAYdayd
KGMkilogramkg
GRMgramg
LTRlitrel
MTRmetrem
MTKsquare metre
MTQcubic metre
KWHkilowatt hourkW·h
TNEtonne (metric ton)t
BXbox-
PKpack-
SETset-

Full Supported UBL 2.1 UoM Code List

CodeNameDescriptionSymbol