# How to change the next document number?

Use this function when you need to change the number that Cloudex TMS will assign to the **next document you create**.

The next number can be changed for different document types, including:

- Outgoing invoices
- Incoming invoices
- Client orders
- Trips / spedition
- Mutual clearing acts
- Other documents

When using **Change next number**, you change **only the sequence number**. The configured prefix, suffix, year and month remain unchanged.

#### Example

Your outgoing invoice format may be: **INV-2026-09-0125**

where:

- **INV-** = prefix
- **2026** = year
- **09** = month
- **0125** = sequence number

If you change the next number to **130**, the next generated document could be: **INV-2026-09-0130**

Cloudex TMS applies the configured prefix, year, month and other formatting automatically.

#### How to change the next number

##### 1. Open a document from the required period

Open an existing document of the same type for which you want to change the numbering.

<p class="callout info">**Important:** Open a document with a date from the **year and month** for which you want to change the next number.</p>

For example, if you want to change the next outgoing invoice number for **September 2026**, open an outgoing invoice dated September 2026.

##### 2. Click the **three-dot (...) menu** in the document toolbar.

##### 3. Select Change next number

[![image.png](https://help.cloudex.app/uploads/images/gallery/2026-09/scaled-1680-/pwjimage.png)](https://help.cloudex.app/uploads/images/gallery/2026-09/pwjimage.png)

##### 4. Enter the required **sequence number only**.

[![image.png](https://help.cloudex.app/uploads/images/gallery/2026-09/scaled-1680-/uZximage.png)](https://help.cloudex.app/uploads/images/gallery/2026-09/uZximage.png)

#### Important

Be careful when changing document numbering, especially for invoices and other accounting documents.

Before changing the number, make sure that:

- you have selected the correct document type;
- you have opened a document from the correct year and month;