FOR BOOKKEEPERS AND ERP ADAPTERS

Catch invoice defects before you submit.

Check an invoice Try a broken example

Drop a JSON, UBL, CII or Factur-X PDF invoice or credit note, or paste the JSON shape. Each fault comes back with a rule ID and the change that fixes it, and the official EN 16931, XRechnung and Peppol rules can run here too. Everything stays in this browser tab.

This is the free edition. It stays free and keeps working, with fixes and page polish. A paid edition that fixes and explains rejected e-invoices for SMEs and their accountants is in development — early access; nothing is for sale yet.

What the built-in rules catch

Invoice to check

Drop .json, .xml, or Factur-X .pdf files here, or choose them.

Up to 50 files, 1 MB each. Multiple files also flag repeated invoice numbers.

Or paste one JSON invoice:

More broken examples (9)

Preflight result

No invoice checked yet.

What this checks

Local rules (the Python CLI runs the core of them, as the note below says): required fields, ISO dates, currency shape, party identifiers, line arithmetic, totals, optional prepaid versus amount due (INV-028 and INV-029), optional VAT, IBAN, and BIC typo catches (INV-022 through INV-027), remittance matching (INV-030 and INV-031), credit-note document type plus original-invoice reference (INV-032 through INV-034), 0% or exempt lines that omit a tax reason (INV-035 and INV-036), mixed tax rates without a per-rate breakdown (INV-037 and INV-038), and optional buyer or seller electronic addresses (INV-039 through INV-041), and an optional invoice period that is incomplete or ends before it starts (INV-042 and INV-043), optional payment means versus IBAN (INV-044 through INV-046), optional buyer or purchase-order references (INV-047 through INV-049), optional header allowances or charges (INV-050 through INV-052), and optional payment terms days versus due date (INV-053 and INV-054). UBL XML, UN/CEFACT CII, and Factur-X / ZUGFeRD PDFs (the embedded XML) are mapped into that shape. A PDF result says Unwrapped factur-x.xml (CII) from the PDF when the standard attachment was opened; custom attachment names are not shown. UBL mapping includes CreditNote, BillingReference, payee account, branch, PaymentID, PaymentMeansCode, TaxExemptionReason, TaxSubtotal, EndpointID, InvoicePeriod, BuyerReference, OrderReference, invoice-level AllowanceCharge, and PaymentTerms SettlementPeriod DurationMeasure. It is not a Peppol, EN 16931, or tax-law validator and it does not submit anything.

Prefer a pipeline? For JSON, UBL, CII and Factur-X files the built-in checks also run from python3 -m einvoice_preflight invoice.json in this directory: on the 42 such files shipped with the tool it reports the same rules as this page, except the PDF/A notes, which only this page shows. National formats (FatturaPA, KSeF, CFDI, NAV, NF-e, Facturae, VERI*FACTU and others) and the official Schematron box are this page and the Node API only.

Common questions

Germany’s dates are the fifth question here; every other country, A to Z, is in e-invoicing rules by country.

Does this submit an e-invoice?

No. The page only reads files or pasted JSON in your browser and reports observations. It never contacts a tax authority or submission network.

How do I check an e-invoice before submission?

Drop a JSON, UBL, or CII (XRechnung / Factur-X) XML invoice or credit note, a Factur-X / ZUGFeRD / XRechnung PDF with an embedded invoice, or paste the JSON shape. The checker unwraps the PDF in the browser when needed and reports missing fields, date-shape mistakes, a header allowance or charge whose amount does not match its percentage, a purchase-order reference that repeats the invoice number or is a placeholder, payment terms days that do not match the due date, a SEPA or credit-transfer payment means without an IBAN, an invoice period that is incomplete or ends before it starts, totals that do not match the line items, mixed tax rates without a per-rate breakdown, a buyer electronic address that fails its GLN or EAS scheme, a credit sent as a commercial invoice, a missing original-invoice reference, a 0% or exempt line without a tax reason, prepaid versus amount-due mismatches, a missing remittance on an IBAN invoice, and optional VAT, IBAN, BIC, and RF typo catches, with a rule ID and a suggested fix. It does not decide tax treatment or legal validity.

How do you calculate a mixed-VAT-rate tax breakdown?

Group the lines by rate, sum each rate's net, multiply by that rate, and round to the cent — see the worked example the INV-037/INV-038 checks are built from.

What does this e-invoice error code mean?

Every rule this checker reports has an INV- code naming one specific defect and the field it was found in — the rule reference lists all of them with a fix for each. They are this tool's own identifiers, not EN 16931 BR- rules or a submission network's rejection codes.

When must German businesses issue e-invoices?

Receiving structured e-invoices has been mandatory since 1 January 2025; issuing is mandatory from 2027 (businesses above 800,000 euro prior-year turnover) and 2028 (everyone) for domestic B2B. See the dates, the formats that count and a free XRechnung check. Auf Deutsch: E-Rechnung kostenlos prüfen XRechnung oder ZUGFeRD? und E-Rechnung für Kleinunternehmer und Leitweg-ID prüfen; received one and cannot read it: XRechnung anzeigen.

Should I use this checker or a platform like Avalara?

Different jobs: Avalara (or a comparable platform) calculates and files tax and routes e-invoices across a whole operation as an ongoing subscription. This checker is a free, local, no-account validation of one invoice file's fields and arithmetic before it reaches that pipeline — see this checker vs. Avalara.

E-invoicing rules by country

All countries side by side: e-invoicing mandates by country, with dates, formats and what this checker covers.