← All articles
Basics

What Is a Receipt Number and How Is It Generated?

Sara Artheta·

A receipt number is a unique identifier assigned to a single transaction. Stores use it to look up the sale for returns, exchanges and warranty claims; businesses use it to keep bookkeeping traceable; auditors use it to match records to payments. No two receipts from the same business should ever share a number.

Where is the receipt number on a receipt?

On printed store receipts, look near the top under the store details or in the block of codes near the bottom, often labeled:

  • Receipt #, Trans #, or Transaction ID — the transaction's own number
  • TC or Ref # — a reference code, common on card slips (Walmart's long "TC#" is its transaction code)
  • Order # or Confirmation # — the equivalent on e-commerce and email receipts
  • Invoice # — some POS systems label every sale an invoice

Restaurant receipts often show a check number, and hotels use a folio number — same idea, different name. The number sits alongside the other standard fields covered in what information a receipt must include.

How do POS systems generate receipt numbers?

Modern registers build receipt numbers from transaction metadata rather than a simple 1, 2, 3 count. A typical structure encodes:

  • Store number — which location made the sale
  • Register or terminal ID — which till processed it
  • Date or shift code — when it happened
  • Sequence number — the transaction's position in that register's day

That is why store receipt numbers are long: a code like 0347-05-260709-0182 can mean store 347, register 5, July 9 2026, transaction 182. The structure lets a clerk find the exact sale in seconds — which is also what makes receipt lookups and reprints possible, as covered in how to replace a lost receipt.

Card payments add a second set of numbers from the payment processor: an authorization code (approval of the charge) and a reference number (the processor's own transaction ID). These are separate from the store's receipt number.

Are receipt numbers sequential?

Within one register, usually yes — the final segment increments with each sale. Across a whole business they rarely look sequential, because store, register and date segments change. Small businesses issuing receipts by hand should still keep numbers strictly sequential per the numbering system they choose; gaps invite questions in an audit.

How should a small business number receipts?

Pick a format you can sustain and never repeat. Four systems that scale, from simplest to most structured:

  1. Simple sequence: 0001, 0002, 0003 — fine for very low volume.
  2. Year prefix: 2026-0001 — resets each year, keeps numbers short.
  3. Date-based: 260709-01 — encodes the date, sorts naturally.
  4. Client or job prefix: SMITH-2026-03 — useful for freelancers with repeat clients.

Whichever you choose, record every number in your books, including voided receipts — void and keep the number rather than reusing it. Our guide on how to number receipts compares these systems in depth.

Can you look up a purchase with a receipt number?

Often, yes. Store systems index transactions by receipt or reference number, so customer service can pull up the sale, reprint it, or process a return without the paper slip. Some retailers expose this directly: barcode or QR codes on receipts usually encode the receipt number so returns desks can scan instead of type. If you have lost the paper but know roughly when and how you paid, most stores can search by card number and date instead.

The bottom line

A receipt number is the transaction's fingerprint: unique, traceable and boring by design. If you issue receipts yourself, commit to one numbering format and never reuse a number. Need to produce clean numbered receipts without a POS? Build one free — every template, from the itemized receipt on, includes a proper receipt-number field.

Frequently asked questions

Is a receipt number the same as an order number?
They serve the same purpose — uniquely identifying a transaction — but an order number is assigned when an order is placed (often before payment), while a receipt number is tied to the completed payment. E-commerce systems typically generate both.
Can two receipts have the same number?
Not from the same business — uniqueness is the whole point. Different businesses can coincidentally use the same number, which is why lookups always combine the number with the merchant, date or amount.
What is the TC number on a Walmart receipt?
TC stands for transaction code — Walmart's internal receipt number. Typing it into Walmart's online receipt lookup along with the store, date and payment details retrieves a digital copy of the receipt.
Do handwritten receipts need numbers?
Legally no in most places, but practically yes: a sequential number is what makes a handwritten receipt traceable in your books, and receipt books come pre-numbered for exactly that reason.

Need a receipt right now?

Create one free in under a minute.

Open the receipt maker