Skip to main content

How can I create a ZUGFeRD e-invoice?

Create ZUGFeRD e-invoices with the Shopware document type, print them in the WMS, and correct them with a cancellation and a new invoice.

You create an e-invoice in ZUGFeRD format in Shopware 6 with a dedicated document type from Shopware. For most cases, the type Invoice: PDF with embedded ZUGFeRD e-invoice is the right choice: you can also select it in WMS document printing, and it provides a document image in the DATEV export.

Prerequisites

The e-invoice is a Shopware feature. You can find the document type Invoice: PDF with embedded ZUGFeRD e-invoice under Settings → Shop → Documents. Company, address, and VAT Id must be fully entered, otherwise no e-invoice is created.

Create an e-invoice

To create the e-invoice individually, open the order: click Create invoice and select the ZUGFeRD type.

To generate it automatically, use a flow with the action Generate document and the type ZUGFeRD invoice, for example in the flow Pickware ERP Completely Shipped or when the state changes to In progress.

E-invoice during shipping in the WMS App

In the WMS document printing of the shipping method, you can only select the embedded variant (PDF). The pure XML invoice cannot be printed and is therefore not available for selection there.

Attention: To avoid creating two invoice numbers, let the flow generate only the embedded ZUGFeRD invoice, and in the shipping method under WMS Dokumentendruck (WMS document printing) select it instead of the regular invoice.

If the e-invoice cannot be selected in WMS document printing, update Pickware or generate it via a flow.

Correct an e-invoice

You cannot create an invoice correction for ZUGFeRD invoices. Instead, cancel the invoice with a cancellation invoice and create a new invoice. Return, stocking, and refund are not affected by this. You can find more in How do I create invoice corrections?

E-invoices in the DATEV export

The DATEV export contains the booking for your e-invoice. However, a pure XML invoice has no document image. If you need document images, use the embedded variant. To learn how to export documents, see How do I perform a DATEV document export?

Common problems

The online validator reports errors

If an online validator reports errors in your e-invoice, contact Shopware. The file is generated by Shopware, not by Pickware.

Errors with third-party plugins

If a third-party plugin expects the Shopware PdfRenderer, document generation fails together with the Pickware e-invoice bundle. Deactivate the plugin or have the vendor adapt it.

Did this answer your question?