Opening Balance in Accounts
The opening balance is the balance that is brought forward at the beginning of an accounting period from the end of a previous accounting period or when starting out.
This also applies when starting a new Company and would like your offline balances to be updated in ERPNext.
1. Introduction
If you are a new company, you will have minimal opening balances to be imported. However, if you are migrating from a legacy accounting system like Tally or a Fox Pro based software you will have considerable data to be imported as opening balance.
We recommend that you start using ERPNext for accounting from a new financial year, but you could start midway too. To set up your accounts, you will need the following for the “day” you start using accounting in ERPNext:
1.1 Assets
- Stock assets (stock in hand).
- Fixed assets like furnitures, computers, etc.
- Accounts Receivables (AR) i.e. unpaid invoices which you have sent to your Customers.
- Current assets like bank balances, cash in hand, deposits, etc.
1.2 Liabilities
- Capital accounts like your shareholder’s (or owner’s) capital
- Current liabilities like loans, salary payables etc
- Accounts Payables(AP) i.e. unpaid invoices which your suppliers have sent you
If you were using another accounting software before, you should close financial statements in that software first. The closing balance of the accounts should be updated as an opening balance in the ERPNext. Before starting to update opening balance, ensure that your Chart of Accounts has all the Accounts required.
Opening entries can be created using the Opening Invoice Creation Tool in ERPNext.
Opening entry is only for Balance Sheet accounts and not for Profit and Loss Accounts.
2. Opening Balance of Assets
2.1 Update Fixed Assets
To import all the existing fixed assets first create the asset record and then create a Journal Entry to update the General Ledger.
Step 1. Create Asset Records
To know about Assets in detail, visit this page.
Create Asset record for each asset that your company owns which is not fully depreciated.
To create a new Asset:
- Create an Item with 'Is fixed Asset' enabled.
- Go to Assets > Assets > New.
- Enter Asset Name.
- Enter Item Code.
- Enter Location.
- Enter the Purchase Date.
- Enter Gross Amount.
- Tick Is Existing Asset.
- Save.

Step 2. Create Journal Entry to Update the Ledgers
When you create an Asset with 'Is Existing Asset' checkbox ticked, the General Ledger is not updated. You will have to update the value via a Journal Entry.
To create a new Journal Entry:
- Go to: Accounting > Masters and Accounts > Journal Entry > New.
- Enter Posting Date.
- Select the appropriate fixed asset ledgers in Account column and enter the value in Debit column.
- Select 'Temporary Opening' ledger in Account column and enter the balancing amount in Credit column.
- Set 'Is Opening' to Yes.

2.2 Update Stock Assets
Read Opening Stock to understand how to set this up
2.3 Update Accounts Receivable
Accounts Receivables is the balance amount your Customer owes you towards the Sales Invoices you have already sent to them.
You can import the accounts receivables details using the Opening Invoice Creation Tool.
After importing, Sales Invoices will be created. You can post Payment Entry against these invoices as and when you receive payment from your customer.
2.4 Update Current Assets
Before importing current assets, make sure that you have created the required ledgers under Chart of Accounts > Assets > Current Assets group.
To import details of current assets:
- Go to: Accounting > Company and Accounts > Journal Entry > New.
- Enter Posting Date.
- Select the appropriate current asset ledger in the Account column and enter the value in Debit.
- Select 'Temporary Opening' ledger in Account and enter the balancing amount in Credit.
- Set 'Is Opening' to Yes.
To know about Journal Enter in detail, visit this page.

3. Opening Balance of Liabilities
3.1 Update Capital Accounts
Before importing capital accounts, make sure that you have created the required ledgers under Chart of Accounts > Liabilities > Capital Accounts group.
To import details of capital accounts:
- Go to: Accounting > Masters and Accounts > Journal Entry > New.
- Enter Posting Date.
- Select the appropriate capital account ledgers in Account column and enter the value in Credit column.
- Select 'Temporary Opening' ledger in Account and enter the balancing amount in Debit column.
- Set 'Is Opening' to Yes.

3.2 Update Current Liabilities
Before importing current liabilities, make sure that you have created the required ledgers under Chart of Accounts > Liabilities > Current Liabilities group.
To import details of current liabilities:
- Go to: Accounting > Masters and Accounts > Journal Entry > New.
- Enter Posting Date.
- Select the appropriate current liability ledgers in the Account column and enter the value in the Credit column.
- Select 'Temporary Opening' ledger in Account and enter the balancing amount in Debit column.
- Set 'Is Opening' to Yes.

3.3 Update Accounts Payable
Accounts Payables is the balance amount you owe your Suppliers towards the invoices they have already sent you.
You can import the accounts payables details using the Opening Invoice Creation Tool.
After importing, Purchase Invoices will be created. You can post Payment Entry against these invoices as and when you make the payment.
4. Verify the Opening Balance
Once all assets and liabilities have been imported, the balance of Temporary Opening ledger should be zero.