Free tool

Invoice number generator

Choose a prefix, decide whether to include the year, and see what your next invoice numbers look like.

This tool builds a run of invoice numbers from a pattern you choose: an optional prefix, an optional year, and a number padded with zeros that goes up by one each time. With the prefix INV, the four-digit year 2026 and four digits starting at 1, the numbers are INV-2026-0001, INV-2026-0002, INV-2026-0003, and so on.

Last updated

Enter the year.

How to use it

  1. Type a short prefix, such as INV or your business initials. Leave it blank for none.
  2. Type the starting number. Use 1 for a new sequence, or your next unused number.
  3. Choose how many digits to pad the number to.
  4. Choose whether to include the year, as four digits or two.
  5. Read the list and use the first number on your next invoice.

The formula

Invoice number = prefix, then the year if you include it, then the running number padded with zeros, joined by hyphens. Each new invoice adds one to the running number.

Worked example: prefix INV, four-digit year 2026, four digits, starting at 1 gives INV-2026-0001, INV-2026-0002, INV-2026-0003, INV-2026-0004 and INV-2026-0005.

Another: no prefix, two-digit year 26, three digits, starting at 98 gives 26-098, 26-099, 26-100. A number that outgrows the padding simply gets longer.

Choosing a pattern

Whatever you pick, the rules are the same: every invoice gets its own number, numbers run in order, and none is reused or skipped. Gaps and repeats make your records harder to trust and to check. If you cancel an invoice, keep its number and mark it void instead of handing the number to another invoice.

Padding with zeros keeps numbers sorting in the right order in a file list or spreadsheet. Four digits gives room for 9,999 invoices before the number gets longer.

PatternExampleGood for
Number only0001The simplest record; fine for a small business
Prefix and numberINV-0001Telling invoices apart from quotes and receipts
Year and number2026-0001Finding an invoice by year at a glance
Prefix, year and numberINV-2026-0001Businesses that restart the count each year

Put it on an invoice

Print the number near the top of the invoice, next to the date. AnyInvoices numbers each new invoice for you in sequence, so you do not have to keep count. In the free invoice generator you type the number yourself, and the first one from this list is a good start.

Questions

What should my first invoice number be?

Any number you like, as long as later ones follow in order. Many businesses start at 1 or 1001. Starting above 1 is fine if you prefer not to show that it is your first invoice.

Do invoice numbers have to be in order?

Running them in order with no gaps and no repeats is the standard practice and makes your records easy to check. Some places have their own invoicing rules, so ask an accountant if you are unsure what applies to you.

Should the invoice number include the year?

It is optional. Including the year makes an invoice easy to place and lets you restart the count each January. Leaving it out keeps the number shorter.

Can two customers have the same invoice number?

No. Each invoice your business sends should have a number no other invoice has, whoever the customer is.

This page is general information, not legal, tax or financial advice. Rules differ by state and by contract; check yours or ask an accountant or a lawyer.