E-invoices from your ERP: ZUGFeRD without waiting for an update
Many companies have issued their invoices for years from an ERP or inventory management system (Warenwirtschaft) such as proALPHA, Sage, Microsoft Dynamics NAV, SAP or Abas. The system produces clean PDF invoices but no e-invoice according to EN 16931 yet, and the matching update, add-on module or migration is only planned for later. This article shows how to close the gap without rebuilding the ERP, with dedicated sections for proALPHA, Sage and Dynamics NAV / Business Central.
Short answer: You do not have to wait for the ERP update. The ERP keeps producing the invoice, and a converter at the output turns it into ZUGFeRD (PDF/A-3 with embedded XML) or XRechnung, either from the PDF, from a CSV export or from an XML export. Every file is validated against EN 16931 and the KoSIT rules before sending; once the ERP can produce e-invoices itself, the interim solution ends.
By when you need to act
Since 1.1.2025, all businesses in Germany must be able to receive e-invoices from other businesses. For sending invoices to domestic businesses (B2B), transition periods apply:
| Period | Outgoing B2B invoices |
|---|---|
| until 31.12.2026 | Paper or PDF (with the recipient's consent) still allowed |
| from 1.1.2027 | E-invoice mandatory above 800.000 € prior-year turnover |
| from 1.1.2028 | E-invoice mandatory for all businesses |
Small businesses under § 19 UStG (the German small business scheme) must be able to receive e-invoices but are permanently exempt from issuing them (§ 34a UStDV). All details are in E-invoicing obligation 2027.
A release upgrade, a new module or an ERP migration, on the other hand, is a project with planning, testing, form adjustments and training. Many companies do not want to push that through under time pressure just before the turn of the year. That is exactly what an interim solution is for: it meets the obligation now and becomes unnecessary once the ERP takes over.
Why ZUGFeRD is the right bridge
The core of ZUGFeRD is its hybrid nature: a ZUGFeRD file is a normal PDF/A-3 with an embedded UN/CEFACT CII XML.
- People still see the familiar PDF invoice with your layout
- Machines (your ERP, your customer's ERP, the accounting software) read the embedded XML
Your output workflow (PDF generation, sending by email) therefore stays essentially the same; you only add the structured data. Legally, the XML is what counts, not the visible PDF. XRechnung, by contrast, is a pure XML file without a visual part; both formats are based on the same standard EN 16931, only the packaging differs. The comparison is in XRechnung or ZUGFeRD.
Which ZUGFeRD profiles are valid invoices
Not every ZUGFeRD profile is a complete invoice:
| Profile | Valid e-invoice? |
|---|---|
| MINIMUM | No (basic data only) |
| BASIC-WL | No (no line items) |
| BASIC | Yes |
| EN 16931 | Yes |
| EXTENDED | Yes |
| XRECHNUNG | Yes |
MINIMUM and BASIC-WL contain only partial data for specific booking purposes and do not meet the e-invoicing obligation. For outgoing invoices choose at least BASIC, in practice usually EN 16931. More in ZUGFeRD profiles explained.
Three ways from the ERP to the e-invoice
Which way fits depends on what your ERP can output today.
Way 1: convert the PDF invoice
The ERP prints the invoice as a PDF as usual. A converter reads the invoice number, parties, line items, tax and payment details, you review the result and receive the finished e-invoice. This works with any source system, including old or closed ERPs that can only print, and with customised invoice reports. It needs neither an interface nor access to the ERP database.
Way 2: import a CSV export
If the ERP can export the invoice data as CSV, you map the columns once to a fixed import template: invoice header plus one row per line item. Because the data already comes structured from the ERP, no text recognition is needed, which removes the error source of reading a PDF. The details are in E-invoice via CSV import.
Way 3: import an XML export
Many ERP systems can also output invoices as XML in their own format. A converter can read this export too and translate it into an EN 16931 e-invoice, usually one invoice per file.
| CSV export | XML export | ||
|---|---|---|---|
| Requirement | ERP prints a PDF | ERP exports CSV | ERP exports XML |
| Text recognition needed | yes, followed by a review step | no | no |
| Setup effort | none | one-time column mapping | low |
| Reliability | high | very high | very high |
| Suitable for | any source system | Abas, SAP, DATEV, proALPHA, Sage | systems with XML export |
For all three ways: check amounts, tax rates and units in the review step before the file is created, and add any missing details there.
The integration pattern for high volumes
With several hundred or thousand invoices a month, a three-part pattern has proven itself.
1. Converter or library at the output
The ERP keeps producing the invoice data, and a converter or library at the output creates the ZUGFeRD file. A common choice is the open-source project Mustangproject, which can create and validate ZUGFeRD/Factur-X. If you do not want to develop anything yourself, use a web tool with batch processing, see converting several invoices at once.
2. Middleware and mapping
A middleware maps your internal fields (customer number, item, tax key) to the mandatory fields of EN 16931. Once set up correctly, bulk sending runs automatically. The critical part is mapping tax keys to the correct tax category.
3. Inbound mailbox that reads the XML
For incoming e-invoices, set up an inbound mailbox that reads the embedded XML and prepares it as a booking proposal. Here too, the XML is what counts, not the PDF.
| Step | System | Result |
|---|---|---|
| Create invoice | ERP/inventory system | internal invoice data |
| Convert | Converter/library | ZUGFeRD (PDF/A-3 + XML) or XRechnung |
| Validate | Validator | Release for sending |
| Send | Email or Peppol | Invoice at the customer |
| Receive | Inbound mailbox | XML read, booking proposal |
What large customers and factoring banks also require
Many recipients check more than the mandatory fields. Common requirements are:
- the buyer's customer account number at the seller (BT-46)
- an assignment notice as a note (BT-22) for factoring, worded exactly as the bank specifies
- a due date (BT-9), even if the invoice only says „30 days net“
- a delivery period (BT-73 and BT-74) instead of a single delivery date
- for public authorities, the Leitweg-ID (German routing ID) as buyer reference (BT-10)
An assignment notice that is the same on every invoice should be stored once centrally and applied automatically instead of being typed for each invoice.
proALPHA: bridging until the release upgrade
Current proALPHA versions include e-invoicing functions, for example for XRechnung. Whether they are available in your system depends on release, licence and configuration. Until then, keep invoicing in proALPHA unchanged, with your forms, number ranges and approvals:
- Create the invoice in proALPHA and output it as a PDF as usual (or as a CSV or XML export, if set up).
- Upload the files in a batch and convert them.
- Review the extracted data and add missing details such as the customer account number or delivery period.
- Download the validated e-invoices and send them by email as before.
With ZUGFeRD the proALPHA layout is preserved, because the XML is embedded in the existing PDF. For the transition, choose a solution with batch processing, no setup fees and monthly cancellation, so you can simply stop after the release upgrade. More on proALPHA
Sage: three options, also for older versions
Newer Sage versions support e-invoices, older ones often only with an update or add-on module. Your Sage partner can best tell you what your installation can do. Sage users have three options:
- Upgrade to a version with e-invoicing. The cleanest long-term solution, but with effort for licences, forms and testing.
- Add-on module or extension. Available depending on the product, usually via the Sage partner.
- Converter for the PDF invoices or the CSV export. No changes to Sage, usable immediately and a good bridge until option 1 or 2 is in place.
For public authorities, choose XRechnung on the converter route and enter the Leitweg-ID; for business customers ZUGFeRD is usually more convenient, because the familiar invoice layout stays. More on Sage
Microsoft Dynamics NAV and Business Central: bridging until the migration
Older Dynamics NAV and Navision versions are no longer in Microsoft's regular support and can usually only produce ZUGFeRD or XRechnung with an extension or custom programming. Business Central offers e-invoicing functions, depending on version and localisation with extensions. Migrating there, however, is a project lasting months: data transfer, customisations, reports, training.
A dedicated e-invoicing customisation is rarely worth it in a system that will soon be replaced. The pragmatic route:
- NAV keeps printing PDF invoices, and a converter turns them into e-invoices, without access to the NAV database.
- Customised invoice reports are not a problem, because the data is read from the finished PDF and shown in the review step.
- If NAV can produce a CSV or XML file with the invoice data, the data import is the more reliable route for many invoices.
- After the migration, Business Central sends the e-invoices itself and the interim solution ends. E-invoices already sent remain valid and must still be archived.
More on Dynamics NAV and Business Central
Invoices to public authorities (B2G)
The public sector generally expects an XRechnung with a Leitweg-ID. Some invoice portals of the federal government, states and municipalities also accept ZUGFeRD from profile EN 16931, others do not; the requirements of the respective contracting authority apply. If you supply public authorities, you therefore need a way to create pure XRechnung. Since both formats are based on EN 16931, the extra effort is small: the same core data, different packaging. Details in Sending XRechnung to authorities.
Validate before sending
Before you start bulk sending, create a few sample invoices and check them against EN 16931, the German BR-DE rules and the official KoSIT rule set, for example with the online validator or the XRechnung validator. This way you find mapping errors such as a wrong tax category or missing mandatory fields before hundreds of faulty invoices are rejected by the customer or in DATEV. Look up error messages in XRechnung error codes; the most common rejection reasons are in E-invoice rejected.
Plan the archiving
The original XML must be archived unaltered, for 8 years since 2025. With ZUGFeRD, the embedded XML is the leading record. Plan archiving from the start, including across a later ERP change. Details in Archiving e-invoices under GoBD (the German rules for proper bookkeeping).
When the interim solution is enough and when it is not
The converter solution is ideal for meeting the obligation quickly and without changing systems. If your volume grows strongly or you want to automate outgoing and incoming invoices deeply, the native ERP function or a middleware is the better long-term route. The advantage of the bridge: you can act immediately and decide on the ERP project without deadline pressure.
One pragmatic option for the transition is TaxLayer: PDF upload, CSV import and XML import (from Pro), every file checked against the KoSIT rule set, up to 50 PDF files per run on the Enterprise plan, and a fixed note text such as an assignment notice for all invoices. Free includes 2 conversions a month, Pro costs 19 € a month (125 conversions), Enterprise 65 € a month (500 conversions, 6 users), each incl. VAT and cancellable monthly.
proALPHA is a trademark of proALPHA GmbH, Sage a trademark of The Sage Group plc; Microsoft, Dynamics, Navision and Business Central are trademarks of Microsoft Corporation. TaxLayer is not affiliated with any of these vendors.
Frequently asked questions
Do I have to wait for the ERP update to send e-invoices?
No. The ERP keeps producing the invoice as PDF, CSV or XML export, and a converter at the output turns it into ZUGFeRD or XRechnung according to EN 16931. Once the ERP can produce e-invoices itself, the interim solution ends.
Which ZUGFeRD profiles are valid invoices?
BASIC, EN 16931, EXTENDED and XRECHNUNG are valid. MINIMUM and BASIC-WL contain only partial data and do not meet the e-invoicing obligation. Details in ZUGFeRD profiles explained.
What is more reliable: PDF upload, CSV or XML import?
CSV or XML import, because the data already comes structured from the ERP and no text recognition is needed. The PDF route is the flexible one when the ERP can only print; you then briefly review the extracted data before the file is created.
Can proALPHA, Sage and Dynamics NAV produce e-invoices?
Partly, depending on version and licence. Current proALPHA and newer Sage versions include e-invoicing functions, older Sage versions often only with an update or add-on. Older NAV and Navision versions usually need an extension; Business Central has its own functions.
Is an e-invoicing customisation in Dynamics NAV worth it before the migration?
Rarely. If the move to Business Central is planned anyway, it is better to bridge the time with the PDF invoices from NAV and a converter, without investing in the old system.
Is the invoice layout from the ERP preserved?
Yes, with ZUGFeRD. The XML is embedded in the existing PDF: the customer sees the familiar invoice, their system reads the data. An XRechnung, by contrast, is pure XML without a visual part.
Can I also send ZUGFeRD to public authorities?
Not always. The public sector generally expects XRechnung with a Leitweg-ID; some portals accept ZUGFeRD from profile EN 16931. Details in Sending XRechnung to authorities.
Written with AI assistance and published by Carl R. Landauer. General information, not tax or legal advice. About the author