robin.vision Appointment

SmartFormular

Tools › SmartFormular E-Rechnung lite › Validation rules › PEPPOL-EN16931-R130

PEPPOL-EN16931-R130

The price base quantity unit (BT-150) differs from the invoiced quantity unit (BT-130)

Validation rule of XRechnung 3.0.2 (KoSIT, Schematron 2.6.0) · Level: Error

What the message means

The price base quantity unit (BT-150) differs from the invoiced quantity unit (BT-130).

What the issuer needs to change

Make both units the same.

This rule is part of XRechnung, even though its name starts with PEPPOL.

Fields concerned

Your invoice reports PEPPOL-EN16931-R130? Check it with SmartFormular E-Rechnung lite, free to try until 31 December 2026: the tool shows every finding with an explanation, the invoice in readable form and a GiroCode to pay – in your browser, no upload.

Check an e-invoice

Origin

Rule set
XRechnung 3.0.2 (KoSIT, Schematron 2.6.0)
Syntax
CII, UBL
Level
Error

Original rule text

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

Source: KoSIT, XRechnung Schematron 2.6.0, Apache License 2.0

Technical details for IT

UBL

Context: cac:Price/cbc:BaseQuantity[@unitCode]
Test: not(not($hasQuantity) or @unitCode = $quantity/@unitCode)

CII

Context: ram:NetPriceProductTradePrice/ram:BasisQuantity[@unitCode] | ram:GrossPriceProductTradePrice/ram:BasisQuantity[@unitCode]
Test: not(@unitCode = ../../../ram:SpecifiedLineTradeDelivery/ram:BilledQuantity/@unitCode)

Related rules

All validation rules

Technical explanation by robin.vision, not tax or legal advice. Rules as of 31 August 2026 (KoSIT validator configuration).