Customize Starting Invoice Number for a Specific Order

Learn how to calculate and set a custom starting invoice number in GST Pro so that a specific order begins with your desired invoice number sequence.

Overview

You can manually set the starting invoice number in GST Pro to match your preferred numbering system or to align with existing invoice records.
This is useful when you want the invoice sequence to start from a specific date, or when you want a particular order to have a specific invoice number.

If no changes are made, the **default starting invoice number** in GST Pro is **#1001**.

When to use this

You may need to customize the starting invoice number when:

  • Migrating from another invoicing system.
  • Starting a new financial year with a different series.
  • Ensuring a specific order starts from a defined number (e.g., first invoice = #1).

Example scenario

You want the 1235th order in your store to have the invoice number #1.

By default, GST Pro assigns invoice numbers as follows: Invoice number = 1000 + order number

So, the 1235th order would normally have invoice #2235 (since 1000 + 1235 = 2235).


Formula to calculate custom starting number

Use this formula to calculate the starting invoice number needed for your desired sequence:

Invoice number for nth order = 1000 + n

Desired invoice number = x

Starting invoice number = x - (n - 1)


Example calculation

For the 1235th order to have invoice #1, apply:

Starting invoice number = 1 - (1235 - 1) = 1 - 1234 = -1233

This means you should set the First Invoice Number for Financial Year as -1233.

GST Pro will then assign invoice #1 to the 1235th order.

Adjust for other cases

You can replace the values in the formula to fit your use case:

  • x = the desired invoice number for your target order.
  • n = the position (order number) of that order.

GST Pro will then continue numbering sequentially from the calculated starting value.