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

# Import chart of accounts

> Import your chart of accounts as a CSV or Excel file, for example from Bexio.

With chart of accounts import you transfer account numbers and names from a file into Infinity instead of entering each account manually. New accounts are created; existing accounts with a different name are renamed.

## Prerequisites

* You have permission in your organisation to edit the chart of accounts.
* Your file is a CSV file or an Excel file (`.xlsx`).
* Your file contains a column for the account number and one for the account name.

## Prepare the file

The following columns are supported. Column headings can be in German, English, French or Italian:

| Column | German | English | French | Italian |
| - | - | - | - | - |
| Account number | `Kontonummer` | `Account number` | `Numéro de compte` | `Numero di conto` |
| Account name | `Kontobezeichnung` | `Account name` | `Libellé du compte` | `Denominazione del conto` |

**Notes:**

* Column headings are recognised regardless of case (e.g. `Account number`, `account number` and `ACCOUNT NUMBER` all work).
* Column order does not matter.
* Extra columns are ignored, for example `Saldo in CHF`.
* The delimiter can be comma (`,`) or semicolon (`;`).
* For Excel files, the first worksheet is read.
* Only accounts with a four-digit number between 1000 and 9999 are imported. Other rows, for example account groups, are skipped.
* Balances are not imported. How to record opening balances is explained under [Open accounting](https://docs.infinity.swiss/en/docs/accounting/ledger/account-opening.md).

> [!NOTE]
>
> A chart of accounts export from Infinity can be imported again directly. Bexio chart of accounts templates are recognised in all four languages.

### Template

You can download a template to fill in and use for the import: [Download CSV template](https://static.infinity.swiss/templates/Vorlage-CSV-Import-Kontenplan.csv)

## Import chart of accounts

1. Go to **Settings** in the sidebar.
2. Open **Import/Export**.
3. Under **Chart of accounts**, click **Import**.
4. Upload your CSV or Excel file.
5. Review the preview. If needed, pick a colour for individual accounts.
6. Click **Import accounts**.

In the preview you see for each account what the import will change:

| Change | Meaning |
| - | - |
| New | No account with this number exists yet. It will be created. |
| New name | The account already exists with a different name. It will be renamed. |
| New colour | You chose a different colour for an existing account. |
| Unchanged | The account already exists with the same name and colour. It stays as it is. |
| Duplicate | The account number appears more than once in the file. Only the first row is imported. |

The account type for new accounts follows the account number: 1000–1999 are assets, 2000–2999 liabilities, 3000–3999 revenue and from 4000 expense. Existing accounts not in the file stay unchanged. The import does not delete accounts.

> [!NOTE]
>
> If an account cannot be imported, you see this in the preview on the affected account. With **Retry failed** you can import only those accounts again.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.