Customizing the invoice number
Instructions for how to change the invoice number sequence in your documents, to match your accounting invoice numbers.
Bjorn Forsberg avatar
Written by Bjorn Forsberg
Updated over a week ago

Having your invoice numbers different from the default number sequence is needed in some countries, where the number must match an existing sequence.

Note: The following guide is relevant if you are using the template designs that are provided within the Order Printer Pro app.

It is possible to have a custom invoice number sequence in your documents through a small change to the template code. The way to do it would be to find this code in your template:

{{ name }}

And replace it with:

#{{ order_number | minus: xxxx }}

Note: You must replace the xxxx in the above code with the correct number to start your sequence.

You can also change

{{ name }}

to

#{{ order_number | plus: xxxx }}

If what you need instead is to increase your order number.

The order number starts at 1 for your first Shopify order, so you need to do the math and adjust the number to get the correct number series based on your needs.

Did this answer your question?