Recognize prepaid costs over time ​

Use deferred expense when a supplier invoices a service in advance, for example a one-year software subscription, insurance, or rent. ERPNext posts the invoice amount to a deferred expense account (an asset), then moves a share to expense in each period of the service.

Example: a supplier invoices 1,200 for a one-year plan, without tax.

EventDebitCredit
Submit the Purchase InvoicePrepaid Expenses 1,200Creditors 1,200
Each monthSoftware Subscription ExpensesPrepaid Expenses
Pay the supplierCreditors 1,200Bank 1,200

Learn how it works in About deferred revenue and expense.

Prerequisites ​

  • A deferred expense account (an asset, usually under current assets) and the final expense account exist.
  • The service Item is a non-stock Item. Do not use deferred expense for stock or fixed assets.
  • The Deferred Accounting Settings in Accounts Settings are set.

Set up the Item ​

  1. Open the Item, and go to the Accounting tab.
  2. Select Enable Deferred Expense.
  3. Optional: enter No of Months (Expense).
  4. Optional: in Item Defaults, set the Deferred Expense Account for the company. Otherwise ERPNext uses the company's Default Deferred Expense Account.
  5. Save.

Create the invoice ​

  1. Create a Purchase Invoice and add the Item.
  2. Open the Item row. In the Deferred Expense section, check:
    • Enable Deferred Expense;
    • Deferred Expense Account;
    • Service Start Date and Service End Date.
  3. Check the Expense Head of the row. It receives the recognized expense.
  4. Submit. ERPNext debits the deferred expense account instead of the expense account.

Recognize the expense ​

If Automatically process deferred Accounting entry is on, a monthly job posts the expense for the previous month. Otherwise, run Process Deferred Accounting with Type Expense.

Check the result ​

  1. Run the Deferred Revenue and Expense report.
  2. Open the General Ledger for the deferred expense account. Each period reduces it, and increases the expense account by the same amount.

The supplier payable is separate. The invoice can be paid in full while the expense is still being recognized.

Stop the service early ​

Set the Service Stop Date on the invoice row. If the invoice is wrong, cancel and amend it.

Troubleshooting ​

ProblemWhat to check
The full cost went to expenseEnable Deferred Expense, the deferred account, and the service dates on the row
No monthly entry appearsAutomatic processing, the background jobs, the date range, and draft Journal Entries
The expense posts to the wrong accountThe Expense Head of the invoice row
A balance is left after the service endsThe last processing date, the stop date, and draft Journal Entries