When an employment contract in Saudi Arabia ends, the employer owes the employee an end of service award based on their final wage and years of service. The formula is short, but the details, resignation versus termination, partial years, which allowances count, decide whether the final settlement is right and whether the provision in your balance sheet means anything. Here is how it works, with examples, and how to keep it accurate in Odoo.
FlexCode Middle East is part of FlexCode Systems GmbH, an Odoo Silver Partner. We implement Odoo, so Odoo is the system we describe, next to an honest look at the topic itself.
Key points
- Half then full. Half a month's wage for each of the first five years, a full month for each year after.
- Resignation reduces it. Employees who resign get a third after two years, two thirds after five and the full award after ten.
- Final wage counts. The award is based on the last wage, so raises late in the career increase the whole liability.
- Accrue monthly. A monthly provision in Odoo keeps profit honest and the balance sheet right.
The formula
Under the Saudi Labour Law, an employee whose contract ends is entitled to an award of half a month's wage for each of the first five years of service and one month's wage for each year after that. Parts of a year count proportionally. The award is calculated on the last wage the employee received.
0.5 month
Per year for years 1 to 5
1 month
Per year after year 5
1/3, 2/3, full
On resignation after 2, 5 and 10 years
Last wage
Basis of the calculation
Which components make up the wage for this purpose depends on the law's definition and the employment contract. In practice it is usually the basic salary plus fixed allowances such as housing and transport. Commissions and variable bonuses are treated differently. Agree the definition with your legal adviser and write it into your contracts and your payroll rules in the same way.
Resignation versus termination
The full award applies when the employer ends the contract, when a fixed-term contract expires, or in other cases set by law. When the employee resigns, the award is reduced depending on length of service.
| Service on resignation | Share of the award |
|---|---|
| Less than 2 years | Nothing |
| 2 to less than 5 years | One third |
| 5 to less than 10 years | Two thirds |
| 10 years or more | Full award |
There are exceptions where a resigning employee keeps the full award, for example certain cases of force majeure or a female employee resigning within a set period after marriage or childbirth. Check each case against the current law.
Worked examples
Take an employee whose last monthly wage, basic plus fixed allowances, is SAR 10,000.
| Case | Calculation | Award |
|---|---|---|
| Terminated after 4 years | 4 x 0.5 x 10,000 | SAR 20,000 |
| Terminated after 8 years | 5 x 0.5 x 10,000 + 3 x 10,000 | SAR 55,000 |
| Resigned after 4 years | 20,000 x 1/3 | SAR 6,667 |
| Resigned after 8 years | 55,000 x 2/3 | SAR 36,667 |
| Resigned after 12 years | 5 x 0.5 x 10,000 + 7 x 10,000 | SAR 95,000 (full) |
The jump between four and eight years shows why the provision grows faster than salaries for long-serving staff. It also shows why a raise for a senior employee costs more than the raise itself: it increases the award for every year already served.
Accruing the liability
Accounting standards require the liability to be recognised as employees earn it, not when they leave. Small companies often calculate the amount each employee would receive if they left at the balance sheet date and book the change each month. Larger companies under IFRS use an actuarial valuation under IAS 19, which takes into account expected salary growth, staff turnover and discounting.
- Wage and hire date in Odoo
- Monthly award recalculated
- Change booked to the provision
- Payment on leaving
- Actuarial true-up at year end
The provision should always be explainable employee by employee.

Setting it up in Odoo
Odoo's Saudi payroll localization includes end of service rules. The quality of the result depends on the data behind it, which is why the setup starts with employees, not formulas.
- Record the correct original hire date for every employee, including service transferred from a related company if it counts.
- Define which salary components count as wage for end of service, and mark them in the salary structure.
- Record unpaid leave that should be excluded from service.
- Run a monthly provision entry from payroll, so the liability moves with raises, hires and leavers.
- Calculate the final settlement in Odoo from the termination reason, so resignation fractions apply automatically.
Final settlements must go through payroll and the bank so they appear in the wage protection data; see Saudi WPS and Mudad. For the UAE equivalent, read end of service gratuity in the UAE, and for the regional picture, Odoo Payroll for Saudi Arabia, the UAE and Egypt.
Common mistakes
- Wrong hire dates after a system migration, which change every award.
- Calculating on basic salary only when contracts define the wage more broadly.
- Applying resignation fractions to contracts that ended by expiry.
- Booking the provision once a year, so monthly profit is overstated.
- Paying final settlements outside payroll.
FlexCode sets up end of service in Odoo
We clean hire dates and wage components, configure monthly provisions and final settlements, and reconcile the provision with your auditors.
Frequently asked questions
How is end of service calculated in Saudi Arabia?
Half a month's last wage for each of the first five years and a full month for each year after, with parts of a year counted proportionally.
What does an employee get on resignation?
Nothing under two years, one third from two to five years, two thirds from five to ten years, and the full award after ten years, with some legal exceptions.
Which wage is used?
The last wage, usually basic salary plus fixed allowances as defined by the law and the contract.
Do I need an actuarial valuation?
Companies reporting under full IFRS generally use an IAS 19 valuation; smaller companies often use the amount payable at the balance sheet date. Ask your auditor.
Can Odoo calculate the final settlement?
Yes. The Saudi payroll localization calculates the award from the hire date, the wage components and the termination reason.
Talk to us about how Odoo fits your business. Book a free call
Sources
This article explains the rules in general terms and is not tax or legal advice. Check the details for your company with your tax adviser.
Run invoicing, stock and accounts from one system.
FlexCode Middle East implements Odoo in Arabic and English for companies in Egypt, Saudi Arabia and the UAE.