Skip to content

Import a chart of accounts

Rather than entering your accounts one by one, import a full chart from an Excel or CSV file. The import runs through a three-step wizard, writing nothing until you confirm.

Updated on October 24, 2026

Why import

The import lets you bring over the chart of accounts provided by your accountant in minutes, or update part of it. It is based on a file template you fill in, then checks every line before importing anything.

The three steps

The wizard guides you from the template to confirmation.

  1. Download the template

    Get an Excel workbook pre-filled with the right columns, examples and an instructions sheet, in French or English.

  2. Upload and preview

    Drop your file: every line is analyzed and you see the planned action (create, update, skip, error), without any data being written yet. “Choose rows” lets you tick what will be imported. The “Automatic setup” panel, collapsed behind a counter, lists once opened what the chart settles on top: default accounts still empty, missing journals (VT, AC, BQ, CA, OD) and bank accounts linked to their 514 account. Warnings stay visible without opening it.

  3. Confirm

    Confirm: valid lines are imported, lines in error are skipped. A summary shows how many accounts were created, updated and skipped, along with the setup carried out, which stays editable in the accounting settings.

File columns

Headers are recognized in French as well as English. Two columns are required.

  • Number (required)

    The account number: digits only, class 1 to 7, 4 to 20 digits. Enter it as text so the spreadsheet does not alter it.

  • Label (required)

    The account's name.

  • Description

    A free, optional description.

  • Bank account

    The IBAN (recommended) or the exact label of an existing bank account, to link a 514 account to it. Optional.

  • Currency

    A 3-letter ISO code. Leave empty for all currencies. Optional.

  • Usage

    Purchase, Sale or Both. Leave empty to derive the usage from the number: classes 2 and 6 = purchase, class 7 = sale; an account of another class is offered on a sale or purchase line only when its usage is given. Optional.

Import rules

A few simple principles guarantee a no-surprise import.

  • Deduplication by number: an existing number updates the matching account; a new number creates one. Whatever the file, a number under 4 digits is a heading, skipped, and a sub-account of 3421 or 4411 is not a chart account but a third party: with the right to manage third parties, it is created as a customer or supplier with that number as its account code, or completes the third party of the same code or name.
  • Two modes: “Add and update” (default) or “Add only”, which skips updates.
  • Bank matching: the bank account is found by IBAN first, otherwise by exact label. A reference that is missing or ambiguous puts the line in error.
  • Synergie export: the chart exported from Synergie can be dropped as is. Twelve-digit numbers are shortened to their usual form (611100000000 becomes 6111, an auxiliary account such as 342100010 keeps its trailing zero) and labels are cleaned up. A Synergie file is a tree: only its last branches become accounts, and the classes and headings grouping them (1, 11, 111, 1117…) are skipped. Customer and supplier auxiliary accounts are set aside — they do not belong in the chart — and become third parties in the same import. Under accounts 34551, 34552 and 4455, whose labels only make sense within their branch, each account's label is prefixed with the labels of its parent accounts found in the file, from the top down, separated by a dash (“ETAT - T.V.A. récupérable sur les charges - Autres achats CODE: 61”).
  • Lines in error: a missing required field, a too-long value, an invalid currency, a duplicate number within the file, a number outside the Moroccan chart or a bank account linked to anything but a 514 account are flagged and the line is skipped.
  • Batched writes: confirming saves the rows in batches, not as a single operation. If the import stops, the rows already saved stay saved and the summary says so. Re-running the same file is safe: deduplication by number picks up where it left off.

Limits and formats

The file must not exceed 5 MB or 5,000 lines. Accepted formats are .xlsx, .xls, .ods, .csv and .txt. Preview and confirmation always re-validate the file on the server, so nothing incorrect is written.

Note

Importing the chart of accounts happens on the web and requires the “Manage chart of accounts” permission. If you don't see it, ask an administrator of your organization.