About deferred revenue and expense
Deferred accounting separates the date of an invoice from the period in which you earn the income or use up the expense. ERPNext first posts the invoice amount to a Balance Sheet account. Then it moves a share to income or expense in each period of the service.
Use it for services that cover more than one period: annual support contracts, warranties, subscriptions, hosting, prepaid insurance, or rent paid in advance. Do not use it only because an invoice will be paid later. Payment terms change when cash is due. Deferred accounting changes when income or expense is recognized.
How it works
| Flow | When you submit the invoice | In each service period |
|---|---|---|
| Deferred revenue | Credit a deferred revenue account (a liability) instead of the income account | Debit deferred revenue, credit income |
| Deferred expense | Debit a deferred expense account (an asset) instead of the expense account | Debit expense, credit deferred expense |
Example: you invoice 1,200 for a 12-month warranty. The invoice credits the deferred revenue account with 1,200. Each month, ERPNext moves about 100 to service income. After 12 months, the deferred balance is zero.
Taxes on the invoice follow their own accounts. Deferred accounting defers only the Item amount.
What controls it
| Where | Setting | Effect |
|---|---|---|
| Item, Accounting tab | Enable Deferred Revenue with No of Months (Revenue); Enable Deferred Expense with No of Months (Expense) | Marks the Item for deferral, with a default service length |
| Item Defaults row of the Item | Deferred Revenue Account, Deferred Expense Account | The default deferred account for the company |
| Company, Accounts tab | Default Deferred Revenue Account, Default Deferred Expense Account | The fallback deferred accounts |
| Invoice Item row | Service Start Date, Service End Date, Service Stop Date, and the deferred account | The actual service period of the row |
| Accounts Settings, Deferred Accounting Settings | Book Deferred entries based on | Days or Months (see below) |
| Accounts Settings | Automatically process deferred Accounting entry | A monthly job posts the entries for the previous month |
| Accounts Settings | Book deferred entries via Journal Entry, Submit Journal entries | Post as Journal Entries instead of direct GL entries, and submit them or leave them in draft |
Days or months
- Days spreads the amount by the number of service days in each month. For 12,000 over a year, a 30-day month gets about 986.30 and a 31-day month about 1,019.17.
- Months books the same amount for each full month, 1,000 in the example, and prorates a part month.
The total over the whole service period is the same. Choose one basis and keep it.
Direct entries or Journal Entries
By default, ERPNext posts the recognition directly to the General Ledger. With Book deferred entries via Journal Entry, it creates Journal Entries that you can review. If Submit Journal entries is off, they stay in draft and do not affect the ledger until someone submits them.
Deferred accounting compared to advances
An advance is money received or paid before an invoice. Deferred revenue or expense is an invoiced amount that is not yet earned or used up. They are separate: an invoice can be fully paid and still have a deferred balance.
Fixed assets use the Assets module and depreciation, not deferred expense.
Check the result
- Run the Deferred Revenue and Expense report for invoiced, recognized, and pending amounts.
- Open the General Ledger for the deferred account and the income or expense account.
The deferred balance goes down by the same amount as the income or expense goes up.
You cannot use Repost Accounting Ledger on an invoice with deferred rows. To correct the invoice, cancel and amend it.