Skip to main content

BR-CL-23 Unit code must come from UN/ECE Rec 20 with Rec 21

Unit of measure codes (e.g. invoiced quantity unit BT-130, base quantity unit BT-150) must be coded per UN/ECE Recommendation 20 with the Rec 21 extension.

Problem Description

Unit of measure codes (e.g. invoiced quantity unit BT-130, base quantity unit BT-150) must be coded per UN/ECE Recommendation 20 with the Rec 21 extension.

ERROR

XRechnung 3.0

Context and Significance

This EN16931 core code-list rule guarantees that quantities carry a globally recognised unit for pricing and delivery.

Solution

Use a valid UN/ECE Rec 20/21 code such as C62 (one/piece), KGM (kilogram), MTR (metre), LTR (litre) or HUR (hour).

Quick actions

Valid Examples

Use these points as the practical checks for this section.

  • BT-130 = C62 — one/piece
  • BT-130 = KGM — kilogram

Invalid Examples

Use these points as the practical checks for this section.

  • BT-130 = PCS — not a UN/ECE Rec 20/21 code
  • BT-130 = Stk — local abbreviation

Code Examples

Valid XML
<cbc:InvoicedQuantity unitCode="C62">10</cbc:InvoicedQuantity>
Invalid XML
<cbc:InvoicedQuantity unitCode="PCS">10</cbc:InvoicedQuantity>

Affected Fields

Validation Tools