Validation rules explained › All fields of XRechnung
Reference: only the official data of this field, no explanation of ours.
BT-150 Invoice line › Price › Unit code
Official description
Der Code der zu Grunde gelegten Maßeinheit. Die Maßeinheit der Item price base quantity unit of measure sollte gleich der Maßeinheit der in Rechnung gestellten Menge (BT-130) sein.
Source: KoSIT, semantic data model of XRechnung (xrechnung-visualization 2026-08-31), original text in German.
- Official label
- Code der Maßeinheit · Unit code ·
Item_price_base_quantity_unit_of_measure - Group
- BG-25 Invoice line › BG-29 Price details
- Data type
code- Cardinality in the group
- 0..1
- Place in the XML file
- UBL:
/Invoice/InvoiceLine/Price/BaseQuantity/@unitCodeUBL CreditNote:/CreditNote/CreditNoteLine/Price/BaseQuantity/@unitCode
Validation rules on this field
BR-TMP-3 Error
Wenn BT-149 (Item price base quantity) sowohl in GrossPriceProductTradePrice als auch in NetPriceProductTradePrice vorhanden ist, müssen die Werte identisch sein. Wenn BT-150 (unit of measure code) auf dem NetPrice-Pfad vorhanden ist, muss es auch auf dem GrossPrice-Pfad vorhanden und identisch sein. (CII)
PEPPOL-EN16931-R130 Error
Unit code of price base quantity MUST be same as invoiced quantity.
Source: KoSIT Validator Configuration XRechnung 3.0.2 (2026-09-02), original texts: rules that name the field and rules we assign to it. Level as in the scenarios for XRechnung (UBL Invoice and CII).