Validation rules
PEPPOL-EN16931-R040 — Peppol BIS rule
An allowance/charge amount must equal base amount × percentage / 100 when both base amount and percentage are present.
- Rule
PEPPOL-EN16931-R040— official EN 16931 / XRechnung rule- Severity
- error
- Detected by
- tier 1 — normbill pre-flight (also in the playground)
- Reachability
- Triggerable from your request JSON (generate & validate)
normbill's pre-flight reports the equivalent finding as NB-AC-MISMATCH at tier 1.
How to fix it
Fix the amount, or omit it and let normbill compute base_amount × percent.
PEPPOL-EN16931-R040 auf Deutsch — was bedeutet der Fehler?
Ein Nachlass-/Zuschlagsbetrag muss Grundbetrag × Prozentsatz / 100 entsprechen, wenn beide angegeben sind.
So beheben Sie den Fehler
Korrigieren Sie den Betrag — oder lassen Sie ihn weg, damit normbill base_amount × percent berechnet.
Related rules
PEPPOL-EN16931-R041— An allowance/charge percentage is present, so its base amount must be provided as well.PEPPOL-EN16931-R042— An allowance/charge base amount is present, so its percentage must be provided as well.PEPPOL-EN16931-R043— An allowance/charge indicator must be exactly 'true' or 'false'.PEPPOL-EN16931-R044— A charge on price level is not allowed — only allowances (indicator 'false').PEPPOL-EN16931-R046— The item net price must equal the gross price minus the price allowance when a gross price is provided.PEPPOL-EN16931-R053— Exactly one tax total with tax subtotals must be provided.
Official sources
- XRechnung specification (KoSIT / xeinkauf.de)
- KoSIT validator on GitHub and the XRechnung validator configuration
Every 422 from the API lists the rule id, the path in your request JSON, a plain-language message and a suggested fix — see the docs overview for the report format.
Or try it live: drop any XRechnung XML on the free validator — same KoSIT-backed report, no account.