Payroll problems rarely begin in the final calculation. They begin earlier: a new employee record is incomplete, a salary change is approved in a message but not in the system, attendance closes late, leave is entered twice, an allowance has no end date, or finance receives a final payroll total without a clear explanation. The result is repeated checking across HR files, attendance systems, bank sheets and accounting entries.

A useful HR and payroll system connects the whole cycle. It should give each team a controlled responsibility from the approved employee record to the reviewed payroll, payment preparation, official-platform handoff, accounting entry and employee document. This guide explains the workflow Saudi businesses should design before evaluating software.

Warning signs that HR and payroll are disconnected
  • HR, attendance and finance maintain different versions of the employee list.
  • Salary, allowance or bank changes arrive after payroll is calculated.
  • Overtime, absence and leave adjustments are re-entered manually.
  • Payroll reviewers cannot explain the difference from the previous month.
  • WPS preparation begins with cleaning the payroll file instead of validated data.
  • GOSI-related employee data does not match the internal record.
  • Payroll is posted as one total with no department, branch or liability detail.
Hamly ERP HR and payroll workflow for Saudi businesses connecting employee records attendance leave payroll approval WPS and accounting
A controlled payroll starts with reliable employee data and ends with approved payment, official handoffs and reconciled accounting.

Build one approved employee record

The employee record should be the controlled starting point for payroll—not a contact list maintained separately by each department. Define who can create an employee, who verifies required documents, who approves compensation, and when the record becomes active for payroll.

At minimum, connect employee ID, Arabic and English name, work location, department, cost centre, job, employment dates, manager, bank details, payroll group and the approved compensation structure. Access should be role-based because identity, salary and bank information require stronger protection than an ordinary operational record.

Data to validate before the first payroll
  • Employee identity and internal employee number
  • Employment status, start date and payroll eligibility
  • Branch, department, project or cost centre
  • Approved basic salary and recurring allowances
  • Bank and payment details checked through the company process
  • Attendance and leave policy assignment
  • GOSI-related registration data where applicable
  • Supporting approvals and effective dates
  • Arabic and English document fields where needed

Control compensation changes by effective date

Every salary, allowance, deduction or benefit change needs an owner, approval, effective date and supporting reason. Do not overwrite the old value without history. Payroll must be able to explain what changed, when it became effective and which period first includes it.

Use separate categories for recurring and one-time components. A recurring housing allowance, a temporary project allowance, a reimbursable expense and a one-time bonus do not follow the same workflow. The HR and payroll module should preserve the component, period, approval and accounting treatment instead of hiding everything inside a single net-pay figure.

Close attendance and leave before payroll

Attendance data should not flow into payroll while it is still changing. Set a clear cut-off for shifts, missing punches, approved leave, unpaid absence, overtime and manager corrections. Route exceptions to the responsible manager, then lock or control the approved period before payroll calculation.

The objective is not to automate every decision. It is to prevent unreviewed operational data from becoming a payroll amount. Test late approvals, cross-midnight shifts, employees moving between sites, public-holiday schedules, field teams and corrections after cut-off according to the company’s approved policy and professional guidance.

Prepare payroll from controlled inputs

Payroll inputs normally combine approved recurring compensation with period-specific items such as overtime, absences, commissions, incentives, advances, recoveries and other authorised adjustments. Each input should identify the employee, period, component, source, amount or quantity, approver and evidence.

Use a pre-payroll report to find missing bank details, inactive employees included by mistake, new joiners without complete setup, leavers still receiving recurring components, negative or unusual net pay, duplicated inputs and changes beyond agreed thresholds. Resolve exceptions before the final run rather than after payment.

  1. Maintain the employee record: use approved identity, organisation and compensation data.
  2. Close time and leave: review exceptions and approve the payroll period.
  3. Collect variable inputs: record one-time amounts with sources and approvals.
  4. Calculate and compare: review employee-level and total changes from the prior period.
  5. Approve and prepare payment: separate preparation, review and release responsibilities.
  6. Complete handoffs: retain payment, WPS, GOSI-related and accounting evidence.

Use a payroll comparison, not only a final total

A payroll reviewer needs more than gross pay and net pay. Show joiners, leavers, salary changes, new or ended allowances, overtime movement, absence deductions, one-time payments, advances, employer costs and every employee whose net pay changed materially. The comparison should link each movement to its source.

Use approval levels that match risk. HR can verify employee and policy inputs, managers can approve operational items, payroll can validate calculation, finance can review funding and accounting, and an authorised person can release payment. Avoid giving one user unrestricted power to create an employee, change salary, calculate payroll and approve payment.

Prepare the Saudi Wage Protection handoff carefully

The Saudi Ministry of Human Resources and Social Development describes the Wage Protection service as an electronic process for establishments to upload a sealed wage file containing employee pay and reconciliation data through Mudad. The service processes the file and updates the establishment’s compliance information. Employers should confirm their current obligation and file requirements through the official HRSD service page and Mudad.

An ERP can organise payroll data and support file preparation when the required configuration is confirmed, but it does not remove the employer’s responsibility for correct payment, review, upload, explanations and follow-up. Test the handoff with the bank and official platform before relying on it in a live payroll cycle.

Reconcile GOSI-related employee data

The General Organization for Social Insurance provides employer services for registering contributors and maintaining related records. Payroll teams should compare the approved internal employee population and wage data with the information used for GOSI processes, investigate differences and keep evidence of corrections. Current requirements should be checked through official GOSI channels.

Do not hard-code rates or assumptions without a controlled update process. Employee category, applicable branches, contribution basis and official rules can affect the outcome. Qualified HR, payroll and legal advice should guide configuration and exceptions.

Important: this article provides operational guidance, not legal, payroll, tax or social-insurance advice. The employer remains responsible for employment data, payroll approval, payment, official submissions and following current Saudi requirements.

Connect payroll to accounting

After approval, payroll should create a clear accounting handoff. Separate salary expense, allowances, employer costs, deductions, employee advances, payroll liabilities and bank settlement according to the approved chart of accounts. Assign costs to the correct branch, department, project or cost centre where required.

The accounting workflow should reconcile the payroll register, payment amount and journal entry. Finance should be able to trace a liability balance back to the employees and components that created it, while access controls prevent unnecessary exposure of confidential payroll detail.

Protect payroll data and preserve an audit trail

Payroll combines identity, employment, salary, bank and sometimes sensitive leave information. Use least-privilege access, approval logs, change history, secure attachments and controlled exports. Decide who can view individual salaries, who can see totals, who can download bank files and who can reopen a closed period.

Corrections should never erase the original decision. If an error is found after approval or payment, record the reason, approving authority, correction method and affected period. Preserve the original payroll, the corrected record and the accounting impact.

Use reports that reveal action

Useful HR and payroll reports include headcount by status and location, incomplete employee records, contracts or documents requiring attention, attendance exceptions, leave balances, payroll changes, components by department, advances and recoveries, unpaid or rejected payments, WPS handoff status, GOSI-related differences and payroll-to-ledger reconciliation.

Use reports and analytics to assign owners and deadlines. A dashboard should help teams close exceptions, not simply display totals.

Test Hamly ERP with real payroll scenarios

Before go-live, test a Saudi employee and a non-Saudi employee where relevant, a mid-month joiner, an employee moving department, a salary change with a future effective date, approved overtime, unpaid absence, leave crossing the cut-off, an advance recovery, a leaver, a correction after approval and a rejected bank record.

Confirm Arabic and English names, document output, permissions, approval order, payroll comparison, payment preparation, WPS handoff, GOSI-related data, accounting journals, reports and exports. Availability and configuration should be confirmed during the Hamly ERP demonstration and implementation scope.

Plan a focused Hamly ERP demonstration

Bring an anonymised employee record, compensation structure, attendance summary, leave example, payroll comparison, bank-file requirement, WPS process, GOSI-related reconciliation and accounting entry. The demonstration can then follow your real monthly close rather than a generic feature list.

For a useful demo, prepare:
  • Employee count, locations, departments and payroll groups
  • Current HR, attendance, leave and payroll systems or files
  • Recurring and variable payroll components
  • Approval roles and monthly cut-off timetable
  • Bank, WPS and GOSI-related handoff requirements
  • Accounting dimensions and payroll reconciliation needs
  • The three payroll questions that take longest to answer today

Book a Hamly ERP HR and payroll demo

Frequently asked questions

What should HR and payroll software connect?

It should connect approved employee data, attendance, leave, compensation, variable inputs, payroll review, payment preparation, official handoffs, accounting and employee documents.

Does payroll software automatically make a Saudi business compliant?

No. Software can organise data and controls, but the employer remains responsible for configuration, review, payment, submissions and current legal requirements.

How should attendance feed payroll?

Only approved attendance exceptions, leave, overtime and absence data should pass after the period cut-off and manager review, using documented company rules.

What is the role of WPS?

WPS uses wage and reconciliation files through the official Mudad process. Employers should verify their obligations and current file requirements through HRSD and Mudad.

What should we test before go-live?

Test employee setup, time and leave cut-off, variable inputs, approvals, comparison, payment preparation, WPS and GOSI-related handoffs, accounting, permissions and corrections.