How to configure Odoo payroll for Qatar's Wage Protection System, Labour Law gratuity accrual and final settlements — without a native country localisation.
BNF Consulting
Business Consulting · Zoho & Odoo Partner Qatar
Odoo has no off-the-shelf Qatar WPS payroll localisation, so a compliant Odoo payroll in Qatar is built by configuring the Payroll app around three Qatar-specific controls: a salary structure that keeps basic wage separate from allowances, a monthly Salary Information File (SIF) export that matches your bank's WPS template, and an automated end-of-service gratuity accrual calculated on basic wage at three weeks per year. Get those three right and Odoo becomes the system of record for both the wage file and the gratuity liability — but the legal duty to file and pay on time stays with the employer, not the software.
Odoo's Payroll app is a rule engine, not a country pack. Every payslip is computed by a salary structure made up of salary rules, and each rule is a short piece of Python that adds, subtracts or conditions an amount. Odoo ships payroll localisations for a number of countries where statutory payroll is highly standardised; Qatar is not one of them. There is no standard Qatar localisation that will produce a bank-ready WPS file and a Labour Law gratuity calculation out of the box.
That is a design choice rather than a defect, but it matters when you are comparing vendors. A vendor who tells you Odoo “does WPS natively” is describing configuration work, not a product feature. Three layers have to be kept separate:
Odoo owns the first layer and can hold the evidence for the other two. It cannot discharge them on your behalf. One practical licensing note: the Payroll app is part of Odoo Enterprise. Odoo Community includes the HR and contract foundations but not the full payroll engine, which is worth knowing before a project is scoped on a Community licence.
Four obligations do most of the work in a Qatar payroll build. Each one has a data consequence inside Odoo, and each one is auditable — which is why they belong in the ERP rather than in a spreadsheet that only one person understands.
| Requirement | What Qatar expects | Where it lives in Odoo |
|---|---|---|
| Basic wage separated from allowances | Basic wage must be visible on its own, because gratuity is calculated on basic, not on the total package. | Contract wage field plus separately named salary rules for each allowance. |
| WPS salary file (SIF) | A bank-specific file per pay period: identity number, IBAN, days paid, basic, allowances, deductions and net. | Validated payroll batch, exported through a custom template built to your bank's current specification. |
| End-of-service gratuity | A minimum of three weeks' basic wage for each year of service under Article 54 of Labour Law No. 14 of 2004. | A gratuity rule plus a monthly accrual journal entry into a provision account, settled through a final settlement payslip. |
| Leave and final settlement | Annual leave balance, notice period and unpaid days all change the leaver's last payslip and last SIF line. | Time Off integrated with contracts, and a leaver workflow that closes the contract only after settlement is posted. |
| Record integrity | Name, QID and declared wage must agree with the contract and the establishment data the Ministry already holds. | Controlled employee master data, contract history, and an exception report run before every SIF export. |
The SIF is the point where payroll becomes a banking instruction, and it is where most Odoo payroll projects are won or lost. A correct payslip is not the same thing as an acceptable wage file: the bank validates identity data and account data, and it rejects files that are numerically perfect but structurally wrong.
Two data states cause most rejections in practice: an IBAN registered to a different name than the payroll record, and a net pay of zero for an employee who is still active — usually unpaid leave, or a loan deduction that exceeds net. Both are flags Odoo can raise before export, which is the practical argument for running payroll in the ERP rather than in a workbook that leaves no trace.
Under Article 54 of Qatar Labour Law No. 14 of 2004, an employee is entitled to a minimum of three weeks' basic wage for each year of service, calculated on the basic wage at the end of service and including a pro-rata amount for incomplete years. Where the employee resigns rather than completing the contract, Article 57 scales the entitlement by length of service — commonly applied as one third below five years, two thirds between five and ten years, and the full amount at ten years or more. Because individual contracts and disputes can alter the outcome, treat those tiers as a configuration default to be confirmed with your legal adviser, not as an automatic calculation you switch on and forget.
The accounting point is that gratuity is a liability that builds every month. If you calculate it only when someone leaves, the cost lands in a single month's profit and loss, the provision on the balance sheet has been wrong for years, and the number is produced by whoever remembers the formula. Accruing monthly in Odoo fixes all three: the expense is smoothed, the liability is defensible at any month end, and the settlement at exit becomes a reconciliation rather than a calculation.
| Gratuity input | Basis | Handled in Odoo by |
|---|---|---|
| Basic wage | The basic wage at the end of service, excluding allowances. | The dedicated basic wage field on the contract, never the gross total. |
| Service period | Joining date to last working day, with part years pro-rated. | Contract start and departure dates, computed into years and months. |
| Accrual rate | A minimum of three weeks' basic wage per completed year. | A monthly accrual rule posting to a gratuity provision liability account. |
| Resignation factor | Tier applied under Article 57 according to length of service. | A reviewed field on the final settlement payslip, confirmed with legal advice. |
| Leave encashment | Unused annual leave days at the applicable daily rate. | The Time Off balance carried into the final settlement lines. |
| Other settlements | Notice pay, outstanding loans, advances and contractual benefits. | Individual settlement lines on the final payslip, each with its own account. |
Once the configuration is in place, the month is a short sequence with a clear owner at each step. The table below is the pattern we use when reviewing an existing payroll setup, because a missing control is usually visible as a missing step rather than as a wrong number.
| Timing | Action | Control that proves it happened |
|---|---|---|
| Pay period close | Joiners, leavers, leave, overtime and allowances captured. | Exception report with zero unexplained variances. |
| Approval | A second person reviews and validates the batch. | Odoo approval and lock dates, with the approver recorded. |
| Bank submission | SIF generated and uploaded to the WPS channel. | Export timestamped against the batch reference. |
| Payment window | Wages reach employee accounts within the period set by the WPS rules, generally seven days from the contractual due date. | Bank acceptance report reconciled to the batch total. |
| Month end | Payroll journal posted; gratuity accrual posted. | Provision account movement that ties to headcount and service. |
There is no single implementation duration for Odoo payroll in Qatar, and any vendor quoting one before seeing your data is guessing. The real drivers are the number of legal entities, the number of distinct worker categories and allowance schemes, whether time and attendance feeds payroll, how many years of gratuity history need to be reconstructed, and whether the current payroll sits in a system that can export clean master data. A single-entity company with standard allowances is a straightforward configuration; a group with site allowances, shift patterns, multiple banks and legacy gratuity balances is a different project with the same app.
Before the build starts, gather the current payroll register, the employment contracts, the bank's current SIF specification, and the last twelve months of WPS acceptance reports. Those four documents answer most of the questions that otherwise surface mid-project.
The answer depends on where payroll sits in your business. If payroll is an HR-led process and the priority is leave, attendance and employee self-service, a Zoho People-centred stack with a configured payroll layer can be the lighter path — see our Zoho solutions page for how that stack fits together. If payroll has to post into the same ledger as inventory, projects, manufacturing and multi-company consolidation, keeping it inside Odoo avoids a monthly reconciliation between two systems. Either way, the WPS file and the gratuity accrual have to be built deliberately; neither platform ships Qatar statutory payroll as a switch.
BNF Consulting is an Official Odoo Partner and Authorised Zoho Partner based in West Bay, Doha. Our payroll work starts with a review of your contracts, wage structure and current WPS submissions, then maps each pay component to a salary rule, builds the SIF export against your bank's live template, and puts the gratuity accrual on a monthly journal so the liability stops being an annual surprise. We parallel-run against your existing payroll before go-live and reconcile the output line by line.
If you are evaluating payroll as part of a wider ERP programme, our consulting services cover the process and controls side as well as the system. To discuss a specific payroll cycle, call +974 7703 0026, email sales@bnf-consulting.com, or book a consultation at our West Bay office.
No. Odoo's Payroll app is a rule-based engine and does not ship a standard Qatar localisation that produces a WPS salary file or a Labour Law gratuity calculation out of the box. A Qatar-compliant setup is built by configuring salary structures, a bank-specific SIF export template and a gratuity accrual rule.
Odoo can accrue gratuity monthly and compute the settlement at exit, provided the basic wage is stored separately from allowances and service dates are accurate on the contract. The resignation tiers under Article 57 should still be reviewed with legal advice before the final settlement is posted, because individual contracts and circumstances can change the outcome.
It depends on the number of legal entities, worker categories and allowance schemes, whether attendance feeds payroll, and how much gratuity history must be reconstructed. Rather than a fixed duration, plan for a configuration phase followed by one or two parallel payroll cycles reconciled against your current method before the live SIF is submitted.
Wages must reach employee accounts within the period set by the WPS rules, generally seven days from the contractual due date. A file that is calculated correctly but approved late is still a late payment, so the approval step belongs inside the payroll calendar rather than at the end of it.
Yes. Odoo supports multiple companies with separate payroll journals and bank accounts, and the SIF export can be generated per company and per bank. Each entity still needs its own establishment data and WPS arrangement in place, and the export template must match the specific bank's current specification.