Anatomy of a component
Calculation types
Fixed
Fixed
A flat rupee amount. Pro-rated by paid days.
PercentOfCtc
PercentOfCtc
A percentage of the employee’s monthly compensation. Typically how Basic is defined.
PercentOfBasic
PercentOfBasic
A percentage of the Basic line. House Rent Allowance and Provident Fund usually work this way. Combined with cap base, this is how PF is capped at a statutory wage.
PercentOfGross
PercentOfGross
A percentage of gross earnings.
Balancing
Balancing
Whatever is left over — the amount that makes the earnings sum to the employee’s compensation once every other earning has been computed. A “Special allowance” line typically uses this.
AttendanceOT
AttendanceOT
The overtime line. Its amount comes from the day’s shift template multipliers, weighted by whether each day’s overtime was ordinary or on a holiday or rest day.
An
AttendanceOT component’s value field is not a rate. It used to be, and is not any more. The component exists to switch overtime pay on and to supply the payslip line’s label; the rate lives on the shift template.SlabPT
SlabPT
Professional Tax, resolved from state-wise slab bands using the employee’s state, their monthly compensation, and the month.
SlabTDS
SlabTDS
Income tax deducted at source, computed from the financial year’s slab configuration for the employee’s tax regime: standard deduction, marginal slabs, rebate, cess, divided over twelve months.
A typical set
Order matters:
BASIC must evaluate before anything that is a percentage of it, and SPECIAL (the balancing line) must come last among earnings.
Editing
Changes take effect the next time a cycle calculates. They do not retroactively alter a cycle that has already been calculated — recalculate it if you want the new definition applied.Statutory data
The Professional Tax and income tax slabs behindSlabPT and SlabTDS are seeded reference data, not something you maintain in the app.