
## Why change Invoice Numbers?

> Xero enforces a strict rule: Every Invoice Number must be unique.

---

### 📍 **Where to find this setting?**

Go to <Badge>**Settings → Business Portfolios**</Badge>. Click your <Badge>business</Badge> → Click the <Badge>**three dots**</Badge><Badge>for Xero</Badge> → <Badge>**Settings**</Badge>. Scroll down to the <Badge>**Field Format Settings**</Badge>section.

---

## Go to **Field Format Settings**

<Video src="https://cdn.easybizcloud.app/knowledge/video/f3b7174d3354293a189fd3148d6ee5b56d1b0473b05ba9f3175b90071076ba09.mp4" />

To customize these fields, click inside the box and type the **@** symbol. This will open a dropdown menu where you can select the available **Tags**.

### Here is a recommended setup to ensure unique invoice numbers:

- **Sales Order Invoice Number:**

  - _Configuration:_ Type `@` and select **[Sales Channel Code]**, type a hyphen `-`, type `@` and select **[Order No]**, type another hyphen `-`, then type `@` and select **[Order Date YYMMDD]**.

  - _Result:_ Creates a unique ID like "**POS-1001-251128**". This includes the store name, order number, and date to prevent duplicates.

- **Sales Order Reference:**

  - _Configuration:_ Type `@` and select the **[Order No]** tag.

  - _Result:_ This puts the simple order ID (e.g., "**1001**") in the "Reference" column, making it easy to search for in Xero.

<Callout type="warning" title="Warning">

Do not manually type the text inside the brackets (e.g., do not type [Order No]). You must use the @ menu to select the official tag from the list. If you type the text manually, the system will not recognize it as a variable and will just print the plain text on your invoice.

</Callout>

<Callout type="tip" title="Tip">

Don't forget to type a separator (like a hyphen - or a slash /) between your tags. This makes the final invoice number much easier to read (e.g., POS-1001 is better than POS1001).

</Callout>
