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.

Employee ComplianceCountry UAE / Saudi / Qatar / Kuwait Payroll Engine Detects Gulf compliance rules Gulf Compliance Applied EOSB accrual GPSSA / GOSI WPS SIF file Ramadan hours Visa expiry alerts → shown on payslip / SIF file Net Pay Gross minus deductions

Where to configure: Go to Settings → Gulf Compliance. You will find four tabs: EOSB/Gratuity, WPS, Social Insurance, and Ramadan Periods.

Per-employee activation: Gulf rules only apply to employees whose Compliance Country is set to 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 DurationRate per Year
First 5 years21 calendar days' Basic per year
After 5 years30 calendar days' Basic per year
Maximum cap24 months' Basic salary
UAE EOSB Formula — Federal Decree-Law 33/2021 Service ≤ 5 Years (Basic ÷ 30) × 21 × Years Service > 5 Years (Basic÷30)×21×5 + (Basic÷30)×30×(Yrs−5) Cap Max = 24 × Monthly Basic Example: Basic AED 8,000 · 7 years → (8000÷30)×21×5 + (8000÷30)×30×2 = AED 28,000 + AED 16,000 = AED 44,000

Saudi Arabia

Exit ReasonServiceEOSB Rate
Resignation< 2 years0%
Resignation2–5 years1/3 of full rate
Resignation5–10 years2/3 of full rate
Resignation≥ 10 yearsFull rate
TerminationAnyFull rate

Full rate: 15 days' wage per year for the first 5 years, then 1 month per year thereafter.

Qatar & Kuwait

CountryRate
Qatar21 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

  1. Go to Settings → Gulf Compliance → EOSB / Gratuity
  2. Click Configure next to the relevant country
  3. Toggle Enable EOSB
  4. 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:

  1. Select employee
  2. Set exit date and exit reason (resignation / termination / retirement)
  3. 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.

WPS applies to UAE only. Saudi Arabia has a similar WPS scheme; support for Saudi WPS is planned. Qatar and Kuwait have their own schemes.

SIF File Format

The generated SIF file is pipe-delimited (|) with two record types:

RecordContents
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

  1. Go to Settings → Gulf Compliance → WPS
  2. Click Configure
  3. Enter your Employer Code (assigned by MoHRE or your WPS agent bank)
  4. Enter your Bank Code (your bank's WPS routing code)
  5. Toggle Enable WPS
  6. Save

Generating the Monthly SIF File

  1. First, generate and finalize the monthly payroll for UAE employees (Payroll Guide)
  2. Go to Settings → Gulf Compliance → WPS → WPS Files
  3. Click Generate SIF
  4. Select the month and year — click Generate
  5. Download the .txt file and upload to your bank's WPS portal
Run Payroll Finalize month Generate SIF Settings → Gulf → WPS Download .txt Pipe-delimited SIF Upload to Bank Bank WPS portal Mark Accepted

WPS File Status Tracking

StatusMeaning
GeneratedSIF created, not yet submitted to bank
SubmittedUploaded to bank's WPS portal
AcceptedBank / MoHRE confirmed acceptance
RejectedError — resubmission required
IBAN required: Only UAE employees with a valid IBAN set on their profile are included in the SIF file. Ensure all UAE employees have their IBAN entered before generating.

4. Social Insurance (GPSSA / GOSI)

Gulf countries require social insurance contributions for Gulf National citizens only. Expatriate employees are exempt.

CountrySchemeEmployee RateEmployer Rate
UAEGPSSA5%12.5% (Abu Dhabi) / 15% (other)
Saudi ArabiaGOSI9%9%
QatarGRSIA7%14%
KuwaitPIFSS7.5%11%

Setup

  1. Go to Settings → Gulf Compliance → Social Insurance
  2. Select the country from the dropdown
  3. Enter your Scheme Code (employer registration number with GPSSA / GOSI)
  4. Set Employee Rate and Employer Rate (%)
  5. Set Applies To — select Nationals
  6. Toggle Enable
  7. Save

Activation on Employees

Social insurance deductions only apply to employees who have both:

  • Compliance Country = the matching Gulf country
  • Gulf 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

  1. Go to Settings → Gulf Compliance → Ramadan Periods
  2. Click Add Period
  3. Enter the Year (e.g. 2025)
  4. Set Start Date and End Date of Ramadan (check official Moon Committee announcements each year)
  5. Set Reduced Hours Per Day — typically 2 hours less than normal (standard working day becomes 6 hours)
  6. Save
Ramadan dates shift each year. Ramadan moves ~11 days earlier each Gregorian year. Add a new entry for each calendar year based on the official announcement from your country's Moon Sighting Committee.

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 TypeNotes
PassportAll nationalities
Work VisaEmployment visa stamp / e-visa
Residency Permit / IqamaUAE Residence Visa, Saudi Iqama
Emirates IDUAE Federal Authority identity card
Driving LicenseAny issuing country
Labor CardUAE Ministry of Labour card
Insurance CardMedical / health insurance card
Qatar IDQatar Resident Permit
Oman Resident CardOman residency document

Adding Documents (per employee)

  1. Open Employees → [Employee Name]
  2. Click the Visa Documents tab (visible only for employees with Compliance Country = Gulf)
  3. Click Add Document
  4. Select document type, enter document number, issuing country, issue date, and expiry date
  5. Save

Expiry Alerts

The automated VisaExpiryAlertJob runs daily at 7:00 AM and sends push notifications + emails when documents are approaching expiry:

90 Days First Warning 60 Days Second Warning 30 Days Urgent — Action Required 7 Days Critical — Immediate Action

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:

FieldWhereRequired?
Compliance CountryEmployee form → Statutory sectionYes — UAE / Saudi / Qatar / Kuwait
NationalityEmployee form → Statutory sectionFor WPS and records
Passport NumberEmployee form → Statutory sectionFor visa tracking
National ID / IqamaEmployee form → Statutory sectionEmirates ID, Saudi Iqama, etc.
IBANEmployee form → Statutory sectionRequired for WPS SIF file
Bank NameEmployee form → Statutory sectionFor WPS records
Gulf NationalEmployee form → Statutory sectionYes = GPSSA / GOSI applies
Preferred LanguageEmployee form → Statutory sectionFor localised payslips

Steps

  1. Open Employees → [Employee Name] → Edit
  2. Scroll to the Statutory / Compliance section
  3. Set Compliance Country = UAE / Saudi / Qatar / Kuwait
  4. Fill in Nationality, Passport Number, National ID / Iqama, IBAN, Bank Name
  5. Toggle Gulf National to Yes if the employee holds that country's citizenship
  6. Save
  7. 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
          
EOSB is a memo line only. It is an employer liability shown for transparency — it is never deducted from the employee's take-home pay. The full EOSB amount is paid upon end of service.

Quick Setup Checklist

#TaskWhere
1Enable EOSB for each applicable countrySettings → Gulf Compliance → EOSB
2Enter WPS Employer Code and Bank CodeSettings → Gulf Compliance → WPS (UAE only)
3Configure Social Insurance scheme ratesSettings → Gulf Compliance → Social Insurance
4Add this year's Ramadan datesSettings → Gulf Compliance → Ramadan Periods
5Set Compliance Country, IBAN, Nationality on each Gulf employeeEmployees → Edit → Statutory section
6Toggle Gulf National = Yes for citizensEmployees → Edit → Statutory section
7Add Passport + Visa / Residency documents with expiry datesEmployee Profile → Visa Documents tab
8Run payroll → verify EOSB memo and GPSSA deduction on payslipPayroll → Generate
9Generate WPS SIF file after payroll finalization → upload to bankSettings → Gulf Compliance → WPS → Generate SIF
All 9 guides are now complete. For further help, contact support@mattendance.com or visit portal.mattendance.com.