RandomNr

Codes and Test Data

Random Invoice Number Generator

Generate invoice and order numbers with your own prefix, date part and sequence length.

Random Invoice Number Generator

INV-2026-01001

Sequential from 1001

How many invoice numbers

Format

Generate invoice numbers

This tool builds invoice numbers in a tidy, consistent format. Set a prefix such as INV-, a start number and how many digits to pad to, choose whether to include the year, and pick sequential or random. Generate a single reference or a batch to seed a ledger.

Sequential or random

Sequential numbering counts up from your start value, the usual way to keep invoices in order and easy to reconcile. Random mode draws unrelated numbers, useful for samples and tests where a predictable sequence would give away volumes.

Consistent and exportable

Padding keeps every number the same width so they sort correctly, and the optional year groups invoices by period. Copy the numbers or export them as a CSV for a spreadsheet or accounting import.

Popular generators

Frequently asked questions

Can I set a prefix

Yes. Any prefix such as INV- or a company code sits in front of every number, and you can add the year too.

What does pad to digits do

It adds leading zeros so every number is the same width, for example 1001 becomes 01001 at five digits.

Sequential or random

Both. Sequential counts up from your start number, and random draws unrelated numbers for test data.

Are the numbers unique

Sequential numbers are always unique. Random numbers are drawn independently, so treat a large random batch with light care.

Is it free

Yes, free and with no sign up.

Related generators

For product keys see the serial number generator, or plain unique numbers with the ticket number generator.