Workyla HRM
All modules

Salary & Payroll

Everything to do with what people are paid — pay structures, monthly payroll, loans, provident fund, gratuity, tax, increments, and pay reports.

Overview

Salary & Payroll is where a company defines what each role or person costs (Cost to Company), turns that into an actual monthly pay structure, and runs payroll every month based on attendance, leave, loans, and any one-off payments.

It covers the legal side of pay under Pakistan's rules — income tax by tax year, provident fund, gratuity by province, and tax certificates — as well as day-to-day needs like salary advances, emergency loans, overtime and holiday work, leave encashment, and bonus or commission payments.

Pay raises go through a dedicated Increments area with its own eligibility rules, approval chains, and letters. Sensitive actions — approving payroll, approving loans, approving raises — go through configurable approval chains rather than one person acting alone, and every employee can see their own payslips, provident fund, and gratuity records without seeing anyone else's.

Who uses it

  • HR Admins: Set up pay structures and components, configure tax, provident fund, gratuity and day-basis rules, review overtime and holiday work, run and approve monthly payroll, issue payslips, create and manage loans, run reports, and configure approval chains and increment policies.
  • Managers: May be asked to approve a step in a payroll, loan, variable pay, or increment approval chain if the company's approval settings name their role. They don't manage pay structures themselves unless specifically given that access.
  • Employees: View their own payslips (including how the tax on each was worked out), cost-to-company breakdown, provident fund balance, interest and withdrawals, gratuity statement, loan balances, leave encashment history, and increment history. They can request loans, but cannot see anyone else's pay figures unless specifically permitted. Leave is encashed automatically — at year end (where the leave rules say so) and in the exit settlement — so there is nothing to request.

What you can do here

Setting up pay structures

  • Define the company's Cost to Company (CTC) envelope: cash paid to the employee, non-cash benefits the company buys for them, and statutory employer costs that never reach the employee as pay.
  • Set up flexible benefits employees can elect within limits (a minimum, a maximum, or a percentage cap of total pay).
  • Build the catalog of pay components (earnings and deductions), marking each as a fixed amount or a percentage.
  • Assign each active employee their actual monthly pay structure — basic salary plus chosen allowances and deductions — with an effective date, so pay changes are tracked over time rather than overwritten.
  • Configure the “Day Basis” — the divisor used to turn a monthly salary into a daily rate (a fixed number of days, actual calendar days, actual working days excluding holidays, or a custom number for an exceptional month).

Running payroll

  • Generate a draft payroll run for a chosen month, automatically pulling in attendance, leave, late arrivals, loan installments, provident fund, gratuity accrual, and any approved bonuses or leave payouts.
  • After generating, read the list of warnings and of anyone left out of the run, with the reason for each.
  • Review and, if needed, recalculate individual employee lines before approving. A line is flagged when something it was built from changes after the draft was made: salary, leave, attendance or approved overtime.
  • Open any employee's payslip to see how their tax was worked out, in plain words.
  • Send the run through an approval chain (single step or multiple named steps), then mark it as paid once approved.
  • Release an off-cycle “Advance” payroll for a future or exceptional payment outside the regular monthly cycle.
  • Generate and distribute payslips once a run is approved and paid, viewable by each employee and downloadable.

Overtime and holiday work

  • Attendance records the hours, and nothing is paid until HR decides, under Salary › Overtime & Holiday Work.
  • For each day, HR approves the hours and chooses Not paid, Paid or, for holiday work only, Comp-off (days off in return).
  • On Paid, the screen shows the hours, hourly rate, multiplier and calculated amount. HR can change the amount, but must give a reason. The approved amount joins the next payroll as a taxable payment.
  • Hourly pay is monthly pay divided by the days in the Day Basis, then by the hours in the employee's shift. Each organization sets its own multipliers under Settings › Salary & Payroll › Pay Rules.
  • Days already paid through an approved overtime request don't appear, so the same hours can't be paid twice.

Loans and advances

  • Define loan types (salary advance, emergency loan, general loan) with rules: maximum amount, minimum/maximum repayment installments, minimum months of service, a cooldown before another loan of the same type, and a cap on how much of someone's take-home pay all their loans together may consume.
  • Mark a loan type as creating a taxable benefit, so the interest saved on it is taxed as pay, or as paid from the provident fund, so the money comes out of the employee's own fund and repayments go back in.
  • Issue a loan with eligibility automatically checked against those rules.
  • Loans are deducted from payroll each month as an installment automatically; once a loan is paid, repaid manually, or already included in a payroll run, only its closing, remaining installment, or notes can still change.
  • Close a loan as written off, settled outside payroll, or cancelled — a record is kept rather than deleted.
  • When an employee leaves, outstanding loans marked to settle on exit are automatically recovered from the final settlement.

Statutory items

  • Provident fund: choose whether the fund is recognised or unrecognised, which decides how it is taxed. Payroll with a provident fund waits until this is chosen. A recognised fund must use a fixed percentage of salary, the same for everyone, with the company's rate no higher than the employee's. An unrecognised fund can also have wage limits and individual terms.
  • Provident fund contributions can be based on basic pay, gross pay, basic plus allowances you choose, or (unrecognised funds only) take-home pay.
  • Provident fund balance: each balance keeps four parts apart: the employee's contributions, the company's contributions, and the interest on each. Yearly interest is worked out as a draft and reaches balances only when HR approves it. HR can also record partial withdrawals and transfers, with a preview of the tax, and the company pays the fund out at exit in the final settlement.
  • If the tax authority withdraws recognition, saving that date recalculates tax for past years as if the fund was never recognised, takes it from each employee's fund, and tells them.
  • Gratuity: choose your province, which fills in its starting rules, and change any of them. Your organization must choose how many days count as a month; there is no default, because the law doesn't fix one. Gratuity stops accruing until the province and this number are set and the settings saved. Punjab follows the Labour Code 2026, including its limits for higher earners.
  • Gratuity uses the law's rules for workers in a covered establishment, and the company's own policy for everyone else. The reason someone left, chosen on the exit case, decides whether gratuity is paid, and settlement approval waits for it. What is free of tax depends on the type of scheme.
  • Tax: the tax year runs July to June, and each organization enters its own slabs and limits for each tax year. Regular pay is treated as twelve months of income, and its tax is shared evenly across the year. One-off payments are taxed only on the extra tax they cause, in the month they are paid. Unpaid leave lowers that month's tax. Medical allowance can be free of tax up to a limit, and car, housing and other benefits entered on the employee's salary screen are added to taxable pay.
  • Tax filing: generate year-end tax certificates, an employer tax return summary, and monthly remittance summaries (tax and provident fund) for filing.
  • Leave encashment: which leave types pay out, how many days and the minimum balance to keep are set per type in Settings › Leave Rules; Salary keeps the rate basis and the day divisor. Leave encashment is always taxed as income. Unused leave is paid only at year end (as an earning in the first payroll of the new leave year, after HR's 7-day review) and on exit — there are no mid-year encashment requests.

Increments

  • Create an individual pay increase for an employee — a flat amount, a percentage, or a brand-new value — the system blocks any change that would lower someone's pay.
  • Set up increment policies that run automatically on a schedule (annual, bi-annual, quarterly, or custom), based on fixed calendar dates or work anniversaries, with eligibility rules like minimum tenure, completed probation, and no other recent raise.
  • Review and adjust a generated batch of proposed raises in one worksheet, including bulk import from a spreadsheet-style file.
  • Route every increment through an approval chain that can vary by amount, percentage increase, department, or employment type; nobody can approve their own raise.
  • Generate and send formal increment letters, optionally routed through electronic signature.
  • Every employee can view their own increment and salary history; HR can view anyone's.

Reports

  • Monthly summary, department summary, and per-employee payroll reports.
  • A dedicated loans report showing balances and recoveries.
  • Cost-to-company, salary distribution, pay variance month-to-month, and a payroll cost forecast.
  • Every report can be downloaded, and payroll figures link back to the specific payroll run they came from.

Step-by-step: Running a monthly payroll cycle

  1. 1Make sure prerequisites are in place: shifts are defined for employees, a Day Basis is selected, everyone who should be paid has a salary structure set up, tax slabs are entered for the tax year, and any provident fund has its type chosen.
  2. 2From Payroll, choose Generate Payroll for the month you want to run.
  3. 3The system creates a draft with one line per active employee, factoring in attendance, leave, late arrivals, tax, loan installments, provident fund, gratuity accrual, and any approved bonuses, commissions, or leave payouts.
  4. 4Read any warnings, and the list of anyone left out and why. Review the draft. If something changed after the draft was generated, such as salary, leave, attendance or approved overtime, recalculate the flagged lines before moving on.
  5. 5Submit the run for approval — depending on configuration, it may need one sign-off or several.
  6. 6Once approved, mark the run as Paid. This finalizes the numbers and makes payslips available.
  7. 7Employees can now view and download their payslips; totals also feed into reports, tax certificates, and statutory remittance summaries for that month.

How it connects to other modules

  • Attendance and Leave Management feed payroll directly: present days, approved paid leave, unpaid leave, absences, and late arrivals all shape each employee's pay for the month.
  • Employee Lifecycle: when someone is offboarded, their final settlement automatically pulls in gratuity payout, leave encashment, the provident fund payout, and any outstanding loans to be recovered. HR chooses the reason for leaving on the exit case, because gratuity depends on it.
  • Settings & Administration > Roles & Permissions controls what someone can see or do here — including whether they can see salary amounts at all — so a company can build a narrow “Payroll Officer” role without full HR access.
  • Organization settings (weekend pattern, time zone) affect working-day counts and per-day pay calculations.
  • Increment letters can be routed through the same electronic signature capability used in Documents & e-Signatures.

Good to know

  • Nobody can see another employee's salary figures unless they specifically hold that right — a separate permission from general employee management.
  • Sensitive actions use configurable multi-step approval chains (payroll, variable pay, loans, and exit settlements each have their own); the organization's owner can always act on a stuck step so payroll never gets permanently blocked.
  • A pay raise can never lower an employee's salary, and nobody can approve their own pay raise or bonus.
  • A loan's basic terms lock once payroll has deducted from it or a manual repayment has been recorded; from then on it can still be closed or have its remaining installment adjusted, but not deleted.
  • If someone's pay and leave for a month would deduct more than they earned, the shortfall carries forward to a future month rather than putting them into negative pay.
  • Provident fund contributions behave differently for a month with unpaid leave depending on the basis: basic pay doesn't change, while gross pay and take-home pay fall with it. Only payroll marked Paid counts toward a balance.
  • Gratuity is always calculated on the full, current wage — not a part-month wage — even for someone leaving partway through their final month.
  • Tax slabs and limits belong to a tax year, so a past month is always taxed by its own year's figures. A new tax year needs its slabs entered: with none, no tax is deducted for its months.
  • A month can have only one regular payroll. An Advance for selected employees doesn't stop the regular run for everyone else, where the database has been updated to allow it; those employees are listed as already paid.