Fix the "not in any active Fiscal Year" error
ERPNext shows this error when you save or submit a document whose date is outside every enabled Fiscal Year for its company:
Posting Date 02-01-2027 is not in any active Fiscal Year for Nova IndustriesThe label (Posting Date, Date, or another date field) and the company name change with the document. The fix is to create or correct the Fiscal Year. Do not change the document date to a date that is not true.
Find the cause
ERPNext looks for a Fiscal Year that meets all of these conditions:
- The Year Start Date is on or before the document date, and the Year End Date is on or after it.
- Disabled is not selected.
- The Companies table is empty, or it lists the company of the document. A Fiscal Year with an empty Companies table applies to every company.
If no Fiscal Year meets all three conditions, ERPNext shows the error.
Create or correct the Fiscal Year
- Open the Fiscal Year list.
- Look for a Fiscal Year that covers the document date.
- If none exists, create one. Enter the Year Name, Year Start Date, and Year End Date.
- If one exists, check that Disabled is not selected.
- In the Companies table, add the company of the document, or leave the table empty so that the year applies to all companies.
- Save the Fiscal Year.
- Reload the document and submit it again.
TIP
ERPNext creates the next Fiscal Year automatically 3 days before the current one ends, with the same companies. A Fiscal Year marked Is Short/Long Year is not renewed automatically, so create the next year yourself.
Troubleshooting
The Fiscal Year exists, but the error remains
- Check that the Companies table lists the correct company. A Fiscal Year that lists only other companies does not apply.
- Check the start and end dates. The document date must be inside the range, including the first and last day.
- Reload the page. ERPNext caches Fiscal Years, and a reload makes sure that the form uses the new year.
The date belongs to an earlier, closed year
If you must post to an earlier year, check that the year is not closed. A Period Closing Voucher or an Accounts Frozen Till Date on the Company blocks new postings for those dates. Get approval before you post a backdated accounting transaction.