/accounting/accounts/import (from the Chart of Accounts page, the import flow opens this wizard).
📷 Screenshot: The Chart Import wizard showing the Source → Mapping → Preview → Result step indicator — to be added.
When to use it
Use the import wizard when:- You’re onboarding a business that already has an established chart you want to keep, or
- You want to start from a ready-made template rather than Hitaji 360’s built-in default.
The four steps
The wizard shows a progress indicator across the top: Source → Mapping → Preview → Result.Step 1 — Source
Choose where the accounts come from:- Template — pick from the built-in chart templates. Each template lists its name, country (if any), version, and how many accounts it contains; you can preview the full account tree before importing.
-
Paste / upload CSV or TSV — provide your own data. You can download a sample CSV template to see the expected shape. The sample columns are:
with rows such as
1110, Cash, ASSET, 1100, false, cash, Cash on hand.
Step 2 — Mapping
The wizard auto-detects which of your columns map to each field (code, name, type, parent code, is-group, detail type), recognising common header names — for instanceaccount_code, account_number, acct_no, or no all map to code; revenue maps to the income type; and header is treated as a group flag. You can adjust any mapping the auto-detector got wrong, and you’ll see sample values from your data to confirm each column.
You also choose how the hierarchy is built:
- Parent code (default) — each account names its parent’s code in a column.
- Code prefix — parents are inferred from the account codes themselves (shorter codes, or codes with trailing zeros, become parents of longer ones).
- Flat — no hierarchy; every account is top-level.
Step 3 — Preview & validate
The wizard validates your accounts against the existing chart and shows a summary: totals, counts by type, how many are groups, and how many conflict with codes already in your book. Issues are surfaced as:- Errors (block the import) — e.g. a missing code or name, an invalid account type, a duplicate code within the import, or a parent code that doesn’t exist in either the import or your existing chart.
- Warnings (don’t block) — e.g. a code that already exists and will be skipped or updated, depending on your conflict setting.
Step 4 — Execute & result
Run the import. Hitaji 360 creates the accounts (recursively, parents before children), records the run as an import batch, and shows you the result: how many were created, skipped, and failed, with any per-account error messages. From the result screen you can jump straight to the Chart of Accounts to see your imported tree.Imported accounts are created as custom (non-system) accounts. They do not replace the system control accounts the rest of Hitaji 360 needs — if you import onto an empty book, consider whether you still need the standard control accounts (Bootstrap installs those).
Import history and undo
Every import is saved as a batch with its source, template name (if any), counts, and timestamp. You can:- View import history — the list of past import batches for the business.
- Undo a batch — soft-delete every account that batch created, in one action. An undone batch is marked as such and cannot be undone twice. (Undo removes the imported accounts; it does not touch accounts that already existed and were merely updated or skipped.)
Tips for a clean import
- Make sure every parent code referenced in your file either appears earlier in the same file or already exists in the chart — otherwise those rows error out.
- Keep codes unique within your file; duplicates are rejected.
- Use a valid type for every account:
ASSET,LIABILITY,EQUITY,INCOME, orEXPENSE(the parser also understands friendly variants likeassets,liabilities, andrevenue). - Mark header rows with
is_group = true(oryes/1/header) so they don’t accept direct postings.