E-invoice

XRechnung validator and ZUGFeRD validator: check e-invoices for free

Free and without an account: upload your XRechnung or your ZUGFeRD/Factur-X PDF and validate the e-invoice online — we work out which format it is. The check runs the official KoSIT validator with the current XRechnung configuration; from a PDF, the embedded invoice is extracted.

No file chosen
Or paste XML

XML or PDF, up to 5 MB — or just drop a file here. No sign-up, no allowance to spend.

Your file is processed in memory on a server in the EU and discarded immediately. We never store invoice content.

No invoice at hand?

One click checks the file right here — downloading is optional.

  • ValidValid invoice (UBL)

    Passes validation cleanly. A good starting point for your own mapping.

    File
  • ValidValid invoice (CII)

    The same invoice in the second permitted syntax, UN/CEFACT CII.

    File
  • ValidValid invoice (ZUGFeRD PDF)

    A hybrid of readable PDF and embedded CII invoice — produced by NormAPI generation, verified like every sample.

    File
  • BR-DE-15Buyer reference missing

    Without BT-10 — for public-sector invoices this holds the Leitweg-ID.

    File
  • BR-DE-2Seller contact missing

    The BG-6 contact group is absent entirely — the most common mapping gap.

    File
  • BR-CO-16Amount due does not add up

    The amount due contradicts the totals — the classic rounding bug.

    File
  • BR-DE-18Skonto notation malformed

    PROZENT=2 instead of PROZENT=2.00 — the notation started but not followed.

    File
  • SchemaSchema error: invoice number missing

    Fails at the XML schema. The business rules are never evaluated — an empty error list here does not mean "nothing wrong".

    File
  • Not checkedA profile with no validation scenario (Factur-X MINIMUM)

    Declares MINIMUM, which is not an EN 16931 invoice. No scenario matches, so no rule runs — the outcome is neither valid nor invalid but "not checked".

    File

What a finding looks like

The "Amount due does not add up" sample above, checked. Not a screenshot but the report itself — rule code, severity, the plain-language explanation and, folded beneath it, the official rule text and the location:

Example output

Invoice is not valid

  • BR-CO-16

    ErrorBusiness rule
    What the rule requires
    The amount due for payment (BT-115) must add up: invoice total with VAT (BT-112) minus any amount already paid (BT-113) plus the rounding amount (BT-114).
    How to fix it
    Use decimal arithmetic throughout rather than float or double, and round only when writing the output to two decimal places. Also check whether a prepaid amount (BT-113) is set that your calculation ignores.
    KoSIT rule text and location

    Amount due for payment (BT-115) = Invoice total amount with VAT (BT-112) -Paid amount (BT-113) +Rounding amount (BT-114).

    Location: /Q{urn:oasis:names:specification:ubl:schema:xsd:Invoice-2}Invoice[1]/Q{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}LegalMonetaryTotal[1]

    More on this rule

Rule set v2026-08-31Checked as EN16931 XRechnung (UBL Invoice)

The rule code leads to a page of its own. The location is the path within the document in Clark notation, not a line number — the same value the API returns.

What gets checked

Two layers, in that order. First the XML schema: whether the file is structurally an XRechnung at all. Only once it passes do the business rules run — which is why the report carries a field of its own for whether they did. Without it, "nothing found" and "not checked" would look identical from outside.

Then the business rules: some 300 checks from EN 16931 and its German extension, with codes like BR-DE-15, BR-CO-16 or BR-CL-23. Validation runs KoSIT's own tool against the official configuration — not a reimplementation, and against the same release the public sector's own checking services use.

What you can upload

XRechnung as plain XML in both syntaxes, UBL and UN/CEFACT CII, and ZUGFeRD or Factur-X PDFs — from a PDF the embedded invoice is extracted and that is what gets checked. Which format arrived is worked out from the file's content, not its extension.

Covered are XRechnung 3.0, plain EN 16931, and the Factur-X/ZUGFeRD profiles BASIC, EN 16931 and EXTENDED. MINIMUM and BASIC WL are not EN 16931 invoices: they deliberately carry fewer fields than the norm requires, so there is nothing to check them against. For a German B2B invoice they do not suffice anyway.

What the report tells you

Per finding: the rule code, the severity, and in plain language what the rule requires and how to fix it; unfolded, the official rule text and where in the document it sits. The code leads to the rule’s explanation, which for the common rules adds the usual cause and an XML example. A file that already fails the XML schema shows the schema’s own message there.

A warning does not make an invoice invalid, and the rule set emits advisories on perfectly clean invoices too. So the verdict is kept separate from the findings list: an invoice with three advisories and no errors is acceptable.

Below the findings comes the invoice itself, laid out to read: seller, buyer, lines, VAT, totals and payment details, every field with the BT number the rule texts refer to. For a ZUGFeRD PDF, that is the embedded XML. The whole report prints or saves as a PDF, with the time, the rule set and the SHA-256 checksum of the file that was checked.

What happens to your file

The note above the form means it literally: the check happens in memory, and then the file is gone. What follows from that matters more for an intake process — the report is produced at your end and stays there. Anyone who has to keep it as evidence can, without a second copy sitting somewhere else.

What this check cannot see

Whether the tax rate is the right one, whether the description of the supply is accurate, whether the invoice was even addressed to the right recipient. The BMF letter of 15 October 2025 treats that as its own class of error, and no technical check detects it. An invoice can pass all 300 rules and still be substantively wrong.

Frequently asked questions

Is the validator free?

Yes, with no sign-up and no allowance. The same check through the API stays free too; at NormAPI only generating invoices is paid.

Do e-invoices have to be validated?

There is no explicit duty to run a technical check. But under the German finance ministry’s letter of 15 October 2025, a file that does not match the format does not count as an e-invoice — and once e-invoicing is mandatory, that puts the recipient’s input VAT deduction in question. Many recipients therefore check incoming invoices automatically and send faulty ones back. If you generate invoices, check them before they go out.

What does “e-invoice not valid” mean?

The file breaks at least one rule: either the XML schema, its structure, or a business rule of EN 16931 or XRechnung, such as BR-DE-15 “buyer reference missing”. The report lists every error with its rule code, location and fix. Warnings alone do not make an invoice invalid.

Can I have an invoice checked?

Technically, yes, here for free: upload the file and the result arrives in seconds. Whether the VAT rate, the service and the recipient are right is something no software checks; that stays with accounting or the tax adviser.

How do I validate a ZUGFeRD file?

Upload the PDF above. The validator extracts the embedded XML (factur-x.xml, zugferd-invoice.xml or xrechnung.xml), detects the profile and checks it against the schema and the business rules. The PDF/A-3 conformance of the file itself is not checked.

Which ZUGFeRD format is valid?

ZUGFeRD from version 2.0.1 counts as an e-invoice in the profiles BASIC, EN 16931, EXTENDED and XRECHNUNG. MINIMUM and BASIC WL do not: they carry fewer details than EN 16931 requires (finance ministry letter of 15 October 2024). Older versions such as ZUGFeRD 1.0 are no longer known to the current rule set.

How can I tell whether a PDF is a ZUGFeRD invoice?

By its attachment: a ZUGFeRD PDF carries an XML file named factur-x.xml, zugferd-invoice.xml or xrechnung.xml, visible in the attachments panel of many PDF readers. Without it, the PDF is not an e-invoice. Simpler: upload it here, and the validator says whether an invoice is inside and which one.

Is this the official KoSIT validator?

Yes. The check runs KoSIT’s own validation tool against the official XRechnung configuration; the version is printed under every result. The only addition is scenarios for Factur-X BASIC and EXTENDED, which the official configuration does not ship.

Which files can I check?

XRechnung as XML in both syntaxes, UBL and CII, and ZUGFeRD or Factur-X PDFs in the profiles BASIC, EN 16931 and EXTENDED, up to 5 MB. MINIMUM and BASIC WL carry fewer fields than EN 16931 requires, so they are not e-invoices in the sense of the norm.

UBL or CII — what is the difference?

Two XML syntaxes for the same EN 16931 content. XRechnung comes in both; ZUGFeRD and Factur-X use CII. It makes no difference to the check: the validator tells the syntax from the content.

Can I view an XRechnung in readable form?

Yes. Below the result comes the invoice content: seller, buyer, lines, VAT, totals and payment details, also from the XML inside a ZUGFeRD PDF. The report, invoice content included, prints or saves as a PDF.

Is my invoice stored?

No. The file is checked in memory and then discarded; we store no invoice content.

Does the validator check PDF/A-3?

No. For a ZUGFeRD or Factur-X PDF, the embedded invoice is what gets checked, not the PDF/A conformance of the file itself. Dedicated tools such as veraPDF do that.

Is a valid e-invoice also correct for tax purposes?

Not necessarily. The validator checks format and business rules. Whether the tax rate, the description of the supply and the recipient are right, no technical check can tell.

Can I automate the check?

Yes. The same check runs as an API: one HTTP request with the file, a JSON answer with the verdict and the findings. For software that generates with horstoeko, Mustang or another library, there is a guide with examples.

The KoSIT validator as an API

Why not just any free checker?

Because they disagree with each other, and we measured that rather than asserting it: the same three files from the official KoSIT test suite, put through eleven freely accessible checking sites on one day. Three did not process an XRechnung in UBL at all; three more were working from a rule set predating 2 September 2026. A "valid" there does not mean the invoice is sound — it means that site found nothing.

Eleven online validators, the same invoice, one day

Even two serious implementations of the same rule set do not agree everywhere: across 29 documents they agreed on 22 and disagreed on 7. Which is why this runs KoSIT’s own validation tool against the official configuration — the same release the public sector’s own checking services use.

Validator comparison: 29 documents, two checkers

Next