Unit code errors — UN/ECE Rec 20 list (IBR-CL-23)
Fix IBR-CL-23 unit code rejections: the most common invalid codes and their correct UN/ECE Rec 20 replacements.
IBR-CL-23 fires when a line item's unit code is not in the UN/ECE Recommendation 20 (Rec 20) code list. The portal's default units are compliant, but ERP exports or custom integrations often use informal codes.
Common invalid codes and their replacements
| Invalid code | Meaning | Correct Rec 20 code |
|---|---|---|
BOX |
Box | XBX |
PCE |
Piece | H87 |
PCS |
Pieces | H87 |
EA |
Each | C62 |
KGS |
Kilograms | KGM |
LTR |
Litres | LTR ✓ (valid) |
MTR |
Metres | MTR ✓ (valid) |
NOS |
Numbers | C62 |
PKG |
Package | PK |
SET |
Set | SET ✓ (valid) |
HRS |
Hours | HUR |
DAY |
Days | DAY ✓ (valid) |
MON |
Months | MON ✓ (valid) |
Where to look up codes
The full UN/ECE Rec 20 list is available in the Code lists section of this help centre. You can search by code or description.
Bulk fix strategy
If your ERP exports many lines with wrong unit codes:
- Export your item master to CSV.
- Find-and-replace invalid codes using the table above.
- Re-import the item master.
- Test with one invoice before processing the backlog.
In the InvoiceNET portal
Go to Items / Products → select an item → Unit code dropdown. Only valid Rec 20 codes are offered in the dropdown, preventing this error when you enter invoices manually.
See also: Code lists · Field IBT-130 — Invoiced quantity unit.