Since 28th December 2022, this plugin version has been discontinued for purchase. However, support will be continued for existing users. Post the aforementioned date, users who purchase the plugin, which now is made available as multiple add-ons, must refer to their corresponding setup guides. The drag-and-drop customizer feature is now available for purchase as an add-on.

WooCommerce PDF Invoices, packing slips and credit notes plugin | WooCommerce Shipping labels, Dispatch labels and Delivery notes plugin | WooCommerce Address labels plugin | WooCommerce Picklists plugin | WooCommerce Proforma invoices plugin | Customizer for WooCommerce PDF Invoices

Since 28th December 2022, this plugin version has been discontinued for purchase. However, support will be continued for existing users.

Create/reset invoice number in WooCommerce

Last updated on August 3, 2023

The invoice number is one of the most important components of an invoice. Every invoice should possess a unique invoice number. But if you have chosen a number system that gets confusing as it gets higher, it can get difficult to manage.

What do you do then?  You will have to reset the number system of the invoice number. Using WebToffee’s PDF Invoices and Packing Slips Plugin for WooCommerce you can set and reset invoice numbers easily.

This article will guide you through the process of resetting invoice numbers for your WooCommerce store with the help of a plugin.

Create/Reset invoice number

  1. Install and activate the plugin on your WooCommerce site. Learn more about the setup of the PDF Invoice.
  2. Navigate to Invoice/Packing > Invoice from your WordPress dashboard.
  3. Head on to the Invoice number tab. You can set up a custom invoice number with prefix/suffix/number series or even mirror the order number as invoice number respectively.
WooCommerce Invoice or packing-Invoice Settings- Invoice Number

Use the order number as invoice number: Choose Woocommerce order number to use the order number as the invoice number. To have a custom invoice number, select Custom number series and input the necessary details into the respective fields.

Invoice Start Number: Enter the Invoice Start Number.

Custom invoice number

Invoice number format: Specify the format in which the invoice has to be generated. For example, [prefix][number][suffix]

Suffix: Enter the suffix that will appear at the trailing end of the invoice number. You can use any of the date formats or alphanumeric characters as a suffix as shown in the image below.

Date formats
Date formats

Invoice number Length: Indicates the total length of the invoice number padded with zeroes. For example, Input invoice number length as 7 with initial number as 8009. then, the newly generated number will be 0008009, padded with 3 zeroes.

At last, click on the Update and Reset button.

Sample Invoice

For example, if the prefix is chosen to be as [m] referring to the numerical form of the active month and the suffix as [Y] referring to the numerical form of the active year. 

Let’s have a look at the invoice number with the above configuration in place.

WooCommerce Invoice sample

In the above invoice,

  • 03 is the prefix
  • the rest of the five numbers indicate the invoice length (padded with three zeroes)
  • suffix 2021