Every January 1, each employee's incapacity balance resets to a fresh allotment for the new calendar year. CifraHQ automates this via a Hangfire background job.
On January 1, the AnnualResetJob runs for every tenant:
The prior year's balance is retained as a historical record (not deleted).
If a tenant enables the Incapacity module mid-year, or if a new employee is hired after January 1, the balance row may not exist yet. Use the Ensure Current Year button on Payroll > Incapacity > Balances to create missing balance rows for the current year for all active Employees.
The button calls api/IncapacityBalance/EnsureCurrentYear and creates a row with the full annual allotment (18 days). It does not prorate for partial-year hires - see below.
By default, CifraHQ gives new hires the full annual allotment (18 days) regardless of their hire date. Panama law does not mandate proration of the sick-leave allotment for partial years - the 18-day minimum applies from the first day of employment.
If your company policy prorates the allotment (e.g., 1.5 days per month hired), you can adjust the individual employee's balance row manually via the API or by contacting support for a batch adjustment script.
The Balances grid at Payroll > Incapacity > Balances shows the current year's balance for each employee by default. To view prior years, filter by year using the grid's column filter on the Year field.
Prior-year balances are read-only - they reflect the actual consumption as of December 31 of that year.
A certificate with StartDate in December and EndDate in January is automatically split at the year boundary:
If the new year balance does not exist yet when the certificate is submitted (e.g., the reset job has not run), the system uses the prior year balance for all days and corrects at reset time.
/{tenant}.CifraHQ.cloud/hangfire.IncapacityAnnualReset.If the job failed (rare - usually a DB connectivity issue at midnight), you can trigger it manually via the Hangfire dashboard's Trigger button, or use the Ensure Current Year button in the UI.
Related: Overview - Policy Setup - Certificate Intake - Payday Split
Was this page helpful?