PDF to XRechnung

A PDF from Word, your accounting program or a scanner is not an e-invoice: German public authorities, and from 2027 more and more businesses, need an XRechnung or a ZUGFeRD invoice. Drop the PDF, a scan or a photo here: AI reads it into the e-invoice generator's form, you check each field, and the generator writes the XRechnung or ZUGFeRD and checks it against EN 16931 and KoSIT's rules before you download it

How it works

  1. Drop the invoice: a PDF, a scan or a photo
  2. Sign in and click Read with AI: 5 invoices a month free
  3. Check the form, choose XRechnung or ZUGFeRD and create it: the rules check it before you download it
Or fill in the form yourself

How it works

  1. Drop the invoice above or on the e-invoice generator: a PDF without XML inside, a scan or a photo, as PDF, PNG, JPEG or WebP, up to 10 MB.
  2. Click Read with AI, signed in: Claude, Anthropic's model, reads the invoice number and dates, both parties with their VAT IDs and addresses, the lines with quantities, units, prices and VAT, discounts and charges, the payment details and the totals into the form. It takes about ten seconds.
  3. Check the form against the invoice and add what it doesn't show: for a public authority the Leitweg-ID, often the buyer's electronic address. Where the totals printed on the invoice differ from what the lines read add up to, the form says so.
  4. Choose the format and create it: XRechnung in UBL or CII, ZUGFeRD / Factur-X as a PDF with the XML inside, Peppol BIS or France CTC. The invoice is checked against the schema and the business rules, at the KoSIT validator's levels, before you can download it.

What is sent where

The file is sent only when you click Read with AI, after the page has said where it goes: to our server, which passes it to Anthropic in the United States and returns what was read to your browser. We don't store the file or what was read from it, only that a file was read, to count your monthly allowance; Anthropic deletes it within 30 days and doesn't use it to train its models. Anthropic is listed among our subprocessors.

Everything else stays in your browser, as in the rest of the generator: the form, the XML, the PDF and the check. Without AI, the same form can be filled in by hand and nothing is sent at all.

How exact it is

The model is told to copy what the invoice prints and to leave empty what it doesn't show, rather than guess. We tested it on invoices from fifteen countries, from small business invoices to reverse charge, credit notes, direct debits and cash discounts, as PDFs and as blurred, skewed photos: every field came out right. Your invoices will differ from ours, so check every field before you create the e-invoice: the invoice you send is yours.

What a printed invoice rarely carries has to be added: the Leitweg-ID of a public authority, an electronic address for Peppol, sometimes the buyer's VAT ID. The rules then name anything else that is missing, such as the seller's contact for XRechnung.

XRechnung or ZUGFeRD

An XRechnung is an XML file, which public authorities take through their portals (ZRE, OZG-RE) or Peppol; a ZUGFeRD invoice is a PDF people can read with the same data inside as XML, which most business customers prefer. Both meet the German e-invoicing mandate between businesses. XRechnung vs ZUGFeRD compares them. A PDF that already carries ZUGFeRD or Factur-X XML needs no AI: drop it on the generator or the XRechnung validator and the XML inside is read directly.

Questions

Is it free?

Reading with AI is free for 5 invoices a month with a free account, and 200 a month on Pro. The e-invoice generator itself is free without an account or a limit.

Is my invoice uploaded?

Only when you click Read with AI: then it goes through our server to Anthropic in the United States, which deletes it within 30 days and doesn't train on it. We don't keep it. Without that click, nothing leaves your browser.

Which files can it read?

PDF, PNG, JPEG and WebP files up to 10 MB: a PDF from any program, a scanned invoice, a photo taken with a phone. Save a Word or Excel invoice as PDF first.

Can it read several invoices at once?

Not yet: one invoice at a time, each checked in the form before it is created.

Is the result a valid e-invoice?

The generator creates it only once it passes the schema and the business rules of the format you chose, the same checks as the validator. Whether the content is right, the amounts, the VAT category, is still for you to check against the original.

Other tools

  • XML formatter: Pretty-print or minify XML, keeping text, CDATA and comments as written.
  • XML viewer: Read a document as a tree you can fold, search and copy XPaths from.
  • XPath tester: Evaluate XPath 3.1 against a document and see each match with its line.
  • XSD generator: Infer an XML Schema from sample documents, checked against them.
  • XML from XSD: Generate a sample XML document from a schema, validated against it.
  • XSLT transformer: Run XSLT 1.0, 2.0 or 3.0 on a document and see the result, the messages and the files it writes.
  • XML diff: Compare two XML documents as trees: changed, added and removed elements, attributes and text.
  • XML to JSON converter: Convert XML to JSON, with arrays where an element repeats or wherever its XSD allows.
  • JSON to XML converter: Convert JSON to XML: @keys become attributes, arrays repeated elements.
  • XML to CSV converter: Turn a repeating element into CSV rows: invoice lines, products, records.
  • XML to PDF converter: Save any XML as a PDF to read, print or attach: indented, coloured, with line numbers.
  • E-invoice viewer: Read an XRechnung, ZUGFeRD, Factur-X or Peppol invoice as a document, and save it as a PDF.
  • E-invoice converter: Write an XRechnung, Peppol BIS, ZUGFeRD or Factur-X invoice in another of these formats, checked before you save it.
  • ZUGFeRD validator: Check a ZUGFeRD or Factur-X PDF: the XML inside against its profile's rules, and the PDF around it.
  • XRechnung validator: Check an XRechnung in UBL or CII against EN 16931 and KoSIT's XRechnung rules before you send it.
  • UBL validator: Check a UBL invoice, order or any other UBL 2.1 document against its OASIS schema, and the business rules of the profile it names.
  • Peppol validator: Check a Peppol BIS Billing 3.0 or PINT invoice against the OpenPeppol rules before your access point sends it.
  • P7M viewer: open a .p7m file: Open a signed .p7m file: the PDF, invoice or document inside it, and who signed it.
  • XRechnung examples to download: Example XRechnung and ZUGFeRD invoices to download, one for each common case.
  • E-invoicing mandate in Germany: do I have to?: Find out whether your invoices in Germany must be e-invoices in 2026, 2027 and from 2028.
  • Factur-X examples: Example Factur-X invoices of every profile and of the French reform, as XML and as PDF.
  • Leitweg-ID check: Check the form and the check digits of a Leitweg-ID, the address of a German public buyer.
  • Peppol lookup: Check whether a company is registered in Peppol, under which ID, and which invoices it can receive.
  • XML validator: check a document against XSD, DTD, RelaxNG or Schematron, up to 1 GB.