---
title: "Opening Balance in Accounts | ERPNext Documentation"
description: "Enter ERPNext opening accounting balances without double counting invoices, payments, stock, or assets, then reconcile the opening Trial Balance."
space: "ERPNext"
url: "https://docs.frappe.io/erpnext/opening-balance"
updated: "2026-07-30"
---

Opening balances represent the company’s financial position immediately before ERPNext becomes the accounting system of record.

## Before entering balances

Complete the Chart of Accounts, company defaults, Fiscal Year, Cost Centers, parties, taxes, and opening document imports.

Obtain an approved Trial Balance and supporting schedules at the cutover date. The Trial Balance must balance before it is entered in ERPNext.

## Choose the correct import method


| Balance                           | Recommended method                                       |
| --------------------------------- | -------------------------------------------------------- |
| Outstanding Customer invoices     | Opening Invoice Creation Tool                            |
| Outstanding Supplier invoices     | Opening Invoice Creation Tool                            |
| Unallocated payments and advances | Opening Payment Entry or approved opening journal method |
| Stock quantity and value          | Stock Reconciliation with opening purpose                |
| Fixed assets                      | Asset opening records                                    |
| Other ledger balances             | Opening Journal Entry                                    |


Do not include a control-account balance in the Journal Entry if another opening document already creates it.

## Create the opening Journal Entry

1. Go to **Home &gt; Accounting &gt; General Ledger &gt; Journal Entry**.
2. Create a Journal Entry.
3. Select the Company and cutover date.
4. Set **Is Opening** to **Yes**.
5. Add one row for each residual ledger balance.
6. Enter debit or credit, not both, on each row.
7. Select party, Cost Center, Project, or Accounting Dimensions when required.
8. Add the source report and migration batch reference in **User Remark**.
9. Confirm total debit equals total credit.
10. Save, review, and submit after other opening documents are complete.

![Opening Journal Entry for a migration batch](/files/opening-journal-entry.webp)

## Use Temporary Opening

ERPNext uses a Temporary Opening account to balance opening entries while detailed balances are loaded. After all opening documents are posted, its balance should be zero unless the approved migration design explains a temporary difference.

Do not hide an unexplained difference in retained earnings, suspense, or rounding.

## Example

Assume balances not created by invoices, stock, assets, or payments are:


| Account           | Debit  | Credit |
| ----------------- | ------: | ------: |
| Prepaid Insurance | 12,000 |        |
| Security Deposit  | 5,000  |        |
| Accrued Expenses  |        | 7,000  |
| Retained Earnings |        | 10,000 |


The Journal Entry debits 17,000 and credits 17,000.

## Mid-year opening

If migrating mid-year, decide how year-to-date income and expense will appear. Importing balances into individual income and expense accounts preserves current-year Profit and Loss totals but does not reproduce transaction-level history.

Document the method and reconcile it to the source Profit and Loss Statement.

## Verify

After submission:

1. Run Trial Balance at the cutover date.
2. Compare every account with the approved source Trial Balance.
3. Run Balance Sheet and Profit and Loss Statement.
4. Verify party, bank, stock, and asset control accounts against their schedules.
5. Confirm Temporary Opening and migration-clearing accounts are zero.

## Correcting an opening balance

If the period is still open, cancel and amend the incorrect opening document or post an approved correcting opening entry. Keep the original and correction references in the migration log.

Do not edit submitted ledger rows or use reposting as a substitute for correcting the source document.

## Related topics

- [Opening Invoice Creation Tool](https://docs.frappe.io/erpnext/opening-invoice-creation-tool)
- [Journal Entry](https://docs.frappe.io/erpnext/journal-entry)
- [Stock Reconciliation](https://docs.frappe.io/erpnext/stock-reconciliation)
- [Validate and Correct the Migration](https://docs.frappe.io/erpnext/validate-and-correct-the-migration)