PDF to ZUGFeRD

A ZUGFeRD invoice is a PDF with the invoice inside as XML, which the recipient's software reads. Your accounting program or Word already lays out the PDF; what it lacks is the XML. Drop the PDF here, fill the e-invoice generator's form from it, by hand or with AI, and the generator writes the XML, checks it against EN 16931 and puts it into your PDF, its pages as they are. Nothing leaves your browser unless you ask AI to read the invoice

How it works

  1. Drop your PDF invoice
  2. Fill the form from it, by hand or with AI: 5 invoices a month free
  3. Create it: the rules check the XML, then your PDF comes back with it inside
Or let the generator lay the PDF out

How it works

  1. Drop your PDF invoice above or on the e-invoice generator: a PDF without XML inside, from any program. It opens with ZUGFeRD chosen.
  2. Fill the form from it: by hand, or with Read with AI when you are signed in (5 invoices a month free; see PDF to XRechnung). Sellers, buyers, items and payment details are kept in your browser for the next invoice.
  3. Create the invoice: the XML is checked against the schema and the EN 16931 rules, and Download PDF saves your PDF with it inside as ZUGFeRD defines it: factur-x.xml attached, the XMP metadata of PDF/A-3 with the ZUGFeRD profile, an sRGB output intent. The XRechnung format puts it in as xrechnung.xml, the XRECHNUNG profile.
  4. Check the file with Check it in the validator, which reads the XML back out of the PDF and checks it, and has PDF/A checked by veraPDF on our server when you ask.

What your PDF needs

ZUGFeRD is a PDF/A-3 file, and PDF/A asks things of the pages too, which the generator can't change: every font embedded, no encryption, no JavaScript. A PDF printed from a browser, Word or LibreOffice usually embeds its fonts; one that uses Helvetica or Arial without embedding them does not, and the generator names such fonts after creating the file. Software that checks PDF/A may then refuse it: save or print the PDF again with its fonts embedded, or let the generator lay the invoice out itself. An encrypted PDF can't be opened at all.

The PDF and the XML say the same

The recipient's software reads the XML, and in Germany the XML is what counts for the tax office too, so it must say what your PDF says. After creating the file, the generator looks for the XML's invoice number, issue date, total, amount due and your VAT ID in the text of your PDF, in the usual number and date forms, and names any it doesn't find. A scan has no text to compare.

Your PDF stays with you

The PDF is read and written in your browser: the form, the XML, the check and the file with the XML inside never reach our server. Only Read with AI sends the PDF, on your click, through our server to Anthropic, and the page says so before you click. Check it in the validator opens the file in the validator in your browser; PDF/A is checked on our server only on its own button there.

Questions

Is it free?

Yes, without an account or a limit. Only reading the invoice with AI needs a free account: 5 invoices a month, 200 on Pro.

Which ZUGFeRD profile does it write?

EN 16931 (once called COMFORT), which every recipient of a ZUGFeRD or Factur-X invoice takes; with XRechnung chosen as the format, the XRECHNUNG profile, which German public authorities take as a ZUGFeRD PDF too, and EXTENDED for a recipient who asks for it.

Does my PDF change?

Its pages don't: the XML is attached and the document's metadata is written again for PDF/A-3, titled with the invoice number, its language and the program that made it kept.

Is it then a PDF/A-3 file?

When your PDF embeds its fonts and has nothing else PDF/A forbids, yes: in our tests a PDF printed from Chrome passed veraPDF's PDF/A-3b check once the XML was in. The generator names fonts that aren't embedded, and the validator checks PDF/A with veraPDF when you ask.

My PDF already is a ZUGFeRD invoice

Then the generator reads its XML into the form instead, to correct or credit it, and the ZUGFeRD validator checks it.

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.
  • PDF to XRechnung: Turn a PDF, scan or photo of an invoice into an XRechnung or ZUGFeRD e-invoice: AI fills the form, the rules check it.
  • Self-billed invoices and credit notes: Write a self-billed invoice (a German Gutschrift, type 389) or a credit note as XRechnung or ZUGFeRD, checked before you download it.
  • Receive e-invoices for free: An email address of your own for e-invoices: forward an XRechnung or ZUGFeRD invoice and get it back as a PDF to read, checked against its rules.
  • XML validator: check a document against XSD, DTD, RelaxNG or Schematron, up to 1 GB.