onhr
Browse guides

Run payroll

Create a monthly payroll draft, check and adjust each payslip, then mark the run as paid.

On Payroll, owners and admins run payroll month by month. A run starts as a draft that employees cannot see. When you mark it as paid, each employee sees their payslip on My Payslips.

Marking a run as paid only records it in onhr. It does not move any money, make a bank file, or submit anything to EPF, SOCSO, EIS or LHDN. You pay and submit those yourself. It also posts nothing to Finance, so record the salaries there separately.

Who can do this

Owners and admins. The screen is hidden from everyone else, and shows "This page is for owners and admins of the workspace." if opened. In the demo workspace the screen can be read but nothing can be run or changed.

Before you start

Each employee needs a Monthly base salary (RM) on their record. Someone with no base salary is left out of the run, with the reason "No base salary recorded". See Add and edit employees.

Steps

This screenshot is from the demo workspace, where Run payroll is switched off and shows "Available in a later update". In your own workspace Run payroll opens the run dialog, unless a draft run is blocking the next month or there is no month left to run.

Create a draft

  1. Open HR, then Payroll under Payroll.
  2. Click Run payroll.
  3. For your first run, pick the Month. The first run can be any month up to this one. Choose it with care: after that, months follow one another and none can be skipped, so the dialog shows the next month.
  4. Click Create draft. Nobody is paid and employees can't see it yet.

The screen shows "Draft: employees can't see this yet". It also notes overtime claims from earlier months that the run picked up, and active employees who are not on the run.

Check and adjust payslips

  1. In Payslips, click an employee's name to open their payslip.
  2. To add pay or a deduction, click Add line, choose Earning (adds to gross) or Deduction (comes off net), and, for an earning, say what kind it is: ordinary pay, a bonus, a travel allowance, a service charge or a gratuity. The form says what each one counts towards. Type a name and the amount, and click Save line. Lines you added can be edited or removed. Lines added by the system cannot: overtime ("Overtime," with the date and hours), unpaid leave ("Unpaid leave," with the days) and the unpaid days before a new joiner started ("Joined" with the date).
  3. Open Statutory & tax inputs. Confirm tax residence, family category, citizenship and contribution age, contribution history where required, and the employee's SKBBK participation for this month. Record opening taxable pay, EPF, PCB, zakat and TP3 claims for previous employers and earlier ONHR periods not included automatically. Enter current approved TP1 claims, taxable BIK/VOLA, zakat and any forecast pay change. Classify earning lines as normal, additional or verified exempt remuneration. Click Save inputs & recalculate. If an amount is invalid, the message names the field and focus moves to it, opening its section if needed.
    • For the verified 2026 tax year, EPF, SOCSO and EIS use official wage ranges; the payslip also records employer contributions. Employee SOCSO includes SKBBK when applicable.
    • PCB is calculated from normal/additional remuneration, reliefs, earlier paid figures and zakat. The method supports ordinary resident rates, non-resident rates and declared approved REP, knowledge-worker and C-suite schemes. Special schemes require an approval reference.
    • The form and Calculation trace show missing inputs and the calculation basis. A missing citizenship/DOB, unconfirmed eligibility or unsupported tax year prevents marking the run paid. At contribution-age boundaries, confirm the appropriate age; SOCSO and EIS can be confirmed separately where their eligibility differs.
  4. To use your own amount, type it and click Save. The figure is then marked set by HR and stays fixed, even when you click Recalculate. Click Reset to go back to the proposed amount. After changing salary, overtime or lines, click Reset or check the figures you set again.
  5. To take someone off this draft, click Remove payslip, then Confirm. Recalculate would bring it back.

Click Recalculate after changing salaries or overtime. It adds payslips for anyone new.

Mark the run as paid

  1. Click Mark as paid, then Confirm. Employees can now see their payslips.

To change a paid run, click Undo paid, then Confirm. The run goes back to a draft, its payslips go back to pending, and employees no longer see them. Only the newest run can be undone: if a later month already has a run, delete that run first. Only a draft can be deleted, so if that later run is paid, click Undo paid on it first, then Delete draft. To throw a draft away, click Delete draft, then Confirm.

Be careful when undoing and deleting later runs: deleting a run deletes its payslips and their lines. Every line typed in and every EPF, SOCSO, EIS or PCB figure marked set by HR in those months is lost. When those months are run again, their statutory inputs must be confirmed and the calculation is rebuilt. Paid records are never recalculated while they remain paid.

Use the Month list at the top to open an earlier run. Export CSV downloads the selected run; see the export section below.

Before you rely on these figures

The version MY-2026-v1 uses reviewed 2026 rules. It is a calculation implementation, not an LHDN verification/approval letter. Marking payroll paid still does not remit contributions or submit statutory reports.

  • Official sources: KWSP Third Schedule, PERKESO contribution rates, LINDUNG 24 Jam, and LHDN PCB specifications.

  • Effective dates: EPF tables from October 2025, SOCSO/EIS wage-ceiling tables from October 2024, SKBBK from June 2026, and PCB year 2026. No later tax year is assumed to use the same rules.

  • Missing information: citizenship is required. Use a recorded date of birth or an explicitly confirmed contribution age with a reference. A birthday month at an eligibility boundary needs confirmation; no automatic guess is paid.

  • EPF: the official table applies through RM20,000. Percentage cases, including Part F, use the Third Schedule's combined-remittance rounding. ONHR assigns the difference to employer cost, not an extra employee deduction, and records it in the trace. Check this allocation for your remittance workflow. The bonus exception preserves the applicable employer rate when regular EPF wages are at or below RM5,000.

  • SOCSO/EIS: contribution history before 55/57 is required where it changes eligibility. SKBBK is included in the employee's SOCSO total, with its component shown to HR in the trace. For local employees, record the contribution due for that month based on verified PERKESO participation/selected-employer status; choosing a value in ONHR does not submit an opt-out or opt-in. June 2026 is mandatory; the local voluntary/refund rules apply from July. Foreign-worker coverage remains mandatory.

  • What counts as contribution wages: ordinary pay counts for all three schemes; annual bonus is EPF only; service charge is SOCSO/EIS only; gratuity and travel allowance are excluded. System overtime is excluded from EPF and included in SOCSO/EIS. An overtime line added as ordinary pay needs HR to check the EPF amount. Tax treatment is a separate choice from contribution-wage type.

  • TP1/TP3: current/opening amounts are accumulated with earlier traced ONHR pay in the same year. Annual individual and shared caps are enforced. A negative current amount records an approved reversal, such as an SSPN withdrawal; opening claims cannot be negative. HR must check receipts, eligibility, cross-year limits, housing agreement dates, three-year housing-interest eligibility and any shared claim allocation. Approved claims and previous-employer values do not appear on employee payslips or the review CSV.

  • Opening balances: include previous employment and earlier ONHR periods listed as not automatically included. Do not include ONHR pay already included automatically. Income from a different tax year is not carried into the new year.

  • Zakat and benefits: taxable BIK/VOLA affects PCB, not cash gross pay. Zakat in the tax form is a rebate input; any cash deduction from salary needs its own payslip line. Employer-paid tax/gross-up and unusual coverage cases require HR to determine the correct amounts and use documented overrides; they are not automatically inferred.

  • Manual overrides: employee EPF/SOCSO/EIS/PCB figures marked set by HR remain fixed. Employer-share overrides need a reference. A new month's draft carries the tax profile and opening balances within the same year, but clears current claims, zakat, one-off benefits, age overrides, employer overrides and prior confirmation. Review each month again.

  • Paid history: existing paid figures and traces stay unchanged. Historical employer shares remain Not recorded where they were never captured. Changing employee details cannot rewrite a paid payslip.

  • Before marking paid: all payslips must have confirmed inputs. A change in inputs, eligibility or earlier paid figures invalidates the reviewed calculation; recalculate and review before trying again.

  • Unpaid leave and new joiners. Both follow section 18A of the Employment Act (in force since 1 January 2023), which covers a month not worked in full: monthly wages × eligible days ÷ days in the wage period. For a monthly-paid employee the wage period is the calendar month, so HR counts everything in calendar days:

    • New joiner: paid for the days from the join date to the month end, weekends and public holidays included.
    • Unpaid leave: every calendar day of approved unpaid leave is unpaid, including a weekend that falls inside it. Leave from Friday to Monday is 4 days, and a whole month of unpaid leave pays nothing. A public holiday inside the leave stays paid. Leave dated before the join date isn't counted twice.
    • Rounding: the pay is worked out once and rounded once, and the payslip shows it as one or two lines: "Joined 16 Mar 2026 (16 of 31 days)" and "Unpaid leave, 2 of 31 days".
    • Check the weekend rule: the Act doesn't say how rest days inside unpaid leave are counted. The leave request itself counts only working days, so it can show 2 days where payroll counts 4. If your company counts only the working days, give the difference back with Add line as an earning.
    • Leavers: record Last employment date (inclusive) when editing the employee, then recalculate the draft. Monthly base pay is prorated from the later of the join date/month start through the earlier of the last employment date/month end, in calendar days. The final date remains payable. Approved unpaid leave is clipped to that interval and is not deducted twice. The payslip shows a system Last employment date line.
    • A recorded leaver can be included in their final-month payroll even if already inactive, but is not automatically included after their end date. An existing later draft payslip is retained for HR review; its base-pay proration can be zero. Manually entered earnings/deductions and statutory overrides are retained.
    • Recalculate after changing employment dates; marking paid refuses an employment date changed since the reviewed calculation. Paid history is not rewritten. Setting an end date does not automatically deactivate the account, settle unused leave, calculate notice/termination benefits or apply a tax-clearance hold. Those require HR's separate final-pay review.

Common problems

  • "Mark … as paid or delete it before running the next month." Only one draft at a time.
  • "A payslip's net pay is below zero. Fix it before marking the run as paid."
  • "An overtime claim on this run has changed. Recalculate first."
  • "Run payroll for the month after the latest run first." Months cannot be skipped.
  • "That line is worked out by the system and can't be changed."
  • "Every month up to now already has a payroll run." There is no month left to run yet.
  • "A later month already has a payroll run. Delete that run first." You can only undo paid on the newest run.

Export the selected payroll run

Owners and admins can choose a month in the payroll run picker and click Export CSV. The file contains that run only, including draft or paid status, employee references, recorded basic/gross/net amounts, employee deductions and which statutory figures were Set by HR. The file includes recorded employer shares and calculation provenance. Confirmed MY-2026-v1 amounts identify the official schedule/PCB method; legacy unverified figures retain their estimate/carried-forward labels. Export does not recalculate any amount.

The filename identifies the month and run status, such as payroll-2026-10-draft.csv. Amounts are in RM and text is UTF-8 for spreadsheet software. An empty run produces column headings only. This is a payroll review export, not a bank payment file or statutory submission file.

Export is unavailable in the demo. Staff and viewers cannot export company payroll, including by calling the download URL directly. A removed run or a run in another workspace returns an error; it never exports another month instead. An export is recorded in the admin activity log before the file is returned. The file and errors are not cached.

A single export supports up to 10,000 payslips; larger runs are refused explicitly rather than exporting a partial list. An export failure appears beside the button; refresh and try again if the run or workspace changed.