Asapeca E-Invoice

Validation rules explained

BR-CL-23 Invalid unit of measure code

Official rule text

Unit code MUST be coded according to the UN/ECE Recommendation 20 with Rec 21 extension

Source: KoSIT validator configuration for XRechnung (original text).

Fields concerned
Invoice line › Unit (BT-130)
Level in the check
Warning — the invoice is accepted

What the rule requires

The unit of a line (BT-130) must be a code from the UN/ECE Recommendation 20 and 21 lists — not an abbreviation from your own program.

In KoSIT's XRechnung configuration this is a warning: the invoice is accepted. Other validators treat the same rule as an error.

Common codes

Unit Code
piece H87 or C62 ("one")
hour HUR
day DAY
kilogram KGM
metre MTR
lump sum LS

All codes are in the validator configuration (list for rule BR-CL-23).

Common causes

How to fix it

Map every unit in your program to its UN/ECE code; many programs have a field such as "unit for e-invoice" for that.

Example (CII)

<ram:BilledQuantity unitCode="HUR">2.5</ram:BilledQuantity>   <!-- BT-129, BT-130 -->

Sources: KoSIT validator configuration XRechnung 3.0.2 (code list, level "warning"); XRechnung specification 3.0.2 (BT-130).

Based on the official documentation · sources · Last checked: 2026-10-14

Check an invoice →