A AION Academy

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

StageAION menu
Workforce planningHR → Positions
RecruitmentHR → Recruitment
OnboardingHR → Employees → New
AttendanceHR → Attendance
LeaveHR → Leave Requests
PayrollHR → Pay Runs
PerformanceHR → Performance Reviews
SeparationHR → 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:

  1. Pulls every active employee’s master record
  2. Reads their attendance register for the period
  3. Reads their approved leave
  4. Reads their active loans and calculates this month’s installment
  5. Applies their compensation package (salary + allowances)
  6. Computes deductions (GOSI, tax, loan, unpaid leave)
  7. 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:

AccountDRCR
6200 Salary ExpenseGross salaries
6210 Allowances ExpenseAllowances
6220 Employer GOSIGOSI employer portion
6230 End of Service AccrualThis month’s EOS accrual
2300 AP — Salaries PayableNet pay to employees
2310 GOSI LiabilityGOSI employer + employee
2320 Tax Withheld LiabilityIncome tax withheld
2330 Loan Deductions LiabilityLoan repayments
2340 EOS LiabilityEOS 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.