Back to the error catalogue
PEPPOL-EN16931-R130BT-150
input

The unit of the price base quantity differs from the invoiced quantity's

`Item price base quantity unit of measure` (BT-150) must be the same unit as the invoiced quantity's (BT-130).

Only the issuer holds this value: Factlint reports it and never fabricates it. Test your invoice to find out whether it is affected.

The message your validator prints

Copied verbatim from the sealed artefact: this is the exact sentence the check prints when this rule fails.

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

Quoted from schematron-xrechnung 3.0.2, licensed under Apache-2.0.

Common searches around this code

These phrases mirror what an integrator searches for: code, syntax, rule, business field and correction.

PEPPOL-EN16931-R130 The unit of the price base quantity differs from the invoiced quantity'sPEPPOL-EN16931-R130 XRechnung Schematron package (KoSIT)PEPPOL-EN16931-R130 BT-150Unit code of price base quantity MUST be same as invoiced quantity.PEPPOL-EN16931-R130 correction

Test your file with this error in mind

Upload the invoice involved: the report will say whether this code appears, where it appears in the document, and whether Factlint can only report it or also fix it.

To automate this check in an ERP flow, call the validation API and link every returned code to its public page.

Why this error happens

Two different units make the line uncomputable: a price “per 100 pieces” against a quantity in kilograms does not multiply. The case comes from a catalogue whose pricing unit did not follow the selling unit.

How to fix it

Align the two units in your catalogue. Factlint does not copy one onto the other: nothing says which is right, and changing the pricing unit changes what the price means without changing its figure — the hardest kind of error to spot afterwards.

XML correction example

BEFORE (invalid)
<ram:BilledQuantity unitCode="HUR"> … <ram:BasisQuantity unitCode="C62">
AFTER (compliant)
<ram:BasisQuantity unitCode="HUR">1</ram:BasisQuantity>