Defered JV belongs to Purchase Invoive

Does ERPNext’s scheduler create automatic backdated entries (JV) for deferred expenses? For example, if the invoice service start date is 1 Jan 2025 and the end date is 30 Jun 2025, and I create purchase invoice today (1 Aug 2025).

No — ERPNext’s deferred accounting will not create backdated Journal Entries automatically.

Here’s why:

  • The Deferred Expense (or Deferred Revenue) feature works by spreading the expense/revenue over the defined service period starting from the posting date forward.
  • The scheduler job (process_deferred_accounting) runs daily and looks at future recognition dates, not past ones.
  • If you post a Purchase Invoice on 1 Aug 2025 with a service start date of 1 Jan 2025, ERPNext won’t automatically go back and create JVs for Jan–Jul 2025.
  • Instead, it will:
    1. Create the first recognition entry on the next scheduler run after your posting date.
    2. Recognize the remaining deferred amount over the remaining period only.

If you want Jan–Jul to be recognized:

  • You’ll need to manually create catch-up JVs for the past months.
  • Or, adjust the deferred schedule manually in Invoice → Deferred Expense/Revenue child table before running the scheduler.

Pro tip:
If you need ERPNext to create all missed months automatically, you’d have to customize process_deferred_accounting to:

  • Detect missed periods based on service start date
  • Post backdated JVs
    But you need to be careful — backdated entries can affect closed accounting periods.

Thanks for Clarification