Heftby NameQuick

Guide · E-invoices · 8 min read

Convert PDF to ZUGFeRD: Free Options and Risks

How PDF-to-ZUGFeRD conversion works: PDF/A-3, embedded XML, EN 16931, validation, free tools, and what happens to incoming e-invoices.

Heft TeamUpdated

Never chase a receipt again.

Heft is in development. Its receipt agent is planned to find missing receipts and prepare the month for your accountant.

We only email you about Heft's early access. Privacy

TL;DR

  • A PDF alone is not a ZUGFeRD invoice. ZUGFeRD requires a PDF/A-3 file with embedded XML invoice data.
  • Free conversion is possible, but limited. Open-source libraries and trial tools help with testing; validation and compliance remain your responsibility.
  • ZUGFeRD and XRechnung are different. XRechnung is pure XML. ZUGFeRD combines a PDF view with structured XML in one file.
  • The workflow continues after conversion. Incoming e-invoices must be extracted, checked, archived, and handed off to accounting.

You cannot turn a PDF into a ZUGFeRD invoice by renaming it or saving it under a different extension. A real conversion creates a hybrid e-invoice: a PDF/A-3 file with embedded structured XML invoice data. Only when the visual PDF, the XML data, and the metadata match and validate does the result become useful for e-invoicing workflows.

That distinction matters because, according to the German Federal Ministry of Finance FAQ on e-invoicing, a simple PDF is no longer an e-invoice for German B2B VAT purposes from 2025. It is treated as another kind of invoice unless transition rules or exceptions apply. A true e-invoice must use a structured electronic format and allow electronic processing.

What Does PDF to ZUGFeRD Conversion Mean?

People searching for "convert PDF to ZUGFeRD free" usually want an existing PDF invoice to satisfy the German e-invoicing rules. The PDF is only the visible layer. ZUGFeRD also needs structured XML containing the invoice number, date, supplier, buyer, line items, taxes, totals, and payment information.

The Forum elektronische Rechnung Deutschland describes ZUGFeRD as a hybrid data format: structured XML invoice data is integrated into a PDF/A-3 document. Humans read the PDF; accounting software reads the XML.

A clean conversion has several steps:

  1. Capture complete invoice data.
  2. Create the visual document as PDF/A-3.
  3. Generate XML according to EN 16931 or the relevant ZUGFeRD profile.
  4. Embed the XML inside the PDF/A-3 file.
  5. Add metadata for profile, version, and embedded file identity.
  6. Validate the final document.

If one of those steps is missing, you may have a PDF with an attachment, but not a reliable ZUGFeRD invoice.

PDF, ZUGFeRD, XRechnung, and E-Invoicing

A standard PDF is easy for people to read but hard for software to process reliably. OCR can guess fields, but it does not provide a normalized data model. That is why a simple PDF is no longer enough for German structured e-invoice requirements.

ZUGFeRD solves this with a hybrid file. The PDF/A-3 component contains the visual invoice. The embedded XML contains the structured invoice data. This is practical for recipients because the invoice can still be opened like a normal PDF while software can extract the XML directly.

XRechnung is different. It is pure XML and has no visual PDF layer. It is especially relevant in public-sector workflows, where public contracting authorities often require XRechnung or very specific transmission channels. In B2B workflows, ZUGFeRD is often easier to adopt because it keeps the familiar PDF view.

It is also important to separate receiving from issuing. German businesses have needed to be able to receive e-invoices since January 1, 2025. Issuing obligations are phased in through transition rules. The BMF also lists exceptions such as small-value invoices up to EUR 250 gross, tickets, services provided by small businesses, and several other cases. Do not treat the rules as one-size-fits-all; check your specific situation.

Can You Convert PDF to ZUGFeRD for Free?

Yes, but usually with limits.

Open-source libraries can generate XML, create PDF/A-3 files, or validate ZUGFeRD packages. They are useful if you have developers or want to build a prototype. For small businesses and accounting teams without technical support, they are often too much work.

Online converters and trial versions are simpler. You upload a PDF invoice, add invoice fields, and download a ZUGFeRD or XRechnung file. That can work for testing. Before using it in production, check whether the tool creates the right profile, validates the XML, protects invoice data, and gives you a compliant archival path.

For free tools, pay close attention to four points:

  • Profile: A minimal profile is not automatically enough for every e-invoicing process.
  • Validation: The file should be checked against PDF/A-3, XML schema, and business rules.
  • Data protection: Invoices contain sensitive business and personal data. Check hosting, processing agreements, and deletion policies.
  • Archiving: A converter is not an archive. You still need immutable storage and a traceable history.

The short version: free tools are realistic for tests. For production, you need a process that covers data quality, validation, privacy, and archiving.

Checklist: Convert PDF to ZUGFeRD

1. Check invoice data

Before a tool creates the XML, the invoice data must be complete: supplier, buyer, invoice number, invoice date, delivery date, line items, net amounts, VAT, currency, and payment information. Errors become machine-readable errors inside the XML.

2. Choose the right profile

Choose a profile that matches the recipient and use case. A reduced profile for testing is not the same as a real B2B e-invoice. Public-sector invoices may need additional B2G requirements.

3. Create PDF/A-3

The visual document must be PDF/A-3. This format supports embedded files and long-term archiving. A normal PDF is not enough.

4. Generate XML

The tool generates structured XML from your invoice data. This XML is the core of the e-invoice. It must be technically valid and match the visual invoice.

5. Embed XML

The XML is embedded inside the PDF/A-3 file and marked with metadata so receiving software can recognize the invoice format.

6. Validate

Use a validator before sending the invoice. Validation is not a formality; it prevents rejection by recipients or accounting systems.

7. Archive the original

Store the final file unchanged. If invoice data is wrong, issue a corrected invoice rather than quietly editing the original file.

What Happens After Conversion?

Most conversion guides end once the ZUGFeRD file is downloaded. For accounting teams, that is where the real workflow starts. Invoices arrive by email, upload, portal, or public-sector channels. They need to be recognized, reviewed, archived, and handed off to accounting.

For ZUGFeRD and XRechnung, the structured XML should be read first, since it is the leading part of the invoice. Digital PDF invoices can be read via text extraction, scans and images via OCR. Uncertain values should be reviewed and duplicates removed before anything is handed on. You can inspect a single file for free with the ZUGFeRD validator.

After review, the data typically goes to accounting as CSV or a DATEV EXTF file (see our DATEV export guide). Original documents should remain unchanged, and the processing history should stay traceable.

A related, often harder problem is making sure there is a receipt for every payment at all. Heft, a receipt agent we are developing, starts at the bank account, finds the missing receipt for each payment (mailbox, e-invoices, portals), and hands it over to DATEV or your accountant. It is not available yet; more at Heft.

Heft’s planned receipt agent

The planned receipt agent will start from bank payments, search for receipts and show outstanding cases for the monthly handoff. Heft is in development.

We only email you about Heft's early access. Privacy

When Do You Need a Converter vs. Processing Software?

A PDF-to-ZUGFeRD converter solves outgoing invoice creation. It helps when you create invoices and need to send them as e-invoices. For that, you need clean master data, the right profile, validation, and archival.

Invoice intake is a different problem. You do not want to open each XML file manually, copy totals, and paste data into accounting software. You need a workflow that extracts data, highlights uncertainty, detects duplicates, and exports reviewed records.

The boundary matters: if you want to create ZUGFeRD invoices from PDFs, use a generator or ERP module. If you already receive ZUGFeRD or XRechnung invoices, use processing, review, and export.

FAQ

Is a PDF invoice an e-invoice?

From 2025, a simple PDF is not a structured e-invoice for German B2B VAT purposes. It is an unstructured invoice unless transition rules or exceptions apply.

Can I convert PDF to ZUGFeRD for free?

Yes, for testing. Open-source libraries, free validators, and trial tools exist. Production workflows still need validation, data protection, profile selection, and compliant archiving.

What is the difference between ZUGFeRD and XRechnung?

ZUGFeRD is hybrid: PDF/A-3 plus embedded XML. XRechnung is pure XML without a PDF view. Both can carry structured invoice data, but they fit different workflows.

Which ZUGFeRD profile do I need?

It depends on the recipient and use case. Reduced profiles may be useful in limited scenarios, but they are not automatically sufficient for every tax or B2B obligation.

Are there exceptions to the German e-invoice requirement?

Yes. The BMF lists exceptions including B2C transactions, many tax-exempt transactions, small-value invoices up to EUR 250 gross, tickets, and services provided by small businesses.

Heft Team

The Heft team writes guides on receipts, e-invoices and bookkeeping for businesses in Germany.

This article is for general information and does not replace legal, tax, or accounting advice. Verify requirements with a qualified professional.

Never chase a receipt again.

Join the list for launch updates. Heft is in development, starting with the planned receipt agent.

We only email you about Heft's early access. Privacy

Related Posts