Zaruka
Start free
All guides

Invoices

Invoice numbering

How the number mask works, why the sequence has no gaps and how to continue numbering from another program.

Updated 27. 10. 2026

The invoice number mask

Zaruka builds the invoice number from the mask in Settings → Invoicing details, in the Numbering section. The mask is made of tokens:

  • {YYYY} — the year of issue, for example 2026.
  • {YY} — the short year, for example 26.
  • {N} — the sequence number without leading zeros, for example 7.
  • {NN} to {NNNNNN} — the sequence number padded with zeros to 2 to 6 digits, for example {NNNN} → 0007.

Besides tokens, the mask may contain digits and the characters - _ /. The sequence token is required. The default mask {YYYY}{NNNN} gives numbers like 20260001, the mask {YYYY}-{NNN} numbers like 2026-007. The preview below the field shows the number of the next invoice.

The sequence restarts every year

Each year the sequence starts again from 1. An invoice only gets its number at the moment you issue it — drafts have no number, so the sequence has no gaps. The year in the number is taken from the issue date.

Continuing the numbering from another program

  1. If you have already issued invoices elsewhere this year, fill in the Year in the Numbering section.
  2. In the Continue from number field, enter the sequence number of the next invoice — if the last one was number 12, enter 13.
  3. Press Set numbering and check the next invoice's number in the preview.

The numbering cannot go back below a number you have already issued in Zaruka — two invoices would share the same number.

Changing the mask during the year

You can change the mask at any time. Issued invoices keep their numbers; the new mask is used from the next invoice and the sequence carries on.

Why an issued invoice cannot be deleted

An issued invoice is an accounting document and its number must stay taken. A wrong invoice is therefore cancelled (storno) — it keeps its number and the sequence has no gap. You can correct the issue date afterwards, but only within the year the invoice number comes from.

Didn't find the answer?

Write to us. We reply on business days — we are a small team, not a chat.

Contact supportThe form is available after you sign in.

Without signing in, write to [email protected].

Related guides