Validation rules
PEPPOL-EN16931-R042
An allowance/charge base amount is present, so its percentage must be provided as well.
- Rule
PEPPOL-EN16931-R042— official EN 16931 / XRechnung rule- Severity
- error
- Detected by
- tier 3 — KoSIT validator (authoritative)
- Reachability
- Triggerable from your request JSON (generate & validate)
The request schema allows amount + base_amount without percent; the serializer then writes a base without a percentage, which this rule rejects.
How to fix it
Set the allowance/charge percent, or remove the base_amount.
PEPPOL-EN16931-R042 auf Deutsch — was bedeutet der Fehler?
Ein Grundbetrag ist angegeben, dann muss auch der Prozentsatz des Nachlasses/Zuschlags übermittelt werden.
So beheben Sie den Fehler
Setzen Sie percent — oder entfernen Sie base_amount.
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.