Skip to main content

Salary components and pay structures

Salary components​

A salary component is one line of pay, such as Basic, HRA or Professional Tax. Create them in Payroll configuration → Salary components, or select Add from library to pick standard ones.

FieldWhat it does
CodeShort code, also used in formulas, for example BASIC.
NameThe name on payslips.
CategoryEarning, deduction, employer contribution and so on.
Component typeHow it behaves, for example fixed or variable.
FrequencyHow often it's paid.
StatutoryWhether it's a statutory component such as PF or ESI.
Sort orderOrder on payslips.

Pay structures​

A pay structure turns an employee's salary into monthly component amounts. Create one in Payroll configuration → Pay structure → Add Pay Structure.

FieldWhat it does
Structure nameIdentifies the structure.
Policy, country, CurrencyInherited from the payroll policy. Override only if this structure needs different values.
Salary entered asHow salaries on this structure are entered: Gross Salary, Total Package (called CTC in India), or Any (chosen on each revision). Formulas are checked against it.
Statutory setupUses its own PF, ESI, PT and LWF rows where it has them, otherwise the Default rows.

Components and value types​

Add components with Add earnings, Add deductions and Add statutory, or Bulk add. For each, choose a Value type:

Value typeAmount is…
FixedA fixed monthly amount.
PercentageA percentage of Basic (default), Gross salary or Total package.
FormulaCalculated from a formula.
BalanceTakes whatever is left of the salary after the other components. Only one per structure.
StatutoryFrom the PF / ESI / PT setup for the employee. Nothing to enter; it's calculated once, so it isn't counted twice.

Other settings per component:

SettingWhat it does
Calc. priorityThe order components are calculated in. Components used in formulas must be calculated first.
Can be changed per employeeThe amount can be overridden on a salary revision.

Formulas​

The formula editor checks a formula as you type. Click a component or function to insert it, and use Try it with sample values to test.

ValueMeaning
SALARYThe salary amount entered on the revision.
GROSSGross pay; only when the salary is entered as gross.
PACKAGETotal package (gross pay plus employer contributions); only when the salary is entered as Total Package.
CTCSame as PACKAGE. Older formulas that use it keep working.
Component codesThe amount of another component, for example BASIC.
FunctionExample
MIN(a, b) / MAX(a, b)MIN(BASIC * 0.1, 1250)
IF(condition, then, else)IF(BASIC > 15000, 1800, BASIC * 0.12)
ROUND(value, decimals)ROUND(BASIC * 0.4, 0)
FLOOR(value) / CEIL(value) / ABS(value)FLOOR(GROSS / 26)

Worked example​

Structure entered as Gross. Annual gross 4,80,000, so 40,000 a month.

ComponentValue typeSettingMonthly amount
BasicPercentage50% of Gross salary20,000
HRAPercentage40% of Basic8,000
ConveyanceFixed1,6001,600
MedicalFormulaMIN(BASIC * 0.1, 1250)1,250
Special allowanceBalance—40,000 − 30,850 = 9,150
PF (employee)StatutoryFrom PF setupCalculated in the run