# BT-150 Item Price Base Quantity Unit Code

The unit code for the item price base quantity.

## Quick answer

The unit code for the item price base quantity.

> **Line items**: The goods or services on each invoice line, including quantities, prices, and VAT.

- validate
- convert

## In plain language

The unit code for the item price base quantity.

The unit code for the item price base quantity.

Describes how the invoice line price is derived, including base quantity and any price-level discount, so automated checks can recalculate line totals.

## What you usually enter here

UNECE Recommendation 20/21 unit code

Typical valid values include: EA, HUR, KGM

Defined by EN 16931 for line price calculation data; required fields must satisfy the listed BR and Peppol calculation constraints.

## What goes wrong often

Avoid values like: each, kg

Relevant rule codes: BR-CL-23, PEPPOL-EN16931-R130

## Examples in context

Describes how the invoice line price is derived, including base quantity and any price-level discount, so automated checks can recalculate line totals.

Defined by EN 16931 for line price calculation data; required fields must satisfy the listed BR and Peppol calculation constraints.

## Valid Examples

- EA
- HUR
- KGM

## Invalid Examples

- each
- kg

## Related Fields

Describes how the invoice line price is derived, including base quantity and any price-level discount, so automated checks can recalculate line totals.

- [BT-130 Invoice line quantity unit of measure code](/resources/xrechnung/bt-130-invoice-line-quantity-unit-of-measure-code)
- [BT-149 Item Price Base Quantity](/resources/xrechnung/bt-149-item-price-base-quantity)

## XML mapping and field facts

Open the technical reference if you need XML paths, validator rule codes, legal wording, or schema-specific mapping details.

### Field ID:
BT-150

### Data Type:
code

### Cardinality:
0..1

### Requirement:
Optional

### Since Version:
Optional

## XML Implementation

### UBL 2.1 Syntax
```
/Invoice/cac:InvoiceLine/cac:Price/cbc:BaseQuantity/@unitCode
```

## Validation Rules

### BR-CL-23
BR-CL-23

### PEPPOL-EN16931-R130
PEPPOL-EN16931-R130

## Why the standard cares about this field

### Business Context
Describes how the invoice line price is derived, including base quantity and any price-level discount, so automated checks can recalculate line totals.

### Legal Requirement
Defined by EN 16931 for line price calculation data; required fields must satisfy the listed BR and Peppol calculation constraints.

## Official sources and tools

- [KoSIT Validator](https://erechnungsvalidator.service-bw.de/)
- [Invoice Converter](/pdf-to-xrechnung)
- [XRechnung Standard](https://xeinkauf.de/xrechnung/)
- [Test Suite](https://github.com/itplr-kosit/xrechnung-testsuite)
