---
title: "Invoice numbering"
description: "How the number mask works, why the sequence has no gaps and how to continue numbering from another program."
url: "https://zaruka.app/en/help/cislovanie-faktur"
language: "en"
updated: "2026-10-27"
category: "Invoices"
alternates:
  sk: "https://zaruka.app/sk/help/cislovanie-faktur/md"
  uk: "https://zaruka.app/uk/help/cislovanie-faktur/md"
---

# 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](https://zaruka.app/en/settings/invoicing), 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.

[Open in the app](https://zaruka.app/en/settings/invoicing)

## Related guides

- [E-faktúra: the duty to receive and the digitálny poštár](https://zaruka.app/en/help/e-faktura-digitalny-postar/md)
- [E-faktúry in Zaruka Pro: connecting a digitálny poštár](https://zaruka.app/en/help/e-faktura-pripojenie/md)
- [What Zaruka is and what it does](https://zaruka.app/en/help/co-je-zaruka/md)
