# Merge Account

**YouTube:** [How to Merge Two Accounts into a Single Account?](https://www.youtube.com/watch?v=uOqlYaFEu1I)

## How to Merge Two Accounts into a Single Account?

In this tutorial, we will learn how to **merge duplicate ledger accounts** in **Logic ERP** without losing any transaction data.

***

### Scenario Explanation

Before starting the account merging process, let us understand the scenario from the **Sales Bill module**.

* Two sales bills have been generated.
* **Sales Bill No. 471** was mistakenly created under a **duplicate ledger account**, *ABC Traders*, instead of the correct ledger *ABC Traders Pvt Ltd*.
* As a result, ledger postings are reflected under **two separate accounts**:
  * ABC Traders
  * ABC Traders Pvt Ltd

<figure><img src="/files/U6G2iI49eL5t1QsUvva4" alt=""><figcaption></figcaption></figure>

* Each ledger currently shows its respective transaction amount, causing incorrect account reporting.

***

### Account Merging Process

Now, let us proceed with merging the duplicate account.

* Navigate to the Utilities and open **Merge Accounts** module.
* In the **Account to Merge** field:
  * Select the **duplicate ledger account** (*ABC Traders*).

<figure><img src="/files/VcQn4gXmvNaeH1plq8yf" alt=""><figcaption></figcaption></figure>

* In the **Merge Into** field:
  * Select the **correct ledger account** (*ABC Traders Private Limited*).

<figure><img src="/files/ebWMdGHjyJegtWkznYAH" alt=""><figcaption></figcaption></figure>

* After selecting both accounts, click on **Merge**.

<figure><img src="/files/7eg1FuyVMfjRHSMh8h2D" alt=""><figcaption></figcaption></figure>

The account merging process is now completed successfully.

***

### Impact on Sales Bills

Let us now review the effect of the merge on the sales bills.

* **Sales Bill No. 471** has been automatically updated.
* The ledger name is now correctly displayed as **ABC Traders Private Limited**.

<figure><img src="/files/vYtMgMmUxXcsSEj3lF2D" alt=""><figcaption></figcaption></figure>

* This confirms that the bill data has been updated correctly after merging.

***

### Impact on Ledger Report

Finally, let us check the ledger report.

* The **duplicate ledger account (ABC Traders)** no longer appears in the report.
* All transactions, including **Bill No. 471**, are now correctly reflected under:
  * **ABC Traders Private Limited**

<figure><img src="/files/HPIsS8NqrQtUs0Yzl4nG" alt=""><figcaption></figcaption></figure>

* The transaction amount remains unchanged, ensuring **no loss of financial data**.

***

### Conclusion

By using the **Merge Accounts** feature in Logic ERP, you can:

* Eliminate duplicate ledger accounts
* Correct wrongly posted transactions
* Maintain clean and accurate ledger reports
* Ensure data integrity without affecting historical transactions


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/utilities/merge-account.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
