Invoice numbers: the pattern, the first number and when the count starts again

Set your store’s invoice number pattern, its first number and when its count starts again. It applies to new orders only.

Who
Owner and managers
Where
Console → Stores → the store’s Settings

Each order gets an invoice number when it is placed. By default it is the shop day, then the store’s count for that day: 20261121-0001, then 20261121-0002, and so on, starting again at 0001 each day. A store with its own pattern chooses three things: the pattern, the first number and when the count starts again. A change applies to new orders only: a number already placed never changes.

The pattern

  • Date tokens: {YYYY} for the year, {YY} for the last two digits, {MM} for the month and {DD} for the day, all in shop time.
  • One count: exactly one. Its zeros set the digits: {0} is no padding (1, 2 … 1025), and {000} pads to 3 digits, while a longer number just grows (1000). Up to 8 digits.
  • Fixed text: letters, figures, spaces, and - _ / . #. A slash stays on the paper. File names and bank references make it safe, so a bank reference holds letters, figures and dashes only.
  • At most 32 characters in the whole number.

Examples, each with its restart. Tap one under the pattern field to fill it in:

  • {0000}, never: 0001, 0002 … and {0}, never: 1, 2 … 1025
  • INV-{000}, never: INV-001
  • INV-{0000}, never: INV-0001
  • SERV-{0000}, never, first number 100: SERV-0100
  • {YYYY}-{000}, yearly: 2026-027
  • INV-{YYYY}-{000}, yearly: INV-2026-015
  • {YYYY}{MM}{DD}-{000}, daily: 20261121-001
  • INV-{YYYY}-ACME-{000}, yearly: INV-2026-ACME-001
  • IN-{YYYY}-K2-{00}, yearly: IN-2026-K2-03
  • {YYYY}/INV/{000}, yearly: 2026/INV/017

A client or a category is fixed text you type, like ACME or K2. The number does not carry a code for each customer.

The first number

The first number is the first number of each period, and it is 1 by default. Starting at 1000 gives 1000, 1001 and so on. A never-restart count can begin at 0100. Raising the first number moves the next number up to it on a count already running. Lowering it never moves a count back, so no number repeats. It applies only to a store’s own pattern, not the default.

When the count starts again

  • Never: one count for the store, always.
  • Yearly: back to the first number each year. The pattern needs {YYYY} or {YY}.
  • Monthly: back to the first number each month. The pattern needs {YYYY} and {MM}.
  • Daily: back to the first number each shop day. The pattern needs {YYYY}, {MM} and {DD}. This is the default.

The date tokens keep every number unique: a count that starts again must show the period it starts again in. So a restart that has no date in the pattern is refused.

Change the pattern

  1. Open Settings for the store.
  2. Type the Invoice number pattern. Under the field, tap an example to fill it in.
  3. Set the First number. Beside it, choose when the count Starts again.
  4. Press Save changes.

When a pattern is refused

The page says why, in plain words, and the pattern is not saved:

  • Use only the tokens {YYYY}, {YY}, {MM}, {DD} and a count like {0000}.
  • Use only letters, figures, spaces and - _ / . # around the tokens.
  • Put exactly one count in the number, like {0000}.
  • The count is 8 digits at most.
  • A yearly count needs the year in the number: {YYYY} or {YY}.
  • A monthly count needs the year and the month: {YYYY} and {MM}.
  • A daily count needs the year, month and day: {YYYY}, {MM} and {DD}.
  • The number would be longer than 32 characters.

Tip. Your store’s tax or VAT number is set on the same page. It prints on every invoice.

Good to know. A split bill’s shares still use the order’s invoice number, with -2 or :1/2 after it, whatever the pattern is.

Still stuck?

Tell the Bill&Go team in Phnom Penh what you were trying to do, and we'll walk you through it.

Talk to us