Plan an accounting migration ​

An accounting migration is a controlled handover, not a copy of every old transaction. You choose a cut-over date, bring across what you need to keep working, prove that the opening position is correct, and post all new documents in ERPNext.

Do at least one test migration before the final cut-over. The migration is complete only when the results are checked and the finance owner approves them.

1. Choose the cut-over date and the scope ​

Pick a cut-over date. The start of a fiscal year is easiest; a month start also works. Close and reconcile the old system up to the day before. Enter every document dated on or after the cut-over date in ERPNext.

For most companies, migrate:

  • active customers, suppliers, Items, warehouses, accounts, cost centers, and tax templates;
  • unpaid customer and supplier invoices;
  • unallocated payments and advances;
  • bank and cash balances;
  • stock quantities and values by Item and warehouse;
  • fixed assets with their accumulated depreciation;
  • other asset, liability, and equity balances;
  • income and expense balances for the year so far, only if you start in the middle of a fiscal year.

Leave closed invoices, settled payments, old quotations, completed orders, and journal history in the old system, unless a legal or operational reason needs them. Ask: will someone need this record to finish work in ERPNext?

2. Close the old system ​

  1. Enter all approved documents up to the cut-over date.
  2. Reconcile bank and cash, count and value stock, and post depreciation, payroll, tax, accruals, prepayments, and exchange adjustments.
  3. Reconcile the customer and supplier control accounts.
  4. Run the final reports, and lock the old period.

Keep these reports as protected files: Trial Balance, Balance Sheet, Profit and Loss, customer and supplier ageing by invoice, bank reconciliation, stock by Item and warehouse, fixed asset register, advances, and loan, tax, accrual, and prepayment schedules. Record the export time and the filters. Log any late invoices or payments, and decide which system receives them.

3. Prepare and map the data ​

Clean a copy of the exports and map each old value to an ERPNext value. See Prepare and map legacy data.

4. Set up ERPNext and import masters ​

Create the company and check its currency, fiscal year, and defaults. Then import in this order:

  1. Chart of accounts, with the Chart of Accounts Importer, and cost centers
  2. Warehouses and units of measure
  3. Item Groups, Customer Groups, Supplier Groups, and Territories
  4. Customers and suppliers
  5. Items and Item Prices
  6. Bank accounts, modes of payment, tax templates, and other masters

See Import accounting masters.

5. Load the opening documents ​

Each kind of balance has its own tool:

BalanceTool
Unpaid customer and supplier invoicesOpening Invoice Creation Tool
Advances and unallocated paymentsOpening Payment Entries. See Import advances, bank, stock, and assets.
StockStock Reconciliation with the purpose Opening Stock
Fixed assetsAsset documents for existing assets
All other balancesAn opening Journal Entry. See Enter opening balances.

Load them in the order of the table, and run the Trial Balance after each step to find errors early.

Avoid double counting ​

Opening invoices, stock, assets, and payments already post to the ledger. Do not enter the same amount again in the opening Journal Entry.

Example: the old Trial Balance shows Accounts Receivable of 8,000: unpaid invoices of 10,000 less an unallocated receipt of 2,000. Import the 10,000 of invoices and the 2,000 receipt. Do not add 8,000 of receivables to the opening Journal Entry.

At the end, the temporary opening account must be zero.

6. Validate and correct ​

Judge the migration by whether ERPNext agrees with the approved reports, not by the number of imported rows. See Validate the migration.

If a total does not agree, do not post an unexplained entry. Find the cause: a duplicate import, a wrong mapping, a missing invoice, a wrong sign, a wrong exchange rate, or a balance entered twice. Correct the file, cancel the wrong document, import again, and check again.

7. Approve, lock, and go live ​

Get written approval from the finance owner that the Trial Balance, statements, receivables, payables, bank, stock, assets, and taxes agree, and that test documents work.

Then lock the opening:

  1. Save the approved reports.
  2. Restrict the migration user.
  3. Set the company's Accounts Frozen Till Date to the day before cut-over. See Freeze accounting entries.
  4. Create an Accounting Period if some document types must stay closed.

Do not lock before reconciliation is complete. To correct an approved opening later, document the error, get approval, let the authorized role post the correction, rerun the reconciliations, and restore the lock.

Keep the old system read-only for history.

Opening entries and the Period Closing Voucher ​

A Period Closing Voucher moves profit or loss to equity at the end of a period. It is not a tool to import opening balances. If you start ERPNext at the start of a fiscal year, the old system already closed the previous year.