# HR-BR-21

Source: https://xmlvalid.com/rules/HR-BR-21

> Stavka …: Jedinica mjere jedinične količine cijene artikla, ako je iskazan, MORA biti jednaka jedinici mjere obračunate količine (BT-130)

- Level: error
- Rule sets: Croatian eRačun rules (UBL) 13.03.2026
- Context: `cac:Price/cbc:BaseQuantity[@unitCode]`
- Test: `not($hasQuantity) or @unitCode = $quantity/@unitCode`

In English: The unit of measure of the item price base quantity, when given, must be the same as the unit of the invoiced quantity (BT-130).

Validate a document against these rules: https://xmlvalid.com/validate
