Accounting in ERPNext
The Accounting module keeps the books of each company. You record business events with documents such as a Sales Invoice or a Payment Entry. When you submit a document, ERPNext creates the balanced ledger entries for it. You do not post most ledger entries by hand.
How the accounting model works
Each company has its own books:
- A base currency (the Default Currency of the company).
- One or more fiscal years.
- Its own chart of accounts. The chart groups accounts under five root types: Asset, Liability, Equity, Income, and Expense. Group accounts organize the tree. Ledger accounts receive the postings.
- Default accounts, such as the default receivable, payable, income, and round-off accounts.
ERPNext uses double-entry accounting: the debit total and the credit total of every posting are equal. Three records help you trace an amount:
| Record | What it tells you |
|---|---|
| Source document | The business event: party, items, taxes, amounts, and dates |
| GL Entry | One debit or credit on one account, with the party, cost center, project, and other dimensions |
| Payment Ledger Entry | How invoices, payments, advances, and credit notes are linked, and what is still outstanding |
With perpetual inventory, stock documents also create Stock Ledger Entries. Learn more in How transactions post to the ledger.
What the module covers
| Area | What you do there |
|---|---|
| Company books and setup | Fiscal years, chart of accounts, company default accounts, Accounts Settings |
| Sales and receivables | Bill customers with a Sales Invoice, issue a Credit Note, follow up with Dunning, track receivables |
| Purchases and payables | Record supplier bills with a Purchase Invoice and a Debit Note |
| Payments and banking | Receive and pay with a Payment Entry, match payments with Payment Reconciliation, match bank statements with Bank Reconciliation |
| Taxes | Sales and purchase tax templates, Tax Rules, Item Tax Templates, and tax withholding |
| Journals and adjustments | Accruals, provisions, transfers, and corrections with a Journal Entry |
| Cost control | Cost centers, accounting dimensions, and budgets |
| Currencies and group companies | Multi-currency accounting, exchange rate revaluation, and inter-company journal entries |
| Recognition over time | Deferred revenue and deferred expense |
| Closing and control | Period Closing Voucher, Accounting Period, frozen dates, and the immutable ledger |
| Reports | General Ledger, Trial Balance, Balance Sheet, Profit and Loss, Cash Flow, and Accounts Receivable and Payable. See Accounting reports |
Other modules post to the same ledger. Stock documents post inventory value and cost of goods sold. The Assets module posts capitalization and depreciation. Expense claims and payroll post employee liabilities.
Drafts, submission, and corrections
- A draft document has no effect on the ledger.
- Submitting a document posts its entries. The Posting Date decides the accounting period.
- Cancelling a submitted document reverses its entries. ERPNext keeps the original entries and the reversal, so the history stays traceable.
- To correct a submitted document, cancel it and amend it. Period controls and frozen dates can block this for closed periods.
Where to start
Follow this order when you implement ERPNext Accounting for a company:
- Learn the basics: debit and credit and how transactions post to the ledger.
- Choose an accounting workflow for each line of business.
- Work through the accounting setup checklist: fiscal year, chart of accounts, default accounts, taxes, payment terms, cost centers, and bank accounts.
- Plan the migration and enter opening balances and open invoices.
- Test one full cycle: create an invoice, submit it, open View > Accounting Ledger, record a payment, and check the General Ledger and the Accounts Receivable or Accounts Payable report.
- Decide who closes each period, and set frozen dates and accounting periods.