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:

RecordWhat it tells you
Source documentThe business event: party, items, taxes, amounts, and dates
GL EntryOne debit or credit on one account, with the party, cost center, project, and other dimensions
Payment Ledger EntryHow 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 ​

AreaWhat you do there
Company books and setupFiscal years, chart of accounts, company default accounts, Accounts Settings
Sales and receivablesBill customers with a Sales Invoice, issue a Credit Note, follow up with Dunning, track receivables
Purchases and payablesRecord supplier bills with a Purchase Invoice and a Debit Note
Payments and bankingReceive and pay with a Payment Entry, match payments with Payment Reconciliation, match bank statements with Bank Reconciliation
TaxesSales and purchase tax templates, Tax Rules, Item Tax Templates, and tax withholding
Journals and adjustmentsAccruals, provisions, transfers, and corrections with a Journal Entry
Cost controlCost centers, accounting dimensions, and budgets
Currencies and group companiesMulti-currency accounting, exchange rate revaluation, and inter-company journal entries
Recognition over timeDeferred revenue and deferred expense
Closing and controlPeriod Closing Voucher, Accounting Period, frozen dates, and the immutable ledger
ReportsGeneral 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:

  1. Learn the basics: debit and credit and how transactions post to the ledger.
  2. Choose an accounting workflow for each line of business.
  3. Work through the accounting setup checklist: fiscal year, chart of accounts, default accounts, taxes, payment terms, cost centers, and bank accounts.
  4. Plan the migration and enter opening balances and open invoices.
  5. 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.
  6. Decide who closes each period, and set frozen dates and accounting periods.