Fix XRechnung errors automatically
Many rejected XRechnung or Peppol files fail on typical ERP export mistakes, not on the invoice itself. Upload the file to the validator – we show, for free, which findings can be fixed safely and deterministically, plus a diff of the changes.
Validation and the Auto-fix preview are free, with no sign-up. Files are deleted after processing. This is not tax advice.
How it works
- Validate an XML or ZUGFeRD PDF above against the official rules (KoSIT for XRechnung, OpenPeppol for Peppol BIS 3.0, veraPDF/schematron for ZUGFeRD).
- If it fails, you will see “We can fix N of M errors automatically”, the planned changes and a diff. Anything ambiguous becomes a short form field. Amounts change only if you confirm them.
- “Download the fixed XML (1 conversion)” rebuilds the file, runs the official validator again and only then returns the download.
What Auto-fix typically repairs
- Date formats: DD.MM.YYYY, YYYYMMDD; slash dates only when the day is unambiguously greater than 12.
- Currency: EURO or wrong case to EUR (ISO 4217), including currencyID attributes.
- Units: Stk, Stück, pcs and similar unambiguous spellings to H87 (UNECE Recommendation 20). Unknown codes are left alone – we will not turn Stk into STK.
- Code lists: country (including unambiguous alpha-3 such as DEU to DE), VAT category, TaxScheme VAT, stray whitespace on BT-24.
- Missing mandatory fields that are already in the document or that you type in: buyer reference (BT-10), seller registration name, contact e-mail copied from an EndpointID with scheme EM.
- Totals BR-CO-10 to BR-CO-16 with official half-up rounding, and an unambiguous standard-rate VAT breakdown (BR-S-01) when every line is S at the same rate.
KSeF FA(3) and ZATCA UBL follow the same principles for dates, currency, NIP/VAT spacing and totals. Signatures, QR codes and the previous-invoice hash (PIH) are never modified. Valifakt is not a ZATCA-onboarded EGS and does not submit to KSeF or Fatoora.
What we will not change silently
No amounts without your confirmation. No guessed dates or tax rates. No “repair” of ambiguous values. If official errors remain after Auto-fix, there is no download and no conversion is charged.
Related: XRechnung validator, Peppol validator, XRechnung error codes, Pricing.
FAQ
What can Auto-fix change safely?
Only unambiguous, deterministic mistakes: date formats such as DD.MM.YYYY, currency codes (for example EURO to EUR), unit codes such as Stk to H87 (UNECE Recommendation 20), code-list case and whitespace, a missing buyer reference (BT-10) when it is already in the order reference or you type it into a short form, and totals rounding (BR-CO-*) – amounts only after you confirm them.
What will Auto-fix not change on its own?
Ambiguous values (for example 05/06/2026 as a date) and any amount change without your confirmation. Unclear cases become a short form field. This is not tax advice, and we do not invent tax treatment that is not already clear from the file.
Does it cost anything?
The preview (“We can fix N of M errors automatically”) and the diff are free. Downloading the fixed file, re-checked with the official validator, uses 1 conversion – first the 3 free per month, then the €9 pack (10 conversions) or Pro/Office. If the file still fails official validation, you are not charged.
Which formats are supported?
XRechnung (UBL and CII), Peppol BIS Billing 3.0 (UBL) and ZUGFeRD/Factur-X (embedded XML; the download can re-embed the fixed XML in the PDF). KSeF FA(3) and ZATCA UBL are also covered for the same class of deterministic fixes. Valifakt is not a ZATCA-onboarded EGS and does not submit to KSeF – you get the corrected file, not a filing.
Sources
- KoSIT / xrechnung – specification and validator
- EN 16931-1 (core invoice semantic data model) and its code lists (ISO 4217, ISO 3166-1, UNECE Recommendation 20)
- OpenPeppol BIS Billing 3.0
As of 1 Dec 2026. This is not tax or legal advice. Mandate and format rules follow the official sources linked above and may change.