Payroll
Build salary structures, run a payroll entry, and post salaries to the ledger.
Payroll runs in the Payroll workspace. You define pay once in a Salary Structure, assign it to employees with their base pay, and run one Payroll Entry per pay period.
Salary Component → Salary Structure → Salary Structure Assignment → Payroll Entry → Salary Slips → Journal EntriesSalary components
A Salary Component is one line of a payslip. Its Type is Earning, Deduction or Employer Contribution. Its Abbr is the name formulas use.
In the component's Accounts table, set the account for each company. The payroll Journal Entry posts each component to that account.
| Field | Effect |
|---|---|
| Depends on Payment Days | Prorates the amount by payment days (on by default) |
| Statistical Component | Computed for use in formulas, never paid |
| Do Not Include in Total | Left out of gross and deductions |
| Remove if Zero Valued | Drops the row from the slip when it is zero |
| Is Income Tax Component | The deduction that carries income tax |
Salary structure and formulas
A Salary Structure has a Company, Currency, Payroll Frequency (Monthly, Fortnightly, Bimonthly, Weekly, Daily) and three tables: Earnings, Deductions and Employer Contributions. Each row can have a fixed Amount or a Formula, and an optional Condition.
Formulas and conditions use Cardinal's expression language, not Python. They can read:
baseandvariablefrom the employee's assignment;- every component's Abbr, such as
Bfor Basic; gross_payin deductions and employer contributions;- the Employee's and the Salary Slip's fields, such as
employment_typeorpayment_days.
Write && and || for and and or, if c then a else b for a choice, and 0.2, not .2. Functions include min, max, round, floor, ceil and abs.
Worked example
A monthly structure "Staff 2026" for company Revaik:
| Table | Component | Abbr | Formula |
|---|---|---|---|
| Earnings | Basic | B | base * 0.4 |
| Earnings | House Rent Allowance | HRA | B * 0.5 |
| Deductions | Provident Fund | PF | min(B * 0.12, 1800) |
Submit the structure. On it, use Create > Salary Structure Assignment for Asha with From Date 2026-04-01 and Base 50,000. The assignment shows her CTC, computed from one full cycle.
For November 2026, with no leave without pay, Asha's slip reads:
| Component | Amount |
|---|---|
| Basic | 20,000 |
| House Rent Allowance | 10,000 |
| Gross Pay | 30,000 |
| Provident Fund | 1,800 (12% of Basic is 2,400, capped at 1,800) |
| Net Pay | 28,200 |
If she takes one day of Leave Without Pay in a month of 26 working days, her Payment Days are 25. A component that depends on payment days pays its full amount times 25 over 26, so Basic becomes 20,000 × 25 / 26 = 19,230.77.
Run a payroll entry
Create a Payroll Entry: Company, Posting Date, Payroll Frequency, Start Date and End Date. Payroll Payable Account and Cost Center fill from the company. Narrow it by Branch, Department, Designation or Grade if needed.
Click Get Employees. HRMS lists the active employees whose submitted assignment uses an active structure of the entry's company, currency and frequency, and who have no submitted slip for these dates. Tick Validate Attendance to refuse employees with unmarked days.
Submit. HRMS creates a draft Salary Slip for each employee in the background. The status is Queued, then Submitted.
Review the slips, then click Submit Salary Slip. HRMS submits them and posts the accrual Journal Entry.
Set the Payment Account and click Make Bank Entry. HRMS drafts the Bank Entry that pays net pay.
If slip creation fails, the status is Failed and Error Message says why. Fix the cause and click Create Salary Slips to queue it again. A slip already made is not made twice.
Accounting entries
For Asha's slip, the two Journal Entries are:
| Entry | Account | Debit | Credit |
|---|---|---|---|
| Accrual | Basic's account | 20,000 | |
| Accrual | House Rent Allowance's account | 10,000 | |
| Accrual | Provident Fund's account | 1,800 | |
| Accrual | Payroll Payable | 28,200 | |
| Bank Entry | Payroll Payable | 28,200 | |
| Bank Entry | Payment Account | 28,200 |
Employer contributions get their own Journal Entry: each component's expense account debited, its liability account credited.
Cancelling the Payroll Entry cancels and deletes its slips and cancels its submitted Journal Entries.
Payroll Settings
| Setting | Effect |
|---|---|
| Calculate Payroll Working Days Based On | Leave applications, or attendance |
| Include holidays in Total no. of Working Days | Counts holidays as working days |
| Email Salary Slip to Employee | Mails each submitted slip as a PDF |
| Encrypt Salary Slips in Emails | Protects the PDF with a password |
| Show Leave Balances in Salary Slip | Adds the leave balance table to the slip |
More payroll records
| Record | Use |
|---|---|
| Additional Salary | A one-off or recurring amount on a payslip |
| Income Tax Slab, Payroll Period | Tax rates and the tax year |
| Employee Tax Exemption Declaration, Proof Submission | Exemptions that lower taxable pay |
| Employee Benefit Application, Claim | Flexible benefits |
| Retention Bonus, Employee Incentive | Bonuses paid through Additional Salary |
| Salary Withholding | Holds an employee's slips for some cycles |
| Arrear, Payroll Correction | Back-dated pay and returned leave without pay |
| Overtime Slip | Pays overtime from auto attendance |
| Gratuity, Full and Final Statement | Exit payments |
Details: Salary assignments, Additional salary and bonuses, Withholding and arrears, Overtime, Income tax, Flexible benefits, Gratuity and Full and final settlement.
Reports include Salary Register, Bank Remittance, Income Tax Computation and Employee CTC Break-up.