In practice
Converting a PDF Invoice into an E-Invoice – Done Right
A PDF alone is not an e-invoice. This article shows how to extract structured data from an existing PDF invoice, check it and output it as XRechnung or ZUGFeRD.
Last reviewed: 5 min read
- Last reviewed
- Legal status
- Section 14 (1) UStG, BMF letters of 15 Oct 2024 and 15 Oct 2025 (hybrid invoice, validation), BMF FAQ (page of 29 Oct 2026). Research status 27 Nov 2026.
This article is general information and not legal or tax advice. For your individual case, please consult your tax adviser.
On this page
Why a PDF alone is not enough
An invoice you write in Word and save as PDF is, for VAT law, an other invoice (sonstige Rechnung) as long as the PDF contains no embedded structured data (section 14 (1) sentence 4 UStG). Its details are then not available in structured, machine-readable form, and accounting software cannot read them reliably. Between domestic businesses the e-invoice is the intended form. Under the transition rules of section 27 (38) UStG, the duty to issue one applies from 1 January 2028 at the latest, and from 1 January 2027 for issuers whose total turnover (Gesamtumsatz) in the previous year exceeded EUR 800,000. All domestic businesses have had to be able to receive e-invoices since 2025. When this applies to you is explained in The e-invoicing mandate: deadlines.
Three routes to an e-invoice
| Route | When it makes sense |
|---|---|
| Enter the invoice afresh in a form | For a few invoices, or when there is no PDF. |
| Convert an existing PDF | If you keep writing your invoices in Word or Excel and only want to add the structured data. |
| Invoicing software with e-invoice output | For many invoices. The software produces the right format as you create the invoice. |
Converting step by step
- Provide the PDF. Save the invoice from Word or Excel as PDF. A text layer is important: you should be able to select text in the PDF. A scan contains no text.
- Load the file. The tool reads the text and recognises invoice number, date, addresses, amounts and tax rates.
- Check the recognised data. Compare every detail with the PDF, starting with the fields where recognition is uncertain. Totals, tax rates, the VAT identification number and the bank details matter most.
- Add what is missing. Many invoices lack details that XRechnung requires: a buyer reference or Leitweg-ID, a contact person, the payment means.
- Choose the format. Under the Federal E-Invoicing Ordinance, invoices to federal authorities are in principle issued as XRechnung. With other public customers, ask which form they want. Between businesses, the format is for the parties to agree. Permitted formats include XRechnung and ZUGFeRD from version 2.0.1 except the profiles MINIMUM and BASIC WL; ZUGFeRD in the EN 16931 profile is a frequent choice. The decision guide explains the difference.
- Have it validated. The validator reports errors with a rule ID and a fix hint. Validation is not required by law, but the BMF recommends it when the invoice is created and sent. Keep the result.
- Download and send. Send only one version of the invoice, so that the recipient does not book two invoices. Sending the same e-invoice several times is harmless for VAT as long as it is identical in content.
What can go wrong when reading
Reading a PDF is not an exact science. The layout is free, and every invoice looks different. We read automatically, you confirm. Typical trouble spots:
- Scans and photos without a text layer: the text cannot be read. Enter the data in the form.
- Tables with merged cells, several columns or subtotals: amounts easily end up in the wrong field.
- Several tax rates, discounts and early-payment discounts: check that the totals per tax rate are right.
- Addresses written as one block: street, city and postcode must be available separately.
- Different number formats such as
1.234,56and1,234.56.
If you change data, the PDF has to match
With ZUGFeRD, the same invoice is in the file twice: as a PDF page and as XML. If you correct a value during the check, the old PDF still shows the old value. If they contradict each other, the XML prevails, and only it supports the input VAT deduction. The visible part may at the same time count as a further invoice, for which section 14c UStG must be examined. The tax authorities do not object to minor deviations that have a technical cause. In that case it is better to generate the PDF again.
An example from practice
Muster Software GmbH writes its invoice to Beispiel AG in Word and saves it as a PDF. After the upload, the tool recognises the invoice number, the date, both addresses and the totals. Compared with the PDF everything is right, but the buyer reference is missing. Beispiel AG is a business, not an authority. So Muster Software GmbH enters the customer’s order number as the reference, chooses ZUGFeRD in the EN 16931 profile and has the file validated. The report shows no errors. It then downloads the file and sends only that. Beispiel AG can now read and book the invoice automatically, but must still check its content, like any other invoice.
Privacy when converting
Invoices contain names, addresses and bank details. In dignum eBilling, reading, generating and the built-in checks run in your browser. For the official validation, the file goes to the server, which processes it in memory only and neither stores nor logs anything. With any other online tool, check whether it uploads invoices and how long it keeps them.
Limits of converting
- A conversion tool does not archive. The retention duty of eight years stays with you (retention).
- It does not assign invoice numbers. The number of the original invoice stays unchanged.
- It is no substitute for your bookkeeping or for tax advice. You decide whether an invoice is correct in substance.
Frequently asked questions
Can I make an e-invoice from a scanned receipt?
Not automatically, because a scan has no text layer. Enter the data in the form and generate the e-invoice from it.
Does my PDF change during conversion?
With ZUGFeRD, your PDF is upgraded to PDF/A-3 where technically possible and the XML is embedded. The visible content stays the same. If the upgrade hits a problem, such as fonts that are not embedded, the tool reports it.
Sources
Every statement in this article rests on the texts below. Statutes and letters of the tax authorities can change; if in doubt, check the original wording.
- Section 14 UStG – issuing invoices (opens in a new tab) – paragraph 1: e-invoice and other invoice
- BMF letter of 15 Oct 2024 – introduction of the mandatory electronic invoice (opens in a new tab) – margin nos. 7 and 30 to 32: other invoice, hybrid formats
- BMF letter of 15 Oct 2025 – introduction of the mandatory e-invoice (opens in a new tab) – margin nos. 6a and 35a; UStAE 14.1 para. 14 and 14c.1 para. 4a: hybrid invoice, validation
- BMF FAQ “E-Rechnung” (as of 29 Oct 2026) (opens in a new tab) – questions 2, 7 and 12a: PDF invoice, validation, hybrid format
- FeRD: ZUGFeRD 2.5.2 (information package) (opens in a new tab) – ZUGFeRD 2.5.2: hybrid format of PDF and XML
Try it now
Convert a PDF to an e-invoice
Upload your invoice PDF, check the recognised data and download XRechnung or ZUGFeRD.
Keep reading
- XRechnung or ZUGFeRD: Which Format for What?
XRechnung is a pure XML file, ZUGFeRD a PDF with embedded XML. Both can be valid e-invoices. Which one fits depends mostly on your recipient.
- Checking E-Invoices: What Validators Check – and What They Do Not
A validator checks the structure and rules of an e-invoice, but not whether its content is true. This article explains the layers, the severities and the most frequent errors.
- Mandatory Details of an E-Invoice: Where Section 14 UStG Meets EN 16931
Section 14 UStG lists the mandatory tax details. EN 16931 and XRechnung require further fields. This article maps one onto the other.