How to create invoice corrections for shopware 5 without overwrites!
1. FOLLOWING CASE:
Customer buys 3 items -> gets an invoice (RNr. 123) & has paid
Customer retouns 2 items -> customer gets a cancellation invoice or credit note for the total invoice.
We take out the one item and create a new invoice under the order details -> domuments.
2. NOW COMES THE ERROR:
Shopware creates an override of RNr. 123 and thus deletes the old invoice.
This is not allowed from an accounting point of view. A new document should be created with the RNr. 124.
3. THE SOLUTION:
You create a 1:1 copy of the normal invoice under Basic settings -> PDF document creation "Invoice correction". Shopware then offers you this as a new document within the order details and no longer overwrites the actual invoice. The financial accounting should then be able to work with it.
Documents in Shopware
Under the Documents tab, different documents can be created in Shopware. A simple invoice is created as soon as you click on "Create document". This is created with a consecutive number from a previously defined number range. A delivery bill is created in exactly the same way as the invoice. Cancellation invoices, in comparison to the previous two documents, do not have a number range. To create them, you must specify the number of the invoice to be cancelled in the "Invoice number" field to assign the cancellation invoice label to the PDF document and refer to the previously created invoice. You can also edit your previously created documents later. Please note, however, that invoices that are subsequently changed may cause tax problems.
How do I customize a document in Shopware?
Again, go to Settings → Basic Settings → Shop Settings → PDF Document Creation. This will take you to the overview of all documents. All components of an invoice or a delivery bill can be changed or customized directly here. To get to the detailed view of the desired document, select it and click on "edit". The various elements can now be selected from the drop-down menu and edited. This is now done using the editor. Further modification options via the invoice and delivery note template are possible via the FTP server in the directory /themes/Frontend/Bare/documents . To edit the files, copy the files to your own Shopware theme in the documents folder so that the changes are not overwritten in a future Shopware update. The file name for the delivery bill template here is index_ls.tpl, for the invoice template index.tpl. You can now make changes in the copied template files.
We hope this tip helps you to further optimize your Shopware store and especially the creation of your invoices.
If you have any questions about Shopware and Onlineshop creation, please feel free to contact us at email@example.com. We are your strong partner and help you from the creation of your online store to the further development of the store and service & support.
Our solution to the problem - what you can do if the JTL Connector in Shopware causes problems.
Our Shopware Performance Guide for professionals - tips and tricks to bring the performance of your online store to the next level.