Description
pdf-to-einvoice is a free and open-source application designed to transform standard PDF invoices into compliant EN 16931 e-invoices, specifically supporting ZUGFeRD and Factur-X formats. The core functionality involves adding machine-readable XML data directly into your existing PDF invoice, while meticulously preserving its original visual layout. This ensures that the invoice remains human-readable while also being compatible with automated processing systems.
Read More
A key differentiator of pdf-to-einvoice is its commitment to privacy and security. All processing occurs locally within your web browser, meaning no invoice data is ever uploaded to external servers. This local processing model is particularly beneficial for sensitive financial documents, as it eliminates concerns about data exposure or compliance with data residency regulations. The application is also open source under the MIT license, allowing anyone to inspect its code and verify its operations.
For enhanced automation, pdf-to-einvoice offers an optional AI feature that reads names, addresses, and line items directly from the invoice text. This language model runs on your device, further reinforcing the commitment to data privacy by keeping your invoice within the browser environment. The model, approximately 1 GB in size, is downloaded once from Hugging Face and raw.githubusercontent.com upon first use and is then stored locally for subsequent operations. Users can continue working while the model loads.
The tool is particularly useful for businesses that need to issue e-invoices to public bodies and other public-sector buyers, which often require specific buyer references like a Leitweg-ID, contact person details, and the buyer's email address. It supports various invoice types, including domestic invoices with VAT, small business invoices without VAT, services for businesses in other EU countries (reverse charge), goods delivered to other EU countries, exports, and credit notes.
Beyond the browser-based application, pdf-to-einvoice also provides a library, a command-line tool, and an MCP server. These components can all run on your own machine, enabling developers and AI assistants to integrate e-invoice conversion into their workflows. This flexibility allows for automated invoice processing without sending data off-device. The application performs its own plausibility checks on the converted data, comparing values printed on the PDF with those written into the XML to ensure consistency, though it is not a complete check against official rule sets. It explicitly states that it is a tool and not tax or legal advice, emphasizing the user's responsibility to verify the data.
- CategoryAI Document & PDF Tools
- Pricing ModelFree
- DeploymentBrowser-based (local)
- PlatformsWeb
pdf-to-einvoice's Core Features
Convert PDF invoices to EN 16931 e-invoices (ZUGFeRD / Factur-X)
Preserves original PDF layout while embedding XML data
Local processing in browser: no data uploaded
Free to use
Open source (MIT license)
No sign-up required
Optional AI model for reading invoice data on-device
Supports invoices for public bodies requiring Leitweg-ID
Compares printed PDF values with XML data for consistency
Provides library, command-line tool, and MCP server for developers
Supports various invoice types: domestic, small business, EU, export, credit notes
Downloads AI model once from Hugging Face for local use
Generates machine-readable XML following EN 16931 standards
Offers plausibility checks for converted data
Allows download of full e-invoice or XML only
How to use pdf-to-einvoice?
Upload PDF: Select the invoice PDF you wish to convert from your device.
Review Data: The application reads data from your PDF; verify the extracted information.
Add Buyer Details: Input required buyer references such as Leitweg-ID, contact person, and buyer email.
Generate E-invoice: The tool embeds the XML data into your PDF, creating the e-invoice.
Download File: Download the complete e-invoice (PDF with embedded XML) or the XML data only.
pdf-to-einvoice's Use Cases
- Generating E-invoices for Public Sector
- Converting Existing PDF Invoices
- Ensuring Data Privacy in Invoice Processing
- Automating Invoice Data Extraction
- Developer Integration for E-invoicing
- Creating ZUGFeRD/Factur-X Invoices
- Handling Various Invoice Types






