Skip to main content

Can I output the invoice number in the DATEV payment export?

With the Reference option "Document number", the invoice number appears in document field 1 and DATEV matches open items. For Shopware 6.

Yes. If you select the option Document number under Reference in the DATEV configuration, the DATEV payment export shows the invoice number in document field 1 for payments. Refunds show the number of the invoice correction or cancellation invoice there. This allows DATEV to match the payments to the open items of your invoices and settle them automatically.

The number only appears in document field 1 if the document can be clearly assigned during the export. For a payment, the order needs exactly one non-cancelled invoice. For a refund, it needs exactly one correction document and exactly one refund. Otherwise the field stays empty, for example if a paid order has no invoice yet at the time of the export. You assign such payments manually in DATEV.

Switch the reference to document number

You change the reference in the configuration of the DATEV extension:

  1. Open the configuration of the DATEV extension.

  2. In the Posting record section, select the option Document number under Reference.

  3. Save the configuration.

From the next export onward, the document number appears in document field 1. With the option Order number, the order number appears there instead. You can find all options of the configuration under How do I configure my DATEV extension?, and the rules for document field 1 in detail under Further information on the DATEV payment export.

Did this answer your question?