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 ​

FlowWhen you submit the invoiceIn each service period
Deferred revenueCredit a deferred revenue account (a liability) instead of the income accountDebit deferred revenue, credit income
Deferred expenseDebit a deferred expense account (an asset) instead of the expense accountDebit 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 ​

WhereSettingEffect
Item, Accounting tabEnable 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 ItemDeferred Revenue Account, Deferred Expense AccountThe default deferred account for the company
Company, Accounts tabDefault Deferred Revenue Account, Default Deferred Expense AccountThe fallback deferred accounts
Invoice Item rowService Start Date, Service End Date, Service Stop Date, and the deferred accountThe actual service period of the row
Accounts Settings, Deferred Accounting SettingsBook Deferred entries based onDays or Months (see below)
Accounts SettingsAutomatically process deferred Accounting entryA monthly job posts the entries for the previous month
Accounts SettingsBook deferred entries via Journal Entry, Submit Journal entriesPost 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 ​

  1. Run the Deferred Revenue and Expense report for invoiced, recognized, and pending amounts.
  2. 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.