PayrollAgents in Payroll
Leave liability calculator
At month or year end, the agent works out what you owe for unused leave that employees can encash. For every employee it takes the days in leave types that allow encashment (with each policy's cap) and values them at your encashment basis from Payroll's settlement settings, for example Basic ÷ 30 per day. Each calculation is kept, so the next one shows what moved and why. On your Confirm it drafts the provision journal in Books.
Before you start
- The agent must be hired for your company, and you must be allowed to use it.
- You need View employee payroll sensitive data. To draft the journal you also need the Books permission to post journals.
- Leave types must allow encashment in their policy in People, and the encashment basis must be set in Payroll's settlement settings.
Work out the liability
- Open Agents › Catalogue › Leave liability calculator and select Run it.
- Set As on (by default the last day of last month; it can't be in the future).
- Tick Year-end basis (apply the reset’s carry-forward and encashment caps) at the year end. Days that would lapse at the reset are then left out.
- Select Work out the liability. Or pick an older one under Or open an earlier calculation.
- Read the result:
- The total, days and people.
- Notes, for example people with leave but no salary in Payroll (counted at ₹0).
- Since …: the change from the last calculation, and What moved by reason (joiners, exits, increments, leave taken, lapsed or encashed at the reset, leave credited).
- By entity and By department, when there are two or more.
- Employees, largest first: Days, Per day and Liability. Select a name to see each leave type.
- Select Explain in words for a written explanation of what moved.
Read the full guide with your flowwork account
The rest of this page has the steps, screenshots and tips. Anyone at a company that uses flowwork can read every page, and ask the Help assistant about it.
Every step, in order Real screenshots The agents that help
New companies use flowwork free until 31 December 2026