HomeError code lexicon › PEPPOL-EN16931-R040
PEPPOL-EN16931-R040 PEPPOL BIS rules (Peppol)

Fix PEPPOL-EN16931-R040: Allowance or charge does not add up

If both base amount and percentage of an allowance or charge are stated, the amount shall equal base amount × percentage / 100.

PEPPOL-EN16931-R040 in your own invoice? Upload the file and find every error in seconds.

What does PEPPOL-EN16931-R040 mean?

Peppol checks that allowances and charges add up. If the amount, base amount and percentage do not match, that points to a calculation or rounding error.

Common causes of PEPPOL-EN16931-R040

How to fix PEPPOL-EN16931-R040

  1. Find the faulty spot in the XML. Open the XML of the invoice and go to the spot in question along this XPath:
  2. Apply the fix. Correct the allowance or charge amount so it matches the rounded result of base amount x percentage / 100.
  3. Validate again. Save the file and validate it again to check that PEPPOL-EN16931-R040 is no longer reported.
Concrete fix

Correct the allowance or charge amount so it matches the rounded result of base amount x percentage / 100.

Frequent questions about PEPPOL-EN16931-R040

How much tolerance is there?
Only commercial rounding to two decimal places. The reported amount must match the rounded product.

Related error codes

Check PEPPOL-EN16931-R040 automatically

Instead of digging through the XML by hand you can validate your ZUGFeRD or XRechnung file online – upload the PDF or the XML and you get every error with rule ID, affected field, fix and XPath, as a readable report or as JSON through the API.

Find every error automatically instead of searching by hand

Upload your ZUGFeRD, Factur-X or XRechnung file – you get every violation back with rule ID, field, fix and XPath.

Validate online for free
Check invoice