EXWE Blog
News about Shopware from the EXWE Blog
Subscribe to articles about digitalization, software development and e-commerce
  Show all news (70)

Shopware cancellation invoice with own number range

Banner Shopware

As a certified Shopware agency we would like to help you with useful tips & tricks to bring your online shop to a new level. If you needhelp with your Shopware online shop or have any other questions - feel free to contact us! And now have fun with our short explanation how you can create a Showare cancellation invoice with your own number range:

UNFORTUNATELY SHOPWARE DOES NOT PROVIDE A CUSTOM CANCELLATION INVOICE WITH CUSTOM INVOICE NUMBER RANGE OUT OF THE BOX.

1. first you have to create the following file in the template:documents/index_sr.tpl

2. the following content must be inserted in the roof:

{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}<br />{/if}
{/block}

This will extend your current cancellation invoice template to include the document id.

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 titled "Cancellation Invoice with NK" under Basic Settings->PDF Document Creation. Enter all things exactly as in the cancellation invoice. Save your input and switch to the normal invoice. Here you select "Apply properties to all documents". Attention, this will of course overwrite any individual adjustments in the other documents except the invoice. But it saves us work here, because we don't have to adjust the elements of the PDF again by hand.

5. choose number range:

a) Do you want to use the invoice number range now still changes under the basic settings->PDF document creation->Reverse invoice with NK, the number range on invoices.

b) If you want an own number range for a cancellation invoice, create a new number range named "doc_3" under: Basic Settings->Number Ranges.
This "doc_3" number 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 cancellation invoices with your own number range. Please don't use the document type "Cancellation invoice" anymore but the new "Cancellation invoice with NK".

And you have already created your cancellation invoice for your Shopware online shop.


 

Why is a cancellation invoice necessary at all?

A cancellation invoice is needed to reverse the previous outgoing invoice issued to the customer. The cancellation invoice cancels this and thus has the function of a credit note. Reasons for a cancellation of the previous invoice can vary from an incorrect original invoice, to a forgotten discount, to poor service. In order to avoid tax problems, a clean separation should be made between the cancellation invoice and the correction invoice. Even if the customer has not yet paid the original invoice, the cancellation invoice should be sent to him, since business customers can claim the input tax portion as input tax. This happens whether the invoice has actually been paid or not. As the invoicing party, the sales tax shown on the invoice must be remitted to the tax office. The cancellation invoice exempts one from this payment.

If you have any questions or need advice about online shop creation with Shopware, please feel free to contact us at [email protected]

Meike
Meike
from 29.11.17 um 12:33

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.

We also have the following interesting posts from our tech blog for you on this topic
Shopware 6 Migration: How to move your online shop to Shopware

You want to make a Shopware 6 migration? We'll show you what to look out for and how to make the move a success.

Show Shopware Custom Products under Variant Selection

In this article, we will show you how to place the Custom Products options below the variants by customizing the Shopware theme.

Shopware 6 Update - what has happened since the release of the update

Learn about the improvements and new features from Shopware 6.0 to Shopware 6.4.1.0 and stay up to date on the topic of online store creation.




Schreibe EXWE auf WhatsApp