einvoiceconverter.come-invoice error codes

PEPPOL-EN16931-R130

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

ErrorXRechnungUBLCII

The official rule

EN 16931, EnglishUnit code of price base quantity MUST be same as invoiced quantity.
Technical detail — where the rule is evaluated and the exact test
SyntaxContext and assertion
UBLcac:Price/cbc:BaseQuantity[@unitCode]
not($hasQuantity) or @unitCode = $quantity/@unitCode
CIIram:NetPriceProductTradePrice/ram:BasisQuantity[@unitCode] | ram:GrossPriceProductTradePrice/ram:BasisQuantity[@unitCode]
@unitCode = ../../../ram:SpecifiedLineTradeDelivery/ram:BilledQuantity/@unitCode

This page reproduces the official rule text and its technical definition. A written explanation has not been added yet — tell us you hit this rule and we will write one up.

Check your own invoice

Paste or drop your UBL or CII file into the free validator. It runs the official EN 16931 ruleset plus the German XRechnung layer and lists every rule that fires, PEPPOL-EN16931-R130 included — no signup, no limit.

Validate an e-invoice free

Fixing the data at source instead? The CSV converter builds a compliant invoice from a spreadsheet export.

Other Peppol BIS Billing 3.0 rules