Lesson 3 of 5 · 6 min read
How AION handles HR & payroll
Employee master, attendance integration, leave workflow, monthly payroll engine, and end-of-service calculation — all tied to the GL via the payroll SLA resolver.
Where each stage lives in AION
| Stage | AION menu |
|---|---|
| Workforce planning | HR → Positions |
| Recruitment | HR → Recruitment |
| Onboarding | HR → Employees → New |
| Attendance | HR → Attendance |
| Leave | HR → Leave Requests |
| Payroll | HR → Pay Runs |
| Performance | HR → Performance Reviews |
| Separation | HR → End of Service |
The employee master — source of truth
Every employee has a master record with:
- Personal data (name in Arabic + English, national ID, DOB, etc.)
- Employment (position, grade, department, cost center, start date, contract type)
- Compensation (salary components with effective-from dates — so raises are tracked historically)
- Bank + government IDs (IBAN, GOSI number, tax ID)
- Leave balances (by leave type)
- Loans (outstanding balance, installments, schedule)
- Documents (contract PDF, ID copy, visa, etc. — uploaded and versioned)
When anything about the employee changes (grade, salary, department), AION creates an effective-dated record — past payrolls stay correct at the historic values; future payrolls use the new values.
Attendance — from raw punches to usable hours
AION integrates with biometric devices, mobile apps, or manual entry. Raw punches are processed through a shift rule engine:
- Determines expected in/out times per shift
- Applies grace periods (a 3-minute late arrival ≠ deducted)
- Computes overtime (anything over 8 hours/day or 48 hours/week, jurisdiction-dependent)
- Computes shift differential (night shift premium, weekend premium)
- Flags absences (and routes to manager for reason entry)
Output: a monthly attendance register with hours worked, overtime, absences (with reasons), ready for payroll.
Leave — self-service with workflow
Employees request leave through HR → Leave Requests → New (mobile-friendly). The request:
- Shows the employee’s current balance for that leave type
- Goes to the line manager for approval
- Updates the employee’s balance on approval
- Feeds into the attendance register automatically (paid leave = no deduction; unpaid leave = salary deducted pro-rata)
Leave types configured during implementation: annual, sick, maternity, paternity, Hajj, bereavement, unpaid, etc. Each with its own policy.
Payroll — the monthly run
Navigate to: HR → Pay Runs → New.
Create a pay run for the period (e.g., March 2026). AION:
- Pulls every active employee’s master record
- Reads their attendance register for the period
- Reads their approved leave
- Reads their active loans and calculates this month’s installment
- Applies their compensation package (salary + allowances)
- Computes deductions (GOSI, tax, loan, unpaid leave)
- Produces a draft pay run
Payroll clerk reviews the draft:
- Exceptions flagged (unusual overtime, unusually high deductions)
- Employee-by-employee breakdown available
- Total cost visible
HR manager approves.
Finance posts to GL (one click).
The payroll SLA resolver fires and posts:
| Account | DR | CR |
|---|---|---|
| 6200 Salary Expense | Gross salaries | |
| 6210 Allowances Expense | Allowances | |
| 6220 Employer GOSI | GOSI employer portion | |
| 6230 End of Service Accrual | This month’s EOS accrual | |
| 2300 AP — Salaries Payable | Net pay to employees | |
| 2310 GOSI Liability | GOSI employer + employee | |
| 2320 Tax Withheld Liability | Income tax withheld | |
| 2330 Loan Deductions Liability | Loan repayments | |
| 2340 EOS Liability | EOS accrual |
One balanced journal entry for the whole run. No manual entries.
Pay slips + bank files
After posting:
- Pay slips are generated (PDF, Arabic + English) for each employee and emailed or made available in self-service
- Bank file (CSV or WPS format) is generated for treasury to upload to the bank for salary disbursement
- GOSI file for submission to the authority
- Tax withholding file for the tax authority
End of Service calculation
When an employee separates, HR opens HR → End of Service → [employee].
AION calculates:
- Total years of service (fractional, based on start date and separation date)
- EOS gratuity per local law (pre-configured per country)
- Unused annual leave encashment
- Pending bonuses
- Outstanding loan balance (deducted)
- Outstanding company property (tracked separately)
Produces the final EOS settlement. Runs through a final pay run. Posts the EOS liability release to the GL.
Configuration you do once
- Jurisdictions — Saudi, Egypt, UAE, etc. with their respective EOS, GOSI, tax rules
- Shift rules — shift definitions, grace periods, overtime thresholds
- Leave policies — types, entitlements, accrual rules
- Compensation components — base, housing, transport, other allowances
- Payroll calendar — cutoff dates, approval deadlines
- GL accounts — for each payroll component
- Approval workflows — who approves leave, pay runs, EOS settlements
After that, every month’s payroll is 30 minutes of review + one click.
Next lesson
In Lesson 4 — Lab, you’ll run a complete March pay run in the live demo — watching every calculation, approval, and GL entry.