# PEPPOL-EN16931-R130

> Unit code of price base quantity MUST be same as invoiced quantity.

Checked against Peppol BIS Billing 3.0 2026.5

Canonical: https://einvoicecheck.eu/rules/peppol-en16931-r130

## Official rule text

Unit code of price base quantity MUST be same as invoiced quantity.

## Why did my invoice fail PEPPOL-EN16931-R130?

The unit of measure of the item price base quantity (BT-150) must be the same as the unit of the invoiced quantity (BT-130). Since the net amount is derived from invoiced quantity divided by base quantity, both must share a unit code for the calculation to be dimensionally correct.

## Common causes

- InvoicedQuantity uses one unitCode (e.g. C62) while Price/BaseQuantity uses another (e.g. KGM).
- The base quantity unitCode was left off or defaulted, so it does not match the invoiced quantity unit.
- Pricing data and quantity data came from systems using different unit codes for the same item.

## How do I fix it?

```
Align the unit codes: <cbc:InvoicedQuantity unitCode="C62">10</cbc:InvoicedQuantity> with <cbc:BaseQuantity unitCode="C62">1</cbc:BaseQuantity>.
```
