Skip to content
Blog / Guides

Converting an invoice into an e-invoice: what works and what does not

8 min read
December 02, 2026
Cartoon: A sweating man feeds a sheet “PDF” into a machine with data fields under the sign “Bitte prüfen” (please check); out comes a file “XML”, which a woman with a magnifying glass and clipboard inspects with satisfaction.

A PDF from Word or Excel is not an e-invoice (E-Rechnung), and it does not become one if you rename it or save it again (section 14.1 para. 2 sentence 4 UStAE). “Converting” means: taking over the invoice data, checking it and creating a structured file in accordance with EN 16931 from it, for example an XRechnung or a ZUGFeRD PDF. The reverse direction, displaying an XRechnung as a readable view, is only a presentation; the XML file remains authoritative.

As of: Dec. 2, 2026

This guide is a machine translation of the German original as of Dec. 2, 2026. Only the German version is authoritative: read the German version. If you contact us, please write in German or English.

Why a PDF is not an e-invoice

Many invoices are created in Word or Excel and sent to the customer as a PDF. For VAT purposes, that is an other invoice (sonstige Rechnung): this includes any invoice on paper or in an electronic format that is not structured, expressly including a PDF without integrated data records (§ 14 para. 1 sentence 4 UStG; section 14.1 para. 2 sentence 4 UStAE as amended by the BMF letter of 15 October 2025).

An e-invoice (E-Rechnung), by contrast, is an invoice in a structured electronic format that can be processed electronically (§ 14 para. 1 sentence 3 UStG). The format must correspond to the European standard EN 16931 or be agreed between you and your customer (§ 14 para. 1 sentence 6 UStG). An agreed format is only sufficient if the required invoice details can be extracted from it correctly and completely into a format that complies with EN 16931 or is interoperable with it (§ 14 para. 1 sentence 7 UStG). Common in Germany are the XRechnung, a pure XML file with the invoice data, and ZUGFeRD, a PDF with an embedded XML file (section 14.1 paras. 12 to 14 UStAE).

So the difference is not made by the file extension, but by whether the invoice data is available as a structured data record. Renaming a PDF, saving it again or “exporting” it with another program changes nothing. From when you have to issue e-invoices is shown by the e-invoicing mandate check: for supplies from Jan. 1, 2027 if your total turnover (Gesamtumsatz) in 2026 was more than 800,000 €, otherwise from Jan. 1, 2028 (§ 27 para. 38 UStG).

What “converting” really means

A PDF invoice becomes an e-invoice in three steps:

  1. Take over the data: invoice number, date, sender and recipient, line items, taxes and bank details are transferred from the PDF or a spreadsheet into an invoice form.
  2. Check and complete: you add whatever is missing or was recognised incorrectly. For an e-invoice that you are obliged to issue, all mandatory details (Pflichtangaben) must be in the structured part; a reference to an attachment in which the details are only given as text is not sufficient (section 14.5 para. 1 sentences 4 and 5 UStAE).
  3. Create and validate the XML: the structured file is created from the details, as an XRechnung or embedded in a ZUGFeRD PDF. If it has a format error, it is not an e-invoice for VAT purposes, but an other invoice (section 14.1 para. 2 sentence 4 no. 2 sentence 3 UStAE).

Whether a file meets the requirements of EN 16931, including format and business rules (Geschäftsregeln), can be checked with a suitable validation application (section 14.1 para. 11 sentence 11 UStAE). If, for example, the invoice number is missing, the validation rule (Prüfregel) BR-02 reports this.

Option 1: Take over an existing PDF invoice

If you already have your invoice as a PDF, for example from Word or Excel, upload it in the PDF import. E-Rechnungsfreund reads the text of the PDF on its own server according to fixed rules, without an AI service and without passing it on to third parties. Recognised are, among others, the invoice number, invoice date and date of supply, due date, sender and recipient with address, VAT ID (USt-IdNr.) or tax number, IBAN and line items from a recognisable table.

The result is a draft in the invoice form, not a finished e-invoice: every field taken over is marked orange, mandatory fields that were not recognised are marked red. As long as the placeholder “(nicht erkannt)” (not recognised) is still shown there, the invoice can neither be exported nor issued. Check every detail taken over.

The limits:

  • Only PDFs with text: scanned invoices (images) are rejected; nothing is guessed.
  • Not every detail is recognised: how much is recognised depends on the structure of your PDF. You add whatever is missing in the form.
  • Download with an account: without an account, you can edit, check and preview the draft. You can download the e-invoice with a free account; the import then counts towards your invoices per month.

If you wish, your uploaded PDF becomes the visible part of the ZUGFeRD file. Beforehand, E-Rechnungsfreund compares the invoice number, invoice date, gross amount and IBAN with the PDF text and warns of discrepancies. For this, the PDF is only stored for a limited time and deleted afterwards.

Option 2: Invoice data from a spreadsheet

If you prefer to keep your invoices in a spreadsheet, use the page E-invoice from Excel: download the spreadsheet template (without macros) without an account, fill it in and upload it. The data ends up as a draft in the invoice form, where you check it.

  • It only works with this template, not with any Excel invoice of your own, and there is no template for Word.
  • Only stored cell values are taken over; formulas are not calculated.
  • One invoice per file. The spreadsheet itself is not an e-invoice; it only provides the data.

The reverse direction: XRechnung as a readable view

The way back is also often searched for: you have received an XRechnung and want to see it as a PDF. An XML file is not intended for the human eye; a program for displaying it makes it readable (section 14.1 para. 13 sentences 4 and 5 UStAE). Upload the file without an account in the validator: it validates the file and shows a summary with the invoice issuer, number, amount, due date and IBAN. With an account, you file incoming invoices and open them in the invoice record as a printable view. More on this in the article Opening and reading an XRechnung.

This view, even printed out or saved as a PDF, does not replace the e-invoice. You must retain the e-invoice, at least in its structured part, unchanged in its original form (section 14b.1 para. 1 sentences 2 to 4 UStAE). With a format consisting of a PDF and an embedded XML file, such as ZUGFeRD, input tax deduction (Vorsteuerabzug) is only possible from the structured part (section 14c.1 para. 4a sentence 4 UStAE); more on this in the article E-invoices and input tax deduction.

What does not work

  • Turning a PDF into an e-invoice by renaming it or saving it again: without a structured data record, it remains an other invoice.
  • “Converting” a PDF invoice you have received yourself: the invoice is issued by the business supplying the goods or services, or, in the case of an agreed self-billed invoice (Gutschrift), by the recipient of the supply (§ 14 para. 2 UStG). If you need an e-invoice, ask the invoice issuer for one.
  • Taking over scanned paper invoices automatically: the PDF import needs a PDF with text; you enter scans in the form yourself.
  • Regarding every file with XML as an e-invoice: ZUGFeRD in the profiles MINIMUM and BASIC-WL is not an e-invoice (section 14.1 para. 14 UStAE).

How to proceed

Frequently asked questions

Can I convert a PDF invoice into an e-invoice?

Not the file itself, but its data. A PDF without integrated data records remains an other invoice (sonstige Rechnung) (section 14.1 para. 2 sentence 4 UStAE). An e-invoice only comes into being when the details are available in a structured format in accordance with EN 16931. At E-Rechnungsfreund, you upload your PDF invoice for this, the recognised details end up as a draft in the invoice form, and you check and complete them there.

Can I convert an XRechnung into a PDF?

You can display an XRechnung in readable form and print it, for example after validation in the validator. This view is only a presentation. You must retain the e-invoice, at least in its structured part, unchanged in its original form (section 14b.1 para. 1 sentences 2 to 4 UStAE).

Is a PDF with an attached XML file automatically an e-invoice?

No. The XML file must correspond to a structured format in accordance with EN 16931. ZUGFeRD from version 2.0.1 is an e-invoice, except for the profiles MINIMUM and BASIC-WL (section 14.1 para. 14 UStAE). Whether a file contains an e-invoice is shown by the quick check “Is this an e-invoice?” without an account.

Can I convert a PDF invoice I have received into an e-invoice myself?

The invoice is issued by the business supplying the goods or services or, if you have agreed this, by you yourself as a self-billed invoice (Gutschrift) (§ 14 para. 2 UStG). If you want an e-invoice, ask the invoice issuer for one. A file that you create yourself from their PDF is not an invoice issued by them.

Is converting free of charge?

The PDF import and the spreadsheet template are available in all plans, including the free one. Without an account, you receive a draft that you can check; to download the e-invoice, you need a free account, with which you create 5 invoices per month.

Sources

This article summarises the sources listed in general terms and is not tax or legal advice. For your individual case, please consult a tax advisor.

Try E-Rechnungsfreund for free

Create and validate ZUGFeRD and XRechnung e-invoices in minutes

Sign up