Payroll
Salary components and structures
Build pay from formulas you control, not fixed fields.
Open this in the appComponents
A component is one line on a payslip — Basic, HRA, a conveyance allowance, a professional tax deduction. Each has a formula and a position in the calculation order.
Formulas can reference earlier components, so HRA can be 40% of Basic without Basic being hard-coded anywhere.
The formula language is deliberately small — arithmetic, comparisons, and a set of named functions. It is not JavaScript, and nothing you type can execute code on our servers.
Proration
A component can be marked prorated or not. Prorated components are reduced for unpaid absence; a fixed reimbursement usually is not.
The per-day basis is a setting: calendar days, working days, or a fixed number such as 26. This choice changes the result, so it is stated explicitly rather than assumed.