Skip to main content

Merging Accounts in ERPNext

ERPNext allows you to merge duplicate accounts into a single account. This is useful when multiple accounts have been created for the same purpose and you want to consolidate all transactions under one account without losing historical data.

Merging accounts automatically updates all existing transactions to reference the merged account, eliminating duplicate ledger records while preserving accounting history.

To access the Chart of Accounts:

Accounts > Documents > Chart of Accounts

1. When Should You Merge Accounts?

Merging accounts is useful when:

  • Duplicate accounts have been created accidentally.
  • Old accounts need to be consolidated into a single account.
  • You want to simplify the Chart of Accounts.
  • Historical transactions should remain intact while using one account going forward.

Account merging preserves all historical accounting transactions while replacing references to the old account with the selected account.

2. How to Merge Accounts

Follow these steps to merge two accounts.

  1. Open Chart of Accounts.
  2. Select the account you want to merge.
  3. Click Edit.
  4. Click Merge Account.
  5. Enter the name of the destination account.
  6. Confirm the merge operation.

3. Step-by-Step Process

Step 1: Open Chart of Accounts

Navigate to:

Accounts > Documents > Chart of Accounts

This page displays all ledger and group accounts configured for your company.

Step 2: Open the Account

Click the account you want to merge into another account.

Then click the Edit button.

Step 3: Click “Merge Account”

At the top of the document, click the Merge Account button.

Enter the name of the account that should remain after the merge.

ERPNext will ask for confirmation before completing the process.

Always choose the account that should remain active as the destination account before confirming the merge.

4. What Happens After Merging?

Once the merge is completed, ERPNext automatically:

  • Transfers all references from the old account to the destination account.
  • Updates historical accounting transactions.
  • Removes the duplicate account.
  • Preserves the integrity of financial records.

This means reports such as:

  • General Ledger
  • Trial Balance
  • Balance Sheet
  • Profit and Loss Statement

will now display transactions under the merged account.

5. Restrictions

ERPNext enforces the following rule during account merging:

  • A Group Account cannot be merged into a Child (Ledger) Account.
  • A Child (Ledger) Account cannot be merged into a Group Account.

Only accounts of the same type can be merged.

Ensure both accounts belong to the same account type before attempting a merge.

6. Best Practices

  • Review both accounts before merging.
  • Verify that the destination account is the correct long-term account.
  • Take a database backup before performing merges in production.
  • Inform your accounting team, as merged accounts cannot be easily separated later.

7. Benefits of Merging Accounts

  • Removes duplicate accounts.
  • Keeps the Chart of Accounts clean and organized.
  • Maintains complete accounting history.
  • Automatically updates existing transactions.
  • Improves reporting accuracy.
  • Reduces confusion during bookkeeping.

8. Related Topics

Rating: 0 / 5 (0 votes)