Home › Guide › Convert a PDF to XRechnung
Convert a PDF invoice to XRechnung – here's how
Many businesses still write their invoices as PDFs. For sending to government agencies, and increasingly to business customers, that is not enough: what is needed is an XRechnung – an invoice as a structured XML file under the European standard EN 16931. This guide shows which details an XRechnung needs and how to turn your PDF invoice into a valid XRechnung in a few steps.
Why a PDF file is not an e-invoice
A PDF invoice is readable for humans, but a machine cannot reliably extract amounts, VAT rates, and addresses from it. An e-invoice in the legal sense contains the same details as structured data (XML) that the recipient's system can process automatically. That is why a normal PDF – even one sent by email – does not count as an e-invoice.
The details an XRechnung needs
Besides the usual invoice details (number, date, addresses, line items, amounts), the XRechnung requires some fields that are missing on many PDF invoices. If any one of them is missing, the file is invalid:
- Buyer reference (Leitweg-ID): the reference specified by the buyer, for government agencies the Leitweg-ID (Error BR-DE-15).
- Seller's contact: name, phone number, and email address of a contact person (BR-DE-5, BR-DE-6, BR-DE-7).
- Delivery/service date and due date as fields of their own (BR-DE-16, BR-DE-17).
- Seller's IBAN, if payment is by bank transfer (BR-DE-18).
- Buyer's electronic address, usually their email address (BR-DE-1).
To an XRechnung in 3 steps
Convert a PDF invoice now – first ones free
What you should know before uploading
- The automatic import works with PDFs that contain a text layer – i.e. invoices exported from a program – as well as with Word files (.docx) and Excel files (.xlsx, .xls), and with scans and photos: scanned PDFs without a text layer and images (PNG/JPG) are read via text recognition (OCR). Please then check the recognized data in the review form especially carefully.
- Invoices with mixed VAT rates (e.g. 19% and 7% on one invoice) are also supported: the VAT is calculated separately per rate and shown separately in the XRechnung.
- 10 conversions per month are free. Your files are deleted after download, and automatically after 7 days at the latest.
Before sending: check the file
Already generated your XRechnung – with another program, for example? Then have it cross-checked before sending. Our free validator uses the same official KoSIT validator as the government agencies and explains every error in plain language. You can also find the most common error codes in our overview XRechnung errors explained.
