E-invoicing guide

Convert a PDF to an e-invoice: ZUGFeRD or XRechnung

Many invoices are still made as a PDF, in a word processor or another program. That is not an e-invoice. Here is what makes an invoice an e-invoice, which format you need and how TWT Invoice converts a PDF to ZUGFeRD or XRechnung.

Why a PDF is not an e-invoice

An e-invoice is issued, transmitted and received in a structured electronic format that allows electronic processing (§ 14 (1) UStG). The benchmark for the format is the European standard EN 16931. A PDF only shows the invoice as a page; under the law it is an other invoice, like a letter on paper.

Every business in Germany has had to be able to receive e-invoices since 1 January 2025. Transition periods apply to issuing them, during which a PDF is still allowed with the recipient’s consent.

Which deadline applies to you

ZUGFeRD or XRechnung: choosing the target

When you convert, you decide which file is made:

  • ZUGFeRD in the EN 16931 profile: your PDF stays as the readable page, the invoice data is embedded as an XML file, and the result is a PDF/A-3. The usual choice between businesses.
  • ZUGFeRD with the XRechnung profile: the same kind of file under the stricter XRechnung rules, for clients that require them.
  • XRechnung as an XML file: the data only, without a page view; the standard for invoices to public authorities.

ZUGFeRD or XRechnung: the difference

Converting a PDF with TWT Invoice

  • Under E-Invoice, upload the PDF and pick the target: ZUGFeRD, ZUGFeRD with the XRechnung profile or XRechnung.
  • If the PDF is already a ZUGFeRD or Factur-X invoice, TWT Invoice reads its embedded XML file and keeps its data unchanged.
  • An ordinary PDF is read from the document itself: the seller, the buyer, the line items and the totals. From them TWT Invoice builds a draft of the e-invoice.
  • Before you download, TWT Invoice shows everything it read: every line item with the totals, the seller and buyer details and the result of the check.
  • The KoSIT validator checks the XML file and veraPDF the PDF/A-3. If the line items read do not add up to the amounts the PDF prints, the check reports it.
  • When everything is right, download the file and send it to your customer.

What to watch

A PDF that was read stays a draft: check every line item, the totals, the VAT rates and the bank details before you send the file. For tax purposes the data in the XML file counts, not the image of the page.

For your own invoices the direct way is to write them in TWT Invoice: the e-invoice is then built from your master data and line items, not from a PDF that was read.

Writing an invoice in Germany: every requirement

Frequently asked questions

No. A PDF without structured data is an other invoice (§ 14 (1) UStG). E-invoices are, for example, an XRechnung and a ZUGFeRD invoice whose embedded XML file complies with EN 16931.

Read next

Convert PDFs to e-invoices with TWT Invoice

ZUGFeRD and XRechnung from your PDF, with every value read shown for checking before you download. Try it for 30 days, cancel monthly.

See TWT Invoice