Part 8 — Payroll

Part 8 — Payroll

29. Payroll basics: how salary is calculated

The three salary models

1. Monthly (CTC) — office staff Salary = CTC × (Paid days ÷ Basis days). Basis days come from Salary day basis (Company Settings → Payroll).

2. Daily rate — wage workers Salary = (Days worked + Paid leave days + Paid holidays) × Daily rate. A half day counts as 0.5. Week-offs are not paid.

3. Hourly rate — part-timers Salary = (Regular hours + (Paid leave + Holidays) × Min work hours) × Hourly rate. On full days, hours are capped at Min work hours (extra hours are overtime).

What counts as Loss of Pay (LOP)?

  • Absent days (including past working days with no attendance at all).
  • Unpaid leave (e.g. LOP leave type).
  • The unworked half of a half day.
  • Days before the joining date or after the exit date.
  • Holidays, if Pay holidays = No.

Worked example 1 — Monthly employee

Priya, Accountant, CTC ₹30,000, Mon–Fri, Pune (Maharashtra). Salary day basis = Working days. The month has 22 working days; Priya was absent 2 days. Salary structure: Basic 50% of CTC, HRA 40% of Basic, Special = balance. PF and PT apply.

Item Calculation Amount (₹)
Paid days 22 − 2 20
Basic 30,000 × 50% × 20/22 13,636.36
HRA 13,636.36 × 40% 5,454.54
Special Allowance 30,000 × 20/22 − Basic − HRA 8,181.83
Gross earnings 27,272.73
PF (employee 12% of Basic) 13,636 × 12% 1,636
Professional Tax (Maharashtra, above ₹10,000) 200
ESI Not applicable (CTC above ₹21,000) 0
TDS Annual income below tax limit (new regime) 0
Net pay 27,272.73 − 1,636 − 200, rounded 25,437
Employer PF (not deducted from Priya) EPS 1,136 + EPF 500 1,636

Worked example 2 — Daily-wage worker

Suresh, Warehouse Picker, ₹800/day, Sunday off. In a 30-day month with 26 working days he worked 24 days, took 1 day paid CL, and was absent 1 day. PF, ESI and PT apply.

Item Calculation Amount (₹)
Paid days 24 worked + 1 paid leave 25
Wages 25 × 800 20,000
PF (employee) 12% of 15,000 (PF wage ceiling) 1,800
ESI (employee) 0.75% of 20,000 150
PT (Maharashtra) 200
Net pay 20,000 − 1,800 − 150 − 200 17,850
Employer PF EPS 1,250 + EPF 550 1,800
Employer ESI 3.25% of 20,000 650

Worked example 3 — Mid-month joiner

Kavya joins on 16 September with CTC ₹22,000 (Mon–Fri). September has 22 working days; she was present on all 11 working days after joining.

Paid days = 11 of 22 → Gross = 22,000 × 11/22 = ₹11,000 (Basic 5,500, HRA 2,200, Special 3,300). Days before joining are LOP automatically.

Worked example 4 — Hourly part-timer

Imran, ₹120/hour, Min work hours 4, works only weekends. He worked 9 days × 4 hours = 36 hours, plus 2 overtime hours at OT rate ₹150.

Wages = 36 × 120 = ₹4,320; OT = 2 × 150 = ₹300; Gross = ₹4,620.


30. Salary Components

What it is

Components are the lines on a payslip: Basic, HRA, Special Allowance, Overtime, PF, ESI, PT, etc. The system comes with a standard set. You can add your own (e.g. Conveyance, Mobile Allowance, Canteen Deduction).

Built-in components

Code Name Type How it is calculated
WAGES Wages Earning Attendance pay for daily/hourly staff
BASIC Basic Salary Earning % of gross (default 50%)
HRA House Rent Allowance Earning % of Basic (default 40%)
SPECIAL Special Allowance Earning Balance of CTC (monthly staff)
OT Overtime Pay Earning OT hours × rate
PF_EE / PF_ER Provident Fund Deduction / Employer Statutory
ESI_EE / ESI_ER ESI Deduction / Employer Statutory
PT Professional Tax Deduction State slabs
LWF_EE / LWF_ER Labour Welfare Fund Deduction / Employer State slabs
LOP_FINE Loss of Pay Fine Deduction Absence fines (if enabled)
EXP_REIMB Expense Reimbursement Earning Approved expense claims

Two lines are added automatically when needed: Income Tax (TDS) and Leave Encashment.

How to add a component

Sidebar → Payroll → Components → Add Component:

Field Meaning
Code / Name e.g. CONV / Conveyance Allowance
Type Earning, Deduction, or Employer contribution
Calc Type Fixed (pro-rated): amount × paid days ratio. % of gross, % of basic, % of component (choose the reference). Manual: amount entered per employee (Fixed Monthly Amounts on the employee). Plus the statutory and overtime types for built-ins.
Default Value Amount or percentage.
Sort Order Position on the payslip.
Earning counts towards (earnings only) PF wage, ESI wage, PT wage, LWF wage, Taxable (TDS), Balancing (special allowance) — only one component can be the balancer, Base wage for daily/hourly, Pro-rate by paid days, Show on payslip.

Why the "counts towards" ticks matter

They decide which earnings are used to calculate each deduction:

  • PF wage — by default only Basic (and Wages for daily staff). PF = 12% of these, capped at ₹15,000.
  • ESI wage — all earnings by default.
  • PT wage — all earnings by default (PT slab is chosen on this amount).
  • Taxable — included in income tax.

Examples

Component Settings
Conveyance ₹1,600 fixed for everyone Earning, Fixed (pro-rated), Default 1,600, ESI ✔, PT ✔, Taxable ✔, PF ✘
Mobile allowance for some staff only Earning, Manual, then enter the amount on each employee's Fixed Monthly Amounts
Canteen deduction ₹500 Deduction, Manual, enter 500 on employees who use the canteen
Performance bonus this month Earning, Manual — enter the amount on the employee before generating payroll; clear it next month

Common mistakes

Mistake Effect Fix
Ticking PF wage on HRA/Special PF becomes higher than intended. PF wage on Basic (and DA if you have it) only.
Two balancing components Only one can be balancing; saving one clears the other. Keep SPECIAL as the only balancing line.
Unticking "Show on payslip" The amount is still paid but hidden. Keep ticked unless intentional.

31. Salary Structures (CTC templates)

What it is

A salary structure is a reusable template that splits a monthly CTC into components. Create it once, assign it to many employees. Each employee's own CTC is used.

How to create

  1. Sidebar → Payroll → Salary structures → New structure.
  2. Enter a Name (e.g. "Standard Office") and a Reference Monthly CTC (only for the preview, e.g. 30,000).
  3. Add lines. Each line has a Component, a Formula and a Value:
Formula Meaning Example
Fixed amount (₹/month) Same amount every month (pro-rated by paid days if the component's Pro-rate is ticked). Conveyance 1,600
% of monthly CTC Percentage of CTC. Basic 50%
% of gross Same as % of CTC.
% of another component Percentage of another line. HRA 40% of Basic
Balancing (CTC minus the rest) Whatever is left so the total equals CTC. Special Allowance
  1. Watch the Preview column and Total (must equal the CTC).
  2. Save → "Structure saved".

Example structures — Sunrise Retail

"Standard Office" (preview at ₹30,000) Component Formula Value Preview
BASIC % of CTC 50 15,000
HRA % of component (BASIC) 40 6,000
CONV Fixed 1,600 1,600
SPECIAL Balancing — 7,400
Total 30,000
"Store Staff" (preview at ₹18,000) Component Formula Value Preview
BASIC % of CTC 60 10,800
HRA % of component (BASIC) 20 2,160
SPECIAL Balancing — 5,040

Assign to an employee

Edit employee → Salary tab → Salary Model Monthly → enter Monthly Gross Salary (CTC) → Salary Structure = "Standard Office" → Save.

If no structure is chosen, the default split is used (Basic / HRA / Special), which you can override per employee under Component Overrides.

Rules and messages

Message Meaning
"Only one balancing (special allowance) line is allowed" Keep exactly one balancing line.
"A component can appear only once in a structure" Remove the duplicate.
"A "% of component" line refers to a component that is not in this structure" Add the referenced component (e.g. BASIC) first.
"(fixed lines exceed CTC)" in red Fixed amounts are more than the CTC — reduce them.
"Structure is assigned to employees; reassign them first" You tried to delete a structure in use.

32. Statutory Settings: PF and ESI

Sidebar → Payroll → Statutory Settings. Defaults follow current Indian rules:

Setting Default
PF Employee Rate 12%
PF Employer Rate 12%
PF Wage Ceiling ₹15,000
ESI Employee Rate 0.75%
ESI Employer Rate 3.25%
ESI Gross Ceiling ₹21,000

Provident Fund (PF) — how it works

  • PF wage = earnings ticked as PF wage (normally Basic).
  • PF is calculated on at most ₹15,000 (unless "PF on actual wage" is Yes in Company Settings).
  • Employee: 12% — deducted from salary.
  • Employer: 12% — split into EPS 8.33% (max ₹1,250) and EPF (the rest). Plus EDLI 0.5% (max ₹75) and admin charges 0.5%.
  • EPS is 0 for employees aged 58 or more (based on date of birth).
  • Ticking PF exempt on the employee stops PF.
Examples Basic PF base Employee PF Employer EPS Employer EPF
₹10,000 10,000 1,200 833 367
₹15,000 15,000 1,800 1,250 550
₹25,000 (ceiling) 15,000 1,800 1,250 550
₹25,000 with "PF on actual wage" = Yes 25,000 3,000 1,250 1,750

ESI — how it works

  • Applies when the employee's monthly wage is ₹21,000 or less.
  • Employee: 0.75%. Employer: 3.25%. Amounts are rounded up to the next rupee.
  • Coverage is decided per contribution period: April–September and October–March. If an employee is covered at the start of a period, ESI continues for the whole period even if their salary rises above ₹21,000.
  • For monthly staff, coverage is checked on the full CTC (so a ₹25,000 earner with many absent days is not pulled into ESI).
  • Employees earning ₹176/day or less pay no employee share; the employer still pays.
  • Ticking ESI exempt on the employee stops ESI.

Scenario — salary increase in the middle of a period

Ravi earns ₹20,000 from October (covered). In January he gets ₹23,000.

  • January, February, March: ESI continues (same Oct–Mar period).
  • From April: ESI stops (new period, salary above ₹21,000).

Common mistakes

Mistake Fix
PF not deducted for someone Tick PF (employee) and PF (employer) under the employee's Statutory Components, and make sure PF exempt is unticked.
ESI deducted for a manager earning ₹40,000 Check whether the manager's salary was ≤ ₹21,000 at the start of the period (continuation rule). Otherwise untick ESI components.
Changing the ceiling in the middle of the year Only change when the law changes.

33. Professional Tax (PT) and Labour Welfare Fund (LWF) slabs

Professional Tax — what it is

A monthly tax charged by some states, based on salary. It differs by state and sometimes by gender and month. OfficeHRMS uses slabs you set up per work state.

How to add PT slabs

Sidebar → Payroll → PT Slabs → Add: Field Meaning
Work State e.g. Maharashtra
Min Gross / Max Gross Salary range for this slab
PT Amount Monthly PT
Applies to All employees / Female only / Male only
Frequency Monthly / Half-yearly / Yearly
Only in month(s) Blank = every month; e.g. 2 = February only

When several slabs match, the highest amount is deducted. If no slab matches, no PT is deducted.

Example — Maharashtra slabs

(Illustration based on commonly published Maharashtra rates — always confirm current rates with your accountant.)

# Min Max Amount Applies to Months
1 7,501 10,000 175 Male only (blank)
2 10,001 999999 200 Male only (blank)
3 10,001 999999 300 Male only 2
4 25,001 999999 200 Female only (blank)
5 25,001 999999 300 Female only 2
Results: Employee Monthly PT wage Most months February
Male, ₹9,000 9,000 175 175
Male, ₹20,000 20,000 200 300
Female, ₹20,000 20,000 0 (exempt) 0
Female, ₹30,000 30,000 200 300

Annual total for a male earning ₹20,000 = 11 × 200 + 300 = ₹2,500.

LWF — what it is

A small contribution (employee + employer) to the state welfare fund, usually deducted only in certain months.

How to add LWF slabs

Sidebar → Payroll → LWF Slabs → Add: Work state, Min gross, Max gross, Employee amount, Employer amount, Deduction months (e.g. 6,12 for June and December).

Example (Maharashtra, illustration): wages above ₹3,000 → Employee ₹25, Employer ₹75, months 6,12. In June and December the payslip shows LWF ₹25 deducted and ₹75 employer contribution.

Common mistakes

Mistake Fix
No PT deducted Employee has no Work State, PT isn't ticked in Statutory Components, or no slab matches.
Women charged PT below the exemption Create separate Male only and Female only slabs.
February extra amount not applied Add a slab with Only in month(s) = 2.

34. Income Tax (TDS): slabs and employee declarations

What it is

OfficeHRMS calculates monthly income-tax deduction (TDS) automatically for each employee based on:

  • Their tax regime (New or Old) and declarations.
  • The tax slabs for the financial year (April–March).
  • Projected annual income.

Tax Slabs page

Sidebar → Payroll → Tax Slabs. Ready-made for FY 2025-26 and FY 2026-27:

Regime Standard deduction Rebate (Sec 87A) Slabs
New ₹75,000 Taxable income up to ₹12,00,000 → no tax (rebate up to ₹60,000) 0–4L: 0%, 4–8L: 5%, 8–12L: 10%, 12–16L: 15%, 16–20L: 20%, 20–24L: 25%, above 24L: 30%
Old ₹50,000 Up to ₹5,00,000 → no tax (rebate up to ₹12,500) 0–2.5L: 0%, 2.5–5L: 5%, 5–10L: 20%, above 10L: 30%

Health & education cess 4% is added to tax. Marginal relief above the rebate limit is automatic.

For a new financial year: click Copy FY → copy from 2026-27 to 2027-28 → then update slabs if the Budget changes them.

How monthly TDS is calculated (simplified)

  1. Projected annual taxable salary = salary already paid this FY + this month's taxable salary × remaining months + previous employer salary.
  2. Minus standard deduction (and old-regime deductions).
  3. Tax from slabs → minus rebate → plus cess.
  4. Monthly TDS = (annual tax − TDS already deducted − previous employer TDS) ÷ remaining months.

Because it is re-calculated every month, TDS automatically adjusts for increments, bonuses and declarations made mid-year.

Worked examples (New regime)

Monthly taxable salary Annual Taxable (after ₹75,000) Annual tax Monthly TDS
₹50,000 6,00,000 5,25,000 0 (rebate) 0
₹1,06,250 12,75,000 12,00,000 0 (rebate) 0
₹1,07,000 12,84,000 12,09,000 9,000 + cess = 9,360 (marginal relief) 780
₹2,00,000 24,00,000 23,25,000 2,81,250 + cess = 2,92,500 24,375

Employee tax declaration

Employees fill this in the portal: Tax Declaration: Field Notes
FY selector Current financial year is selected by default.
Regime New (default) or Old.
80C PPF, ELSS, LIC, etc. (capped at ₹1,50,000) — old regime only.
80D Medical insurance — old regime only.
HRA rent paid / year + Metro city For HRA exemption — old regime only.
Home loan interest Capped at ₹2,00,000 — old regime only.
Other income / year Interest, rent, etc. (added to income).
Previous employer salary / TDS (this FY) For employees who joined mid-year.

Scenario — joined mid-year

Neha joins in October. Her previous employer paid ₹4,20,000 salary and deducted ₹8,000 TDS from April to September. She enters both in her declaration. OfficeHRMS includes them in her annual projection and subtracts the ₹8,000 already deducted.

Common mistakes

Mistake Fix
Employee chose Old regime but entered no deductions Usually the New regime is better without deductions. Ask the employee to review.
Declaration entered after payroll was finalized It applies from the next payroll; TDS for remaining months adjusts automatically.
New FY started but slabs not set The latest earlier FY's slabs are used. Use Copy FY at the start of each year.

35. Expense Claims

What it is

Employees submit expenses (travel, fuel, client meals) with receipts. After approval, the amount is paid with salary as "Expense Reimbursement" — not taxed and not counted for PF/ESI.

Setup — categories

Sidebar → Payroll → Categories → Add: Name (e.g. Travel, Fuel, Food, Mobile), Code (auto if blank), Sort order, Active.

How an employee submits a claim

  1. Portal → Expense Claims → New Claim.
  2. Choose Category, Expense date, Amount, Description, attach Receipt (PDF/JPG/PNG, max 5 MB).
  3. Save as Draft and later Submit, or submit directly ("Submit this claim for approval?").

How the admin approves

  1. Sidebar → Payroll → Expense Claims (filter: Submitted). The dashboard also shows "N expense claim(s) waiting for approval."
  2. Open the receipt, then Approve (optional remarks) or Reject (reason).
  3. Rejected claims go back to the employee, who can edit and resubmit.

Status flow

Draft → Submitted → Approved → Paid (or Rejected).

How payment works

When you generate payroll for a month, all approved claims whose expense date is in that month are added to the employee's payslip and marked Paid. If the payroll draft is regenerated or deleted, the claims return to Approved and are picked up again.

Example

Arjun claims ₹1,850 fuel (12 March) and ₹640 client lunch (19 March). Priya approves both on 28 March. March payroll shows "Expense Reimbursement ₹2,490" on Arjun's payslip with a table of both claims.

Common mistakes

Mistake Fix
Claim approved after the month's payroll was finalized It will not be paid automatically. Revert that month's payroll to draft, regenerate and finalize — or ask the employee to date future claims correctly. Approve claims before generating payroll.
Employee can't edit a claim Only Draft and Rejected claims can be edited.

36. Running payroll (generate, review, finalize)

What it is

The monthly process that calculates everyone's salary from attendance, leave, salary settings, statutory rules and claims.

Before you start — monthly checklist

  • [ ] All attendance corrections done (check Missing check-out alerts).
  • [ ] All leave requests approved/rejected.
  • [ ] Expense claims approved.
  • [ ] New joiners added; leavers have an Exit Date.
  • [ ] Salary changes and one-time amounts (bonus, deductions) entered on employees.

Step-by-step

  1. Sidebar → Payroll → Run Payroll.
  2. Select Month and Year → View.
  3. Click Generate Payroll for March 2027 → confirm → "Payroll generated". Status: Draft.
  4. Click View Detailed Report to review every employee: present/half/absent days, OT, gross, deductions, net pay, employer cost.
  5. Open a few payslips (View) to spot-check.
  6. Found a mistake? Fix it (attendance, leave, salary) and click Regenerate Payroll — the draft is recalculated.
  7. When everything is right: Finalize Payroll → confirm. Status: Finalized.
    • Employees can now see and download payslips.
    • Statutory exports are enabled.
    • Employee details on payslips are frozen (later edits don't change them).

After finalizing

Action When to use
Revert to Draft A mistake is found after finalizing. Payslips are hidden from employees until you finalize again.
Delete Payroll Run Start completely fresh for that month (works for draft or finalized). Claims and leave encashment return to pending.

Who is included

Employees who are Active (or have an Exit Date in or after that month), whose Joining Date is on or before the month end.

Scenarios

Situation What to do
An employee's attendance was wrong in the draft Correct attendance → Regenerate.
Mistake found after finalizing (payslips already visible) Revert to Draft → correct → Regenerate → Finalize. Tell employees to re-download.
An employee joined on the 25th and is missing Check the employee's Status is Active and Joining Date is correct, then regenerate.
Run payroll for a past month (e.g. you started using the system mid-year) Select that month and generate. Past working days with no attendance count as absent — enter attendance first.

Common mistakes

Mistake Fix
Finalizing before attendance is complete Revert → fix → regenerate → finalize.
Generating next month's payroll before this month ends Days in the future are not counted as absent, but the draft will be incomplete. Generate after the month ends (or regenerate later).
Editing an employee's bank account after finalizing The finalized payslip and bank export keep the old (frozen) details. Revert and regenerate if needed.

37. Payslips

What a payslip contains

  1. Company header — name, logo, address.
  2. Title — "Pay Slip for the Month March 2027" (a draft shows a big DRAFT banner).
  3. Employee details — name, employee ID, designation, department, PAN, UAN, ESI no., bank, account, IFSC, date of joining, work state, shift, pay basis.
  4. Attendance summary — calendar days, working days, weekly offs, holidays, days worked, paid leave, LOP days, paid days, OT hours/amount, leave taken by type.
  5. Expense claims reimbursed (if any).
  6. Earnings and deductions — Gross Pay (A), Total Deductions (B), Net Pay (A − B), and net pay in words (Indian format).
  7. Employer contributions (optional) — EPF, EPS, EDLI, PF admin, ESI, LWF.
  8. Year to date (optional) — gross, deductions, TDS, PF and net pay from April.
  9. Leave balance (optional).
  10. Footer note and signature line.

Optional sections are controlled in Company Settings → Payslip.

Where to find payslips

  • Admin: Reports → Payroll Report → choose month → View / PDF on each employee.
  • Employee: Portal → Payslips → View or PDF (only finalized months appear).

Downloading PDF

Click PDF → the payslip downloads as payslip_EMP0012_2027-03.pdf. If PDF generation fails on an old browser, use Print → "Save as PDF".

Common questions

Question Answer
Employee can't see this month's payslip Payroll is still Draft. Finalize it.
Payslip shows old designation after promotion Payslips keep details as they were when payroll was finalized. This is correct and protects history.
Remove employer contributions from payslip Company Settings → Payslip → Show employer contributions = No.

38. Statutory and bank exports

What it is

Ready-made files for the bank and government portals, generated from finalized payroll.

Sidebar → Payroll → Exports → choose month/year. The page tells you if the payroll is missing or still a draft (exports are disabled until finalized).

Export Use it for Format
Bank transfer Uploading salary payments to your bank's bulk payment portal CSV: Employee Code, Name, Bank, Account Number, IFSC, Net Pay
PF ECR (EPFO) Monthly PF return on the EPFO Unified Portal Text file in ECR 2.0 format (#~# separated): UAN, Name, Gross, EPF wages, EPS wages, EDLI wages, EE share, EPS share, ER share, NCP days, refunds
ESI contribution Monthly ESI upload on the ESIC portal CSV: IP Number, IP Name, Days paid, Wages, Reason Code (0 normal, 1 no work/leave, 2 left service), Last Working Day, EE and ER contribution
PT register Paying PT to the state; records CSV by work state with totals
LWF register LWF payment (June/December) CSV with employee/employer amounts and totals
Salary register Accounts, audit, management review CSV with every component per employee, totals and employer cost
TDS annual (FY) Preparing Form 24Q / Form 16 CSV per employee: PAN, regime, gross paid, taxable salary, TDS for each month April–March, total

Example — month-end at Sunrise Retail

  1. Finalize March payroll.
  2. Download Bank transfer → upload to the bank → approve payments.
  3. Download PF ECR → EPFO portal → ECR upload → pay challan by the 15th.
  4. Download ESI contribution → ESIC portal → monthly contribution upload → pay by the 15th.
  5. Download PT register → pay Maharashtra PT.
  6. Keep the Salary register for accounts.

Common mistakes

Problem Fix
An employee missing from the ECR file They have no UAN (or PF doesn't apply). Add the UAN, revert and regenerate the payroll, finalize, export again.
Employee name rejected by EPFO ECR uses letters only (numbers and special characters are removed). Make sure the name matches the UAN record.
Bank file missing someone Their net pay was ₹0, or their payroll isn't finalized.

39. Payroll reports

Report Where What it shows
Payroll Report Reports → Payroll Report For a month: per employee Present, Half, Absent, OT hours/amount, Expense reimbursement, Gross, Earnings, Deductions, Net Pay, Employer Cost, payslip links; a Grand Total; and a Statutory Breakdown (total PF, ESI, PT, TDS…). Works for draft runs too (with a warning). Export PDF / Excel / Print.
Employee Payroll Summary Employee portal → Reports → Payroll The employee's own year: month-wise gross, OT, earnings, deductions, net pay, YTD total, and a component breakdown per month.