Back to Playbook
Act 2: Setting Up the Kingdom

11. Money Setup (Salary, Tax, Contributions)

Story

With attendance and employee structures now configured, Sarah moves on to setting up salary structures, tax rules, and statutory contributions so payroll calculations remain accurate and compliant.

She carefully defines payroll components and deduction policies because even small mistakes could affect employee trust, compliance reporting, taxes, employer liabilities, and monthly payroll accuracy across the organization.

Happy Path

Salary structures, tax policies, and contribution rules are configured successfully so payroll calculations can run accurately and consistently across the organization.

  • Open Payroll > Configuration > Salary Structure and create one per employee: pick the Employee Name, the Currency, and Effective From (and optionally Effective To)
  • Add components with Add Component. Each has a Label, a Type (Basic, Allowance, Deduction, Bonus, Tax or Provident Fund) and a Calculation Type: Fixed (type the Amount) or Percentage (pick the Base Component and the Percentage Value). At least one Basic component is required. "Counts as legal wage" marks the part the law counts as wage
  • A salary structure is the one place pay is set for a period. When pay changes, add a new structure that starts when the change starts; a month that holds both is split by calendar days
  • Open Payroll > Configuration > Compliance & Fiscal Settings. It has three tabs: Tax Rules, Statutory and Fiscal Years
  • Tax Rules: add a rule with Jurisdiction, Year, Start Month and Method (Slab-based or Flat rate). A slab-based rule gets its slabs in a table, one tab per taxpayer category (General, Female, Senior, Disabled) with the columns Min, Max, Rate and Fixed and an Add Row button. The first slab must start at 0, each slab must start where the last one ended, and the top slab has no maximum
  • Statutory: add a contribution with Name, Basis (Gross Salary or Basic Salary), Employee Rate and Employer Rate. There is no cap field. Contributions the payroll pack already calculates by itself (for example the country's built-in ones) cannot be added by hand
  • Set the worker-law numbers on the payroll policy. The law is the default: worker day ÷ 30, overtime hour ÷ 208, overtime minimum 2 times, half substitute day at 50% of the off half, substitute day use-by 3 working days, streak warning at 10 days, and a festival half day counts whole. Go past the law line and an amber note appears; nothing is refused
  • Two-person approval is a switch on the payroll policy. On, an HR Manager can create a run and Process only calculates it; the run then shows Waiting for approval and an approver approves it (or sends it back to Draft). Off, Process is also the approval, so only approvers see it

What One Day Is Worth

Before Sarah touches any deduction rule, she sets two numbers on the payroll policy: standard hours per day, and standard days per month. The second one is the one people misread. It is not a count of the month — it is a divisor, saying how many working days one month's salary is treated as buying. Twenty-six is the usual answer: roughly thirty days less a rest day each week.

Salary is monthly and flat, so nobody earns less in February. The divisor exists only to price a single day when something has to be deducted, and holding it steady is the whole point — if it followed the calendar, one day of absence would cost more in February than in March for exactly the same behaviour.

  • Never create a separate policy for a short month. February needs nothing; the number is deliberately not the length of the month
  • The count of absent days is month-aware — the run walks the real weekends and holidays of that period, so a short month simply contains fewer working days. The count moves, the price of a day does not
  • Late deductions always divide by standard days per month. Absence and unpaid leave do too, unless the rule's basis is Calendar Days, which means a flat thirty
  • One deliberate exception: a mid-month joiner's pro-rata uses the real days in that month, so joining on the 11th costs ten twenty-eighths of salary in February and ten thirty-firsts in March

Overtime, In One Place

Sarah sets overtime up once, in the Overtime section of the payroll policy. It used to be split across this page and a separate Overtime Policy screen; that screen is gone.

Two things catch people out. There are two minimums and both apply — one gates a single day, the other gates the month's total. And with Requires Approval on, a weekly cap cannot be applied; a monthly one still is.

Moving overtime here did more than remove a screen: the old one was a single setting per company with no dates on it, so recomputing an old month used today's rates. It is effective-dated now, like everything else on a payroll policy.

  • Enable Overtime is the master switch. Off, and nothing is paid however the rest is configured
  • Requires Approval decides where the minutes come from: the approved total, or what attendance recorded
  • On a single day — the least overtime that counts, and any daily cap. Both are applied the moment attendance is saved, so a day under the minimum records no overtime at all
  • Across a period — weekly and monthly caps, applied when payroll runs
  • The rate — flat weekday, weekend and holiday multipliers, or steps that pay more the longer overtime runs. Add one step and the flat multipliers stop being used entirely; the section says so where both are visible
  • One overtime hour is the monthly basic ÷ (Standard Hours / Day × Standard Days / Month), both set near the top of the same page

Attendance Deduction Rules

Attendance records what happened; the payroll policy decides what it costs. Sarah opens the policy and finds four rules instead of a row of switches — one for each way a month can lose pay. They are grouped the way her payslips print them: Late arrivals, then Days missed, then Unpaid leave. Each rule can be turned off, given its own settings, and pointed at the whole company or at named departments. Within a group they are a list, not a sequence: each one looks at the month on its own, and the amounts are added up.

Two things are worth knowing before Sarah changes anything. A policy made before the rule list existed says its rules come from the policy's old fields — it is deducting exactly what it shows, and "Make these editable" turns that set into rules she can change one at a time without moving a single figure. And grace is not on the policy at all. It belongs to the shift, so every late rule starts from the same allowance and none of them can quietly forgive more than the shift already did. It is not subtracted from the bands either — those are counted from the shift's start time, so "2 hr" on a 9:00 shift means 11:00 and nothing else.

  • Late arrivals — by how late — part of a day's pay, based on how late the arrival was. The ranges are the Late Deduction Bands, in their own section: she sets where each band starts, it runs until the next one begins, and only the highest band an arrival reaches is charged
  • Late arrivals — when they add up — counts the arrivals no band covers. Every full set costs one day's pay, and what is left over is not charged
  • A band may charge 0, and Sarah uses one when she wants a stretch of lateness forgiven: those arrivals cost nothing and stop counting as marks. Leaving the stretch uncovered does the opposite — the arrivals still build marks, and enough marks cost a whole day
  • Absent days — one day's pay for every day missed: marked absent, no attendance at all, or half a day for each half day
  • Unpaid leave days — one day's pay for each day of approved leave that is unpaid, shown as its own payslip line
  • The two late rules never charge for the same day twice, and both land on one payslip line. Days missed and Unpaid leave get a line each
  • An absence waiver switches off Days missed for one employee for one month. It does not reach Unpaid leave
  • A day's pay is monthly pay ÷ Standard Days Per Month for both late rules, always. Absent days and unpaid leave each choose that or monthly pay ÷ 30, so the two can differ
  • A rule can be pointed at named departments instead of the whole company, and when Sarah does that it replaces the company-wide rule of the same kind for those departments rather than adding to it. Switching that department rule off exempts them entirely; it does not hand them back to the company rule. Two rules of one kind may not name the same department — there would be no way to say which applies, so the page refuses it as she saves

Benefits: Provident Fund & Gratuity

Beyond month-to-month pay, Sarah sets up the long-term benefits that follow an employee through their tenure. Provident Fund and Gratuity are configured once as policies, then accrued and tracked automatically by every payroll run.

These are not just line items — they carry balances over time, and the system reconciles them at withdrawal and at separation so the final number is never guesswork.

  • Define a PF scheme: contribution basis, employer/employee rates, vesting (immediate, cliff, or graded), and interest posting
  • Define a gratuity policy: basis, proration, and any cap
  • Each payroll run accrues PF contributions and updates the employee passbook (including the vested balance)
  • Employees view their own PF passbook and request advance or partial withdrawals, capped at their available balance
  • Admins clear withdrawal requests through an approval queue before any payout
  • At separation, accrued PF and gratuity flow into the final settlement automatically

Failure Modes

FailureWhat the user seesWhat happens next
No Basic component in the structure"At least one BASIC SalaryComponent is required in a SalaryStructure"Add a Basic component
Overlapping salary structure dates for the same employee"SalaryStructure period overlaps an existing structure for this employee"End the previous structure or adjust the dates
Effective To before Effective From"SalaryStructure effectiveTo cannot be before effectiveFrom"Fix the dates
Salary structure edited while an approved or paid payroll run uses it"Salary structure cannot be modified because it is active on an approved or paid payroll run."Send the run back (un-approve) first, or add a new structure that starts later
Payroll run created for an employee with no salary structure in that month"No active SalaryStructure was found for ... Create a salary structure before creating a payroll run."Create the structure first
Gap or overlap between tax slabs"gap or overlap between ... each slab must start exactly where the previous one ends"Adjust the Min and Max values
First slab does not start at 0, or the top slab has a maximum"the first slab must start at 0" / "the top slab must be open-ended"Fix the first or last row
A second tax rule for the same jurisdiction and year"Tax rule already exists for this company, jurisdiction, and year."Edit the existing rule
Tax rate outside 0 to 100%The save is refusedEnter a rate between 0 and 100%
Statutory contribution the payroll pack already handlesRefused: it "is calculated automatically ... and is managed by the system"Do not add it by hand

Edge Cases

ScenarioBehaviorWhy
Employee salary changes during the middle of a monthPayroll applies prorated salary calculation automaticallyEnsures accurate partial-month compensation
Payroll runs for February, a 28-day monthThe same policy applies unchanged; a day of absence costs exactly what it costs in any other monthStandard days per month is a divisor, not the length of the month — no per-month policy is ever needed
Two employees join on the 11th, one in February and one in MarchTheir pro-rata deductions differ — ten twenty-eighths against ten thirty-firstsMid-month joining is the one path priced on the month's real length
Every deduction rule on a policy is switched offNo late, absence or unpaid-leave amount is deducted at allAn empty rule set is a decision, so the older fixed fields are not consulted as a fallback
A rule is scoped to a departmentOnly employees in that department are deducted by itLets one policy carry a stricter rule for a site without a second policy
First slab has a Rate of 0That first portion of income is tax-freeSupports legal tax compliance requirements