Set up the chart of accounts
The chart of accounts is the list of accounts that a company posts to. ERPNext arranges it as a tree under five root types, so that each posting lands in the right place on the Balance Sheet and the Profit and Loss report. Each company has its own chart.
A good chart is detailed enough to answer management questions, and small enough to reconcile. Use cost centers and accounting dimensions for analysis by department, branch, or product line, instead of more accounts.
How the tree works
| Root type | What it holds | Report |
|---|---|---|
| Asset | What the company owns or controls | Balance Sheet |
| Liability | What the company owes | Balance Sheet |
| Equity | The owners' interest and retained earnings | Balance Sheet |
| Income | Revenue and other income | Profit and Loss |
| Expense | Costs | Profit and Loss |
- A group account (Is Group selected) organizes the tree. It cannot receive postings.
- A ledger account is a leaf of the tree. Documents post to ledger accounts.
- The Account Type marks a special purpose, such as Bank, Cash, Receivable, Payable, Tax, Stock, Fixed Asset, or Cost of Goods Sold. ERPNext uses it to filter account fields on documents and to apply behavior. It is not the same as the root type.
Choose the starting chart
When you create a company, select Create Chart Of Accounts Based On on the Accounts tab of the company:
- Standard Template: a chart for your country, or a standard chart.
- Existing Company: a copy of another company's chart.
To load your own chart from a spreadsheet, use the Chart of Accounts Importer before you post any document.
Open the chart
Open the Chart of Accounts and select the company. The tree shows the balance of each account when Show balances in Chart of Accounts is selected in Accounts Settings.
Add an account
- In the tree, select the parent group.
- Select Add Child.
- Enter the Account Name. Enter the Account Number if you use numbers.
- Select Is Group only if the account will hold child accounts.
- Select the Account Type if the account has a special purpose.
- For a ledger account in a foreign currency, select the Currency. You cannot change it after the account has postings.
- Save.
ERPNext takes the Root Type and Report Type from the parent.
Edit an account
| Task | How |
|---|---|
| Rename or renumber | Open the account and select Actions > Update Account Name / Number. |
| Move under another group | Change the Parent Account. See Change the parent account. |
| Combine two duplicate accounts | Select Actions > Merge Account. See Merge accounts. |
| Stop new postings | Set Frozen to Yes. See Freeze an account. |
| Hide an unused account | Select Disable. Disable an account with postings instead of deleting it. |
| Change group to ledger, or ledger to group | Select Convert to Non-Group or Convert to Group. A group with child accounts, or a ledger with postings, cannot be converted. |
Design guidelines
- Do not create one receivable or payable account for each customer or supplier. ERPNext keeps party balances inside the control account. See Set receivable and payable accounts.
- Finalize the structure before you import opening balances.
- Map each account of the old system to a new account, and test the financial statements.
Check the chart
- Create a draft Sales Invoice, Purchase Invoice, Payment Entry, and Journal Entry. Check that each account field offers the expected accounts.
- Post one test document of each kind. Check the General Ledger, the Balance Sheet, and the Profit and Loss report.
Troubleshooting
An account is missing from a document field
Check the account's company, account type, root type, and Disable status, and whether it is a group.
An account cannot be deleted
It has child accounts, postings, or it is used as a default. Replace the defaults, then disable the account.