Skip to content
AllInOneTools

Invoice number generator

Generate unique, consecutive invoice numbers from patterns like RE-{YYYY}-{####}.

Runs in your browser – your files are not uploaded

How to use Invoice number generator

  1. 1

    Choose a preset or type your own pattern.

  2. 2

    Set the start number, prefix and invoice date.

  3. 3

    Optionally paste your last invoice number to continue the sequence.

  4. 4

    Copy the numbers or download them as CSV.

About Invoice number generator

Define a number pattern with text, date tokens such as {YYYY} or {MM} and a counter like {####}, and the tool generates the next invoice number or a whole batch. Paste the last number you issued and it reads the counter from it, so you can continue your existing sequence without gaps.

The tool warns when a pattern has no counter or when the counter grows beyond its zero padding. It does not store anything or keep track of used numbers – it is a helper for setting up and checking your numbering scheme.

Frequently asked questions

Do invoice numbers have to be consecutive?

Many tax systems require unique numbers that follow one or more sequences, so invoices can be identified and gaps noticed. The exact rules differ from country to country – check the requirements that apply to your business or ask a tax adviser.

Can I include the year in the number?

Yes. Use {YYYY} or {YY}. Many businesses start a new counter each year, for example RE-2025-0001. Make sure the combination of year and counter stays unique.

What happens when the counter exceeds the padding?

The number simply gets longer (for example 9999 → 10000 with {####}). It stays unique, but sorting numbers as text no longer works, so the tool shows a warning.

Does the tool remember my numbers?

No. Nothing is stored or uploaded. Keep track of issued numbers in your invoicing or accounting software.