Shopware cancellation invoice with own number range
Reading time 3 min
UNFORTUNATELY, SHOPWARE DOES NOT PROVIDE ITS OWN CANCELLATION INVOICE WITH ITS OWN INVOICE NUMBER RANGE BY DEFAULT.
1. first the following file must be created in the template: documents/index_sr.tpl
2. then the following content must be inserted:
{extends file="parent:documents/index_sr.tpl"} {block name="document_index_head_right" append} {if $Document.id}{s name="DocumentIndexCancelationNumberShort"}Cancellation invoice:{/s} {$Document.id}
{/if} {/block}
This adds the document ID to the current cancellation invoice template.
3. let the template show your individualization. To do this, enter your new path in the "Template" field:
index_sr.tpl becomes : ../../YourTemplateFolder/documents/index_sr.tpl 4. create a duplicate of the cancellation invoice:
Adds a new document with the title "Cancellation invoice with NK" under Basic settings->PDF document creation. Enter everything in exactly the same way as for the cancellation invoice. Save your entry and switch to the normal invoice. Here you select "Apply properties to all documents". Please note that this will of course overwrite any individual adjustments in the other documents apart from the invoice. However, this saves us work here, as we do not have to manually adjust the elements of the PDF again.
5. select number range:
a) If you want to use the invoice number range, change the number range to Invoices under Basic settings->PDF document creation->Cancellation invoice with NK.
b) If you want a separate number range for a cancelation invoice, create a new number range called "doc_3" under: Basic settings->Number ranges.
This "doc_3" range is already stored in the PDF settings. But why it is not created as a number range is questionable...
Now you can create PDF cancelation invoices with their own number range. To do this, please no longer use the document type "Cancellation invoice" but the new "Cancellation invoice with NK".
And you've already created your cancellation invoice for your Shopware online store.
Why is a cancellation invoice necessary at all?
A cancellation invoice is required to cancel the previous outgoing invoice issued to the customer. The cancelation invoice cancels this and therefore has the function of a credit note. Reasons for canceling the previous invoice can vary from an incorrect original invoice to a forgotten discount to a defective service. To avoid problems under tax law, a clear distinction should be made between the cancelation and correction invoices. Even if the customer has not yet paid the original invoice, the cancellation invoice should be sent to them, as business customers can claim the input tax portion as input tax. This happens regardless of whether the invoice has actually been paid or not. As the invoicing party, the VAT shown on the invoice must be transferred to the tax office. The cancellation invoice exempts you from this payment.
We hope our tip has helped you and you can now further optimize your Shopware online store and in particular the creation of the invoice or cancellation invoice.
If you have any questions or need advice on creating an online store with Shopware, please feel free to contact us as always. We are at your side as a strong partner and will help you from the creation of a store to the subsequent service and support.
What is your project? If you want to tell us about it, we'll call you back!
Hello, my name is Meike. I take care of the EXWE back office and am responsible for our social media channels. All of our articles are meant to make your life easier and help you make decisions. Nevertheless, it can happen that something remains unclear, so: If you have questions about this article you can easily reach me at +49 231 93149827.
What are dynamic product groups in Shopware and what can they be used for? And how can you create them? You can find out all this in our article.
Would you like to carry out a Shopware 6 migration? We'll show you what to look out for and how to make the move a success.
Our tip for Shopware invoices: Create an invoice correction without overwriting! Optimize processes in your online store quickly and easily.