GenerateRandomSearch

Invoice Reference Generator

Generates a plausible-looking invoice reference code — for mockups, design templates or test data. Clearly a random example, never a real transaction record. Joins one of 16 document-type prefixes to one of 33 fixed reference numbers.

What this generator does

Produces a plausible-looking reference for mockup invoices and documentation. The format is deliberately conventional enough to look real in a design and generic enough not to collide meaningfully with a real accounting system's sequence.

What it builds, and how many ways

Each result is assembled to this shape: [prefix] + [number].

  • number: 33 options
  • prefix: 16 options

Taken together those banks can be assembled 528 different ways, repeating after about 29.

Some results it can produce:

  • INV-2026-0764
  • CR-2026-1152
  • PRO-2026-1288
  • COM-2026-1220

A fixed sample so this page stays the same between visits. Your own results are assembled at random, each slot filled independently and each press independent of the last, so the same result can come up twice — past the repeat figure above, seeing one twice is more likely than not.

How to use this tool

  1. Press generate for a reference.
  2. Generate again for a different one.

Worked examples

One pairing
"CR-2026-0937" — a credit-note-style reference built the same way an invoice one is.

Common use cases

  • Invoice template mockups
  • Test data for accounting software
  • UI placeholder content

How this generator works

There is one template, "{prefix}-{number}": a prefix (INV, PO, CR, QTE and twelve others covering different document types) is drawn from a 16-entry bank and joined to one of 33 fixed year-and-sequence numbers, for 16 × 33 = 528 distinct references.

Limitations and good to know

  • These are not real transaction identifiers and correspond to no payment, account or system anywhere.
  • Never use a generated reference on a document that will be sent to a customer or filed. Real invoice numbering usually has to be sequential and gapless for tax purposes, which a random generator cannot provide.
  • The 33 reference numbers are a fixed set rather than freshly generated digits, so the same number will resurface paired with a different prefix across enough presses.

Each part of the result is chosen independently with your browser's cryptographic random number generator, so every option in a bank is equally likely. How Generate Random works.