# Chart of accounts

> Browse, add, edit and archive ledger accounts with English and Arabic names, grouped by type, and hand a role to a replacement account when you archive one.

Source: /help/en/accounting/chart-of-accounts

The chart of accounts lists every ledger account of your organisation by type: cash, bank, receivables, fixed assets, VAT, equity, income, expenses and so on. The UAE pack seeds about 140 accounts shaped on IFRS for SMEs with English and Arabic names; add your own on top.

## Steps

1. Go to **Chart of Accounts** in the sidebar (after **Bank**). If the ledger is not enabled yet, the page links to **Settings → Accounting**; see [Enable the ledger](/help/en/accounting/enable-the-ledger).
2. Use **Code or name** to search, the group picker (Assets, Liabilities, Equity, Income, Expenses) to narrow, and **Show archived** to include archived accounts. In Arabic the list shows the Arabic names first.
3. Click **Add account**. Enter a **Code** (up to 20 letters, digits, dots, underscores or dashes; unique in your organisation), the **Type**, the **Name** in English and Arabic, an optional **Parent account** and **Description**, and switch on **Reconcilable** for receivable, payable or bank accounts. Click **Save**.
4. Open the row menu (…) and choose **Edit** to rename, translate, move under a parent or change the code. A code and type freeze once the account has postings; a system account (one with a role badge) keeps its type.
5. Choose **Archive** to retire an account. An account with postings or a role asks for a **Replacement account** of the same type: the role, the default-account settings and the links from items, contacts and bank accounts move to it. Posted entries are never rewritten: when the account has a balance, one transfer entry in the general journal, dated today, moves the balance (per contact) to the replacement. **Restore** brings an archived account back; a role it handed over stays with the replacement.

## Register

Click an account's code, or choose **Open register** in its row menu, to see every posted line on the account, oldest first, with the running balance (debit minus credit, shown as Dr or Cr). Drafts are not in it.

1. Narrow it with **From** and **To**; the opening balance before **From** is the first row, and the summary shows the opening balance, debits, credits and closing balance.
2. Click an entry number to open the entry. Reversed entries and their reversals are marked; both stay in the register because both are booked. The register of a fixed asset class's cost or accumulated-depreciation account opens with a banner naming the class and linking to **Fixed assets**, where depreciation is managed.
3. Select lines and choose **Reverse their entries** to reverse the entries behind them, or **Move to another account** to reclassify: posted lines never change, so one transfer entry in the general journal takes each amount off this account and books it on the account you choose, with the same contact.
4. **Bulk-action history** under the register lists the bulk reversals and the moves from this account, with the reason given.

## Roles

| Role | Used for |
|---|---|
| receivable, payable | Control accounts for customers and suppliers |
| vat_output, vat_input, vat_payable | VAT charged, VAT recoverable, the net due to the FTA |
| sales | Income when a line has no account of its own |
| fx_gain, fx_loss, rounding, suspense | Differences the posting functions book |
| retained_earnings, opening_balance | Year end and the opening entry |

## Groups and statement order

Every account rolls into a **group**, the line item of the balance sheet or the income statement it is reported under (the UAE pack ships the IFRS for SMEs section 4 and 5 items: Cash and cash equivalents, Trade and other receivables, Revenue, Cost of sales, Employee costs, …). Pack accounts are assigned when the ledger is enabled. A new account joins a group at once: the one you pick under **Group** in the account form, else its parent account's group, else the pack's group for accounts of its type near its code (a 6155 expense account lands beside 6150). So every account is in the profit and loss or the balance sheet from its first posting.

- The **Group** column shows each account's group; **Edit** moves it under **Group**. Leaving the picker on **Automatic** gives the account the parent's or the type's group again.
- **Groups** opens the dialog: **drag** the groups into the order you want and **Save**; the order is stored for the organisation and the financial statements follow it. **Add group** creates a custom line item; deleting one moves its accounts to the group you pick.

See [Dimensions and locations](/help/en/accounting/dimensions-and-locations) for the full picture of groups, dimensions and modules.

## Delete all accounts

Use this when the wrong country pack was seeded or a chart import went wrong. It is allowed only while no journal line has been booked, drafts included; a chart with postings is archived account by account with a replacement, as above.

1. Open the **…** menu next to **Add account** (owners and admins only) and choose **Delete all accounts**.
2. Read the confirmation: every account goes, together with the tax posting rules, the learned import mappings, the default accounts under **Settings → Accounting** and the account links from bank accounts, contacts and items. Click **Delete all accounts**.
3. A banner at the top of the page shows "N accounts deleted · Undo (m:ss)". Click **Undo** within five minutes to restore everything, links and rules included. Nothing may have been added to the chart in the meantime.
4. Afterwards the page shows the empty chart with two ways on: **Restore the UAE chart** seeds the country pack again with your current ledger start date and pack, and **Import a chart file** opens **Import and migration** for a chart from your previous software.

When the chart already has journal lines, the action is refused with the reason ("the chart has journal lines"). API: `POST /ledger/accounts/delete-all` and `POST /ledger/accounts/undo-delete-all`; AI assistants use `delete_all_accounts` and `undo_delete_all_accounts`. Both deletion and restore are in the audit log.

## Good to know

- Owners, admins and accountants manage accounts; approvers and viewers can read the chart.
- Accounts are never deleted once posted to. Archiving keeps history intact; deleting the whole chart is for an unused chart only.
- The pack an account came from is shown under the list; custom accounts have none.
- The API offers `GET /ledger/accounts`, `POST /ledger/accounts`, `PATCH /ledger/accounts/{id}`, `POST /ledger/accounts/{id}/archive` and `/restore`, `GET /ledger/accounts/{id}/register` and `POST /ledger/lines/reclassify`; AI assistants use `get_account_register`, `reclassify_lines`, `list_accounts`, `add_account`, `update_account`, `archive_account` and `restore_account`.

## Related

- [Enable the ledger](/help/en/accounting/enable-the-ledger)
- [Manual journals](/help/en/accounting/manual-journals)
- [VAT rates and categories](/help/en/account-and-setup/tax-rates)
