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
- Rounding difference between the calculated and the reported amount.
- Percentage and amount come from different calculation steps.
How to fix PEPPOL-EN16931-R040
- Find the faulty spot in the XML. Open the XML of the invoice and go to the spot in question along this XPath:
- Apply the fix. Correct the allowance or charge amount so it matches the rounded result of base amount x percentage / 100.
- 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.