/settings/erp/finance/payroll-components
The old link /payroll/setup/components still works and redirects here.
📷 Screenshot: the Salary Components list with the “New Component” button — to be added.
Multi-business: components belong to the selected business. Check the business switcher before creating one.
Earnings, deductions and statutory items
A component’s Type is either
Earning or Deduction. Marking it Statutory on top of that tells the system the figure is owed to / withheld for the government and must be computed, not typed in.
Creating a component
From the list, choose New Component. The form (the Salary Component modal) has these fields:
Choose Create (or Save changes when editing). Click any row in the list to edit it.
Flat amount vs formula
A non-statutory component can carry either a flat amount or a formula — never both. The flat amount is an optional default; in practice the real per-employee figure is usually set on the structure or assignment (see Salary structures). Turn on Calculate from a formula when the amount depends on other values.Component codes used in formulas
Formulas refer to other values by code. The built-in codes are:
You can also reference any other non-statutory component by its abbreviation — for example
BASIC * 0.4 or HRA + TRANSPORT. Formulas support arithmetic (+ - * / %), comparisons, &&/||/!, the ternary condition ? a : b, and the functions min, max, abs, round, floor, ceil. They cannot reference statutory components (those are computed afterwards).
Statutory components are computed, not entered
This is the most important rule on the page. When Statutory is on, the system rejects any attempt to give the component a fixed amount, a formula, a “calculate from formula” flag, or a condition. You declare only the kind (PAYE, NSSF, LST), and the actual figure is produced at run time by the statutory engine using:- the income-tax slabs in effect for the period (for PAYE — see Income-tax slabs), and
- the configured NSSF / LST rates for the business.
Once a component is created as statutory you cannot later change its kind or turn it back into an ordinary component — set it inactive instead.
Editing and removing
- Edit: click a row. Most fields can be changed; the statutory kind is locked after creation.
- Delete: a component can only be deleted if no active salary structure still references it, and statutory components can’t be deleted at all. The clean way to retire a component is to switch Active off — it then stays in history but is skipped on new runs.
Permissions
Behind the scenes — the accounting
Each component can be mapped to a GL account per business (the account it debits or credits when payroll posts). Earnings debit a salary/expense account; deductions credit a liability or asset account; statutory items credit their dedicated payable. If a component has no explicit mapping, the run falls back to a blanket payroll-expenses account (for earnings) or salary-payable (for deductions). The full posting is shown on Running payroll → Behind the scenes.Related
- Salary structures — combine components into a pay template
- Income-tax slabs — the PAYE bands behind statutory PAYE
- Running payroll — where components are evaluated and posted
- Payroll overview — how the whole chain fits together