1. Overview — How Gulf Compliance Works
Gulf compliance in MAttendance is per-employee, not per-organization. A single organization can have employees across India, UAE, Saudi Arabia, Qatar, and Kuwait — each employee's statutory deductions and documents follow their own Compliance Country setting.
Where to configure: Go to Settings → Gulf Compliance. You will find four tabs: EOSB/Gratuity, WPS, Social Insurance, and Ramadan Periods.
UAE, Saudi, Qatar, or Kuwait. Employees with India or Generic use different rules.
2. EOSB / Gratuity
End-of-Service Benefit (EOSB) — also called gratuity — is a statutory payment made to employees upon end of service. Rules vary by country and are calculated from Basic Salary and total service duration.
UAE — Federal Decree-Law No. 33 of 2021
Under UAE law (effective Feb 2022), all employees are entitled to EOSB regardless of resignation, subject to notice period compliance.
| Service Duration | Rate per Year |
|---|---|
| First 5 years | 21 calendar days' Basic per year |
| After 5 years | 30 calendar days' Basic per year |
| Maximum cap | 24 months' Basic salary |
Saudi Arabia
| Exit Reason | Service | EOSB Rate |
|---|---|---|
| Resignation | < 2 years | 0% |
| Resignation | 2–5 years | 1/3 of full rate |
| Resignation | 5–10 years | 2/3 of full rate |
| Resignation | ≥ 10 years | Full rate |
| Termination | Any | Full rate |
Full rate: 15 days' wage per year for the first 5 years, then 1 month per year thereafter.
Qatar & Kuwait
| Country | Rate |
|---|---|
| Qatar | 21 days' Basic per year — regardless of exit reason |
| Kuwait (first 5 yrs) | 15 days' Basic per year |
| Kuwait (after 5 yrs) | 1 month's Basic per year |
Setup
- Go to Settings → Gulf Compliance → EOSB / Gratuity
- Click Configure next to the relevant country
- Toggle Enable EOSB
- Save
EOSB Liability Report
Click Liability Report to see the current EOSB exposure for all active Gulf employees — useful for provisioning and board-level reporting.
Calculate EOSB for a Leaving Employee
From the EOSB tab, use the Calculate EOSB button:
- Select employee
- Set exit date and exit reason (resignation / termination / retirement)
- The engine returns: years served, daily basic rate, gratuity amount, country-specific breakdown
3. WPS — Wage Protection System (UAE)
The Wage Protection System (WPS) is mandated by the UAE Ministry of Human Resources and Emiratisation (MoHRE). Employers must submit a Salary Information File (SIF) to their bank or exchange house each month before paying salaries.
SIF File Format
The generated SIF file is pipe-delimited (|) with two record types:
| Record | Contents |
|---|---|
| EDR (Employer Detail Record) | Employer code, bank code, payment date, employee count, total amount |
| EMP (Employee Detail Records) | One line per UAE employee: IBAN, salary amount, routing code |
Setup
- Go to Settings → Gulf Compliance → WPS
- Click Configure
- Enter your Employer Code (assigned by MoHRE or your WPS agent bank)
- Enter your Bank Code (your bank's WPS routing code)
- Toggle Enable WPS
- Save
Generating the Monthly SIF File
- First, generate and finalize the monthly payroll for UAE employees (Payroll Guide)
- Go to Settings → Gulf Compliance → WPS → WPS Files
- Click Generate SIF
- Select the month and year — click Generate
- Download the
.txtfile and upload to your bank's WPS portal
WPS File Status Tracking
| Status | Meaning |
|---|---|
| Generated | SIF created, not yet submitted to bank |
| Submitted | Uploaded to bank's WPS portal |
| Accepted | Bank / MoHRE confirmed acceptance |
| Rejected | Error — resubmission required |
4. Social Insurance (GPSSA / GOSI)
Gulf countries require social insurance contributions for Gulf National citizens only. Expatriate employees are exempt.
| Country | Scheme | Employee Rate | Employer Rate |
|---|---|---|---|
| UAE | GPSSA | 5% | 12.5% (Abu Dhabi) / 15% (other) |
| Saudi Arabia | GOSI | 9% | 9% |
| Qatar | GRSIA | 7% | 14% |
| Kuwait | PIFSS | 7.5% | 11% |
Setup
- Go to Settings → Gulf Compliance → Social Insurance
- Select the country from the dropdown
- Enter your Scheme Code (employer registration number with GPSSA / GOSI)
- Set Employee Rate and Employer Rate (%)
- Set Applies To — select
Nationals - Toggle Enable
- Save
Activation on Employees
Social insurance deductions only apply to employees who have both:
Compliance Country= the matching Gulf countryGulf National= Yes (toggle in the employee's statutory section)
When payroll runs, the engine checks both conditions and adds an Employee GPSSA / GOSI deduction line item to the payslip.
5. Ramadan Periods
Gulf countries legally reduce working hours during Ramadan (typically by 2 hours per day). MAttendance lets you configure Ramadan periods so the attendance engine uses the correct expected hours for that period.
Setup
- Go to Settings → Gulf Compliance → Ramadan Periods
- Click Add Period
- Enter the Year (e.g. 2025)
- Set Start Date and End Date of Ramadan (check official Moon Committee announcements each year)
- Set Reduced Hours Per Day — typically 2 hours less than normal (standard working day becomes 6 hours)
- Save
6. Visa & Travel Document Tracking
MAttendance tracks visa and immigration documents per employee and proactively alerts HR before expiry. This prevents employees from working on expired visas, which carries significant legal risk for the employer.
Supported Document Types
| Document Type | Notes |
|---|---|
| Passport | All nationalities |
| Work Visa | Employment visa stamp / e-visa |
| Residency Permit / Iqama | UAE Residence Visa, Saudi Iqama |
| Emirates ID | UAE Federal Authority identity card |
| Driving License | Any issuing country |
| Labor Card | UAE Ministry of Labour card |
| Insurance Card | Medical / health insurance card |
| Qatar ID | Qatar Resident Permit |
| Oman Resident Card | Oman residency document |
Adding Documents (per employee)
- Open Employees → [Employee Name]
- Click the Visa Documents tab (visible only for employees with Compliance Country = Gulf)
- Click Add Document
- Select document type, enter document number, issuing country, issue date, and expiry date
- Save
Expiry Alerts
The automated VisaExpiryAlertJob runs daily at 7:00 AM and sends push notifications + emails when documents are approaching expiry:
Each alert sends a push notification to the employee and an email to both the employee and the HR admin.
Expiry Colour Coding
The expiry date column on the Visa Documents table is colour-coded:
- 🟢 Green — expires > 30 days from today
- 🟡 Amber — expires within 30 days
- 🔴 Red — document has expired
7. Employee Setup
For Gulf compliance to activate, set these fields on each employee's profile:
| Field | Where | Required? |
|---|---|---|
| Compliance Country | Employee form → Statutory section | Yes — UAE / Saudi / Qatar / Kuwait |
| Nationality | Employee form → Statutory section | For WPS and records |
| Passport Number | Employee form → Statutory section | For visa tracking |
| National ID / Iqama | Employee form → Statutory section | Emirates ID, Saudi Iqama, etc. |
| IBAN | Employee form → Statutory section | Required for WPS SIF file |
| Bank Name | Employee form → Statutory section | For WPS records |
| Gulf National | Employee form → Statutory section | Yes = GPSSA / GOSI applies |
| Preferred Language | Employee form → Statutory section | For localised payslips |
Steps
- Open Employees → [Employee Name] → Edit
- Scroll to the Statutory / Compliance section
- Set Compliance Country = UAE / Saudi / Qatar / Kuwait
- Fill in Nationality, Passport Number, National ID / Iqama, IBAN, Bank Name
- Toggle Gulf National to Yes if the employee holds that country's citizenship
- Save
- Navigate to the Visa Documents tab → add Passport and Work Visa / Residency Permit with expiry dates
8. Payslip Breakdown
Once Gulf compliance is active, the payslip shows relevant sections:
┌─────────────────────────────────────────────────────────────┐
│ EARNINGS │ DEDUCTIONS │
│ Basic Salary AED 8,000 │ │
│ Housing Allowance AED 2,500 │ Social Insurance: │
│ Transport AED 500 │ Employee GPSSA │
│ │ AED 400 (5%) │
│ Gross Salary AED 11,000 │ │
│ │ Total Deductions │
│ │ AED 400 │
│ │ │
│ Net Payable │ AED 10,600 │
└─────────────────────────────────────────────────────────────┘
EOSB Accrual (memo — not deducted from employee):
Years Served: 3.5 | Daily Basic: AED 266.67
EOSB Accrued to Date: AED 19,600
Employer Contributions (CTC):
Employer GPSSA AED 1,000 (12.5%)
CTC = AED 11,000 + AED 1,000 = AED 12,000
Quick Setup Checklist
| # | Task | Where |
|---|---|---|
| 1 | Enable EOSB for each applicable country | Settings → Gulf Compliance → EOSB |
| 2 | Enter WPS Employer Code and Bank Code | Settings → Gulf Compliance → WPS (UAE only) |
| 3 | Configure Social Insurance scheme rates | Settings → Gulf Compliance → Social Insurance |
| 4 | Add this year's Ramadan dates | Settings → Gulf Compliance → Ramadan Periods |
| 5 | Set Compliance Country, IBAN, Nationality on each Gulf employee | Employees → Edit → Statutory section |
| 6 | Toggle Gulf National = Yes for citizens | Employees → Edit → Statutory section |
| 7 | Add Passport + Visa / Residency documents with expiry dates | Employee Profile → Visa Documents tab |
| 8 | Run payroll → verify EOSB memo and GPSSA deduction on payslip | Payroll → Generate |
| 9 | Generate WPS SIF file after payroll finalization → upload to bank | Settings → Gulf Compliance → WPS → Generate SIF |