Set company default accounts ​

Company default accounts are the fallback accounts that ERPNext uses when an Item, a party, a warehouse, a mode of payment, or a document row does not give a more specific account. Defaults save typing and keep similar documents on the same accounts.

ERPNext uses the most specific value that it finds, and then falls back to the company. For example, a customer-specific receivable account wins over the company's Default Receivable Account.

Prerequisites ​

Set the main default accounts ​

  1. Open the Company and go to the Accounts tab.
  2. In Default Accounts, set the fields that apply to you:
FieldUsed for
Default Bank AccountBank payments and receipts when no other account is selected
Default Cash AccountCash payments and receipts
Default Receivable AccountCustomer balances on Sales Invoices. Learn more in Set receivable and payable accounts.
Default Payable AccountSupplier balances on Purchase Invoices
Write Off AccountSmall balances written off on invoices and payments
Unrealized Profit / Loss AccountUnrealized profit on inter-company stock transfers
Default Cost of Goods Sold AccountCost of goods sold and the default expense account of Items
Default Income AccountSales income of Items
Default Payment Discount AccountEarly-payment discounts from payment terms
Default Payment Terms TemplatePayment schedule of new sales and purchase documents
Default Cost CenterCost center of income and expense rows
Default Finance BookFinance book of new documents
  1. Save.

Set the adjustment accounts ​

On the same tab, set:

SectionFieldUsed for
Exchange Gain / LossExchange Gain / Loss AccountRealized currency differences when you settle a foreign-currency invoice
Exchange Gain / LossUnrealized Exchange Gain/Loss AccountExchange rate revaluation of open foreign-currency balances
Round OffRound Off AccountSmall differences caused by currency precision
Round OffRound Off Cost CenterCost center of the rounding entry
Round OffRound Off for OpeningRounding differences on opening entries

Set the defaults for other features ​

Fill a section only when you use the feature:

  • Deferred Accounting: Default Deferred Revenue Account and Default Deferred Expense Account. See About deferred revenue and expense.
  • Advance Payments: Book Advance Payments in Separate Party Account, with Default Advance Received Account and Default Advance Paid Account.
  • Exchange Rate Revaluation Settings: create revaluations automatically.
  • Budget Detail: Exception Budget Approver Role. See Create a budget.
  • Fixed Asset Defaults: depreciation, disposal, and capital work in progress accounts.

Stock accounts, such as Default Inventory Account and Stock Received But Not Billed, are on the Stock and Manufacturing tab. The freeze date is on the Accounts Closing tab. See Freeze accounting entries.

Which default wins ​

A value on the document row always wins. If the row has no value, ERPNext fetches it from the most specific master, and uses the company default last:

AccountMore specific sources
Income, expense, and cost centerItem defaults, then Item Group defaults
Receivable or payableThe Default Accounts table of the customer or supplier
Bank or cash on a paymentThe mode of payment's default account for the company
StockThe warehouse account

Check the setup ​

  1. Create a draft Sales Invoice, Purchase Invoice, Payment Entry, and Journal Entry.
  2. Check the accounts and cost centers that ERPNext fetches.
  3. On the draft invoices, select Preview > Accounting Ledger to see the entries before you submit.

Troubleshooting ​

The account does not appear in the field ​

Check that the account belongs to the same company, is not a group, is not disabled, and has the correct root type or account type.

ERPNext selects a different account ​

A more specific default wins. Check the Item, Item Group, party, warehouse, mode of payment, and the document row.