> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fatorly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Number Series

> Configure automatic document numbering for invoices and credit notes.

Number series control how your documents are numbered. Each series maps a document
**category** and **direction** to a prefix and the next number to use, so every
invoice and credit note gets a unique, sequential identifier automatically. Open
it from **Company → Company Configuration → Number Series** (route
`/settings/company-profile?tab=numberseries`).

## The list

Each row shows the series **Code**, **Name**, **Category**, **Direction**, **Next
Number**, whether it's the **Default** for that category, and its **Status**.

Fatorly comes with a series for each document type — plus two **Master Data**
series that number your customer and vendor codes — for example:

| Code | Name                          | Example next number |
| ---- | ----------------------------- | ------------------- |
| SI   | Sales Tax Invoices            | `INV-2026-00001`    |
| SCI  | Sales Commercial Invoices     | `CI-2026-00001`     |
| SCN  | Sales Tax Credit Notes        | `CN-2026-00001`     |
| SCCN | Sales Commercial Credit Notes | `CCN-2026-00001`    |
| SBI  | Self-billed Tax Invoices      | `SBI-2026-00001`    |
| SBCN | Self-billed Tax Credit Notes  | `SBCN-2026-00001`   |
| PI   | Purchase Invoices             | `PI-2026-00001`     |
| PCN  | Purchase Credit Notes         | `PCN-2026-00001`    |
| CUS  | Customer Codes                | `CUST-00001`        |
| VEN  | Vendor Codes                  | `VEND-00001`        |

## Add or edit a series

<Steps>
  <Step title="Open the form">
    Select **Add New**, or **Edit** on a series.
  </Step>

  <Step title="Configure">
    Set the code, name, category, direction, prefix/format, and next number, and
    whether it's the default for its category.
  </Step>

  <Step title="Save">
    The next document of that type will use this series.
  </Step>
</Steps>

<Warning>
  Changing the next number affects the numbering of future documents. Keep
  numbering sequential to stay compliant and avoid duplicate numbers.
</Warning>

<Note>
  The **Customer Codes** and **Vendor Codes** series (direction **Master Data**)
  are used when you create a customer or vendor and leave its **Code** empty —
  the next code (for example `CUST-00001`) is assigned automatically. Enter a
  code yourself to override the series for that record.
</Note>

## Related

* [Company Configuration](/en/settings/company-profile) — the tabbed hub this lives in.
* [Sales Invoices](/en/sales/sales-invoices) — where assigned numbers appear.
