Create a Period Closing Voucher
A Period Closing Voucher moves the net balance of all income and expense accounts for a period to a liability or equity account, normally Retained Earnings. The Profit and Loss accounts start the next period at zero. Balance Sheet accounts carry forward.
After you submit it, ERPNext blocks all accounting entries dated on or before its Period End Date for the company.
Prerequisites
- You finished the steps in Close the accounting books: reconciliations, adjustments, and report review.
- The previous fiscal year is closed, if it has GL entries.
- The closing account has the root type Liability or Equity, and the company's currency.
- With perpetual inventory: the balance of the stock accounts matches the Stock Balance report on the end date, and a Stock Closing Entry for the company up to the end date is complete.
- You have a recent backup.
Create the voucher
- Open the Period Closing Voucher list and select Add Period Closing Voucher.
- Select the Company and the Fiscal Year.
- Check the Period Start Date. It must be the start of the fiscal year, or the day after the previous closed period of the same year.
- Enter the Period End Date, at most the end of the fiscal year.
- Select the Closing Account Head, for example Retained Earnings.
- Enter the Remarks.
- Save, check, and select Submit.
The GL Entry Processing Status shows In Progress, then Completed or Failed. Large ledgers are processed in the background. If the status is Failed, read the Error Message.
What the voucher posts
| Result of the period | Debit | Credit |
|---|---|---|
| Net profit | Income and expense accounts, for their net balance | Closing account |
| Net loss | Closing account | Income and expense accounts, for their net balance |
ERPNext closes the balances separately for each cost center and accounting dimension, so the closing entries keep the same split. It also stores the closing balance of each account, which reports use to run faster. See Ignore Account closing balance in Accounts Settings.
Close monthly or quarterly
You can close shorter periods within a fiscal year. Each new voucher starts the day after the previous one ends. Ask your accountant whether you need monthly closing: each voucher adds entries to review.
Post an adjustment after closing
ERPNext blocks entries in a closed period. To post a late adjustment there:
- Cancel the Period Closing Voucher. You can cancel only the latest voucher of the company.
- Post the adjustment.
- Create and submit a new Period Closing Voucher for the period.
Alternatively, post the adjustment in the next open period, if your accountant agrees.
Legacy and new closing process
Use legacy controller for Period Closing Voucher in Accounts Settings, Accounts Closing tab, is on by default. If you turn it off, ERPNext processes the closing in background batches, date by date, with a Process Period Closing Voucher document, and PCV Job Timeout (seconds) sets the time limit of each job. Use the new process when the legacy one times out on a large ledger.
Troubleshooting
| Message | Cause and fix |
|---|---|
| Previous Year is not closed, please close it first | The previous fiscal year has GL entries and no voucher. Close it first. |
| Period Start Date must be ... | Use the date shown: the year start, or the day after the last closed period. |
| Closing Account ... must be of type Liability / Equity | Select a liability or equity account. |
| Stock Value Mismatch | The stock accounts and the Stock Balance report differ on the end date. Use the Stock Ledger Variance report to fix the difference. |
| Stock Closing Entry Required, In Progress, or Outdated | Create the Stock Closing Entry up to the end date, wait until it is complete, or regenerate it after later stock changes. |
| You cannot cancel this document because another Period Closing Entry exists after ... | Cancel the later voucher first. |
| Books have been closed till the period ending on ... | You are posting a document in a closed period. See "Post an adjustment after closing". |
The closing amount is not what you expected
Run the Profit and Loss report with the same company, dates, finance book, and dimensions. Look for missing adjustments and unusual accounts.