Book a free call

Platform Development in Saudi Arabia: Compliance Rules to Follow

Building a platform for Saudi users means meeting PDPL data rules, ZATCA e-invoicing and cybersecurity controls. Here is what to build in from the start.

Hertiv engineering teamReviewed by a senior engineer
7 min read
Platform Development in Saudi Arabia: Compliance Rules to Follow
On this page

Short answer

A platform built for Saudi Arabia must follow the Personal Data Protection Law (PDPL), enforced by SDAIA, connect invoicing to ZATCA's Fatoora system where it issues tax invoices, and meet the National Cybersecurity Authority's controls. Plan data hosting, consent, breach reporting and Arabic invoicing before launch, not after.

What does platform compliance mean in Saudi Arabia?

Platform development compliance in Saudi Arabia means building your software so it follows the Kingdom's data, tax and cybersecurity rules from the first release. Three regulators shape most of the work: SDAIA for personal data, ZATCA for tax invoices, and the National Cybersecurity Authority (NCA) for security controls.

These rules apply whether your company sits in Riyadh or abroad. If your platform handles the personal data of people living in Saudi Arabia, the PDPL applies to you. If it issues tax invoices, ZATCA's e-invoicing rules apply. Sector rules add more: banks and payment firms answer to SAMA, and health platforms face extra rules for patient data.

RegulatorWhat it coversWhat your platform must do
SDAIAPersonal data (PDPL)Consent, purpose limits, rights, breach notice
ZATCATax invoices (Fatoora)Structured XML invoices, clearance or reporting
NCACybersecurityAccess control, logging, incident response
SAMAFinancial dataStricter in-Kingdom storage for banks and payments

Start with a short compliance map: list every kind of data your platform collects, where it is stored, who can see it, and which invoices it issues. That map drives every decision below.

What does the PDPL require from your platform?

The Personal Data Protection Law (PDPL) is Saudi Arabia's general data protection law, issued by Royal Decree M/19 in September 2021 and in force since September 2023, with full compliance required from September 2024. SDAIA, the Saudi Data and Artificial Intelligence Authority, enforces it and can fine a controller up to SAR 5 million for a violation.

Your platform must collect personal data only for a stated purpose, with a legal basis such as the user's consent or a contract, and keep only what that purpose needs. Build consent into the sign-up flow, record what each user agreed to and when, and make it easy to withdraw. Give users a way to see, correct and delete their data, and answer those requests on time.

Sensitive data gets stronger protection. Health data, biometric data used to identify a person, religious beliefs and criminal records are all sensitive categories under the PDPL, so a platform that handles them needs extra safeguards and a risk assessment before processing. If a breach is likely to harm people, you must notify SDAIA within 72 hours of becoming aware of it.

Where should Saudi user data live?

Today the PDPL has no general rule that personal data must be stored inside Saudi Arabia, but moving data out of the Kingdom is controlled. Cross-border transfers need a lawful route, such as adequate protection in the receiving country or safeguards the PDPL recognises, and SDAIA has not yet published its list of adequate countries. Plan your transfer route early, because it shapes your hosting choice.

In October 2026 SDAIA put forward draft amendments that would require controllers to store personal data inside the Kingdom, with transfers abroad still allowed under the transfer rules. The drafts were out for consultation and are not in force, so treat in-Kingdom storage as the direction of travel, not as today's rule, and check SDAIA's notices before you commit to an architecture.

Financial data is stricter. Banks and payment firms face in-Kingdom storage requirements from SAMA, so a fintech platform should host Saudi customer and transaction data inside the Kingdom from day one. For other platforms, hosting in a Saudi region of your cloud provider removes most transfer questions and shortens talks with enterprise customers.

How do you handle ZATCA e-invoicing in your platform?

If your platform issues tax invoices, it must follow ZATCA's e-invoicing rules, known as Fatoora. Phase 1, in force since December 2021, requires invoices to be issued and stored electronically from a compliant solution, with a QR code on simplified invoices and no editing or deleting an invoice once issued. Corrections go through credit and debit notes.

Phase 2 connects your system to ZATCA. Each invoicing unit is onboarded on the Fatoora portal and receives a cryptographic stamp identifier. Every invoice is then produced in UBL 2.1 XML with a unique identifier, an unbroken invoice counter, a hash of the invoice and of the previous invoice, and a cryptographic stamp.

Standard business-to-business invoices must be cleared by ZATCA before they reach the buyer, while simplified consumer invoices are reported to ZATCA within 24 hours.

Phase 2 reaches taxpayers in waves based on VAT-subject revenue. Wave 25, for example, covers taxpayers whose revenue exceeded SAR 187,500, with integration due by 1 February 2027. Build e-invoicing as a separate service with its own queue, so a rejected invoice, a failed clearance or an offline period never loses an invoice or blocks the rest of the platform. Invoices must carry Arabic, with other languages allowed alongside.

Test against ZATCA's sandbox before go-live, and confirm your wave and deadline on the ZATCA portal. A platform that cannot clear invoices cannot legally bill, so treat this as a launch blocker, not a later fix.

What cybersecurity controls does the NCA expect?

The National Cybersecurity Authority sets the baseline security rules for organisations in the Kingdom through its Essential Cybersecurity Controls. Your platform should meet them whether or not a customer asks, because enterprise buyers in Saudi Arabia check them during procurement.

Start with the basics done well: strong access control with multi-factor authentication for admin accounts, least-privilege roles so staff see only the data their job needs, encryption for data in transit and at rest, and logs that record who did what and when. Keep those logs long enough to investigate an incident, and protect them from tampering.

Then add the operating habits: patch on a schedule, scan for vulnerabilities, test backups by restoring them, and write an incident response plan that names who decides what in the first hour. Run a tabletop exercise before launch so the plan is more than a document. If your platform serves government or critical-infrastructure customers, expect deeper NCA requirements and plan for them from the start.

Example (hypothetical): a booking platform plans its Saudi launch

Example (hypothetical): a small team is launching a booking platform for clinics in Jeddah. It will hold patient names, phone numbers and appointment notes, take card payments, and issue tax invoices to the clinics.

The team maps its data first: patient details are personal data under the PDPL, and health notes are sensitive data, so it adds a consent step at booking, a data-protection impact assessment, and a 72-hour breach notice procedure. It hosts the database in a Saudi cloud region, which also satisfies the payment side, and it routes card data through its payment provider so card numbers never touch its own servers.

For invoicing, the team builds a separate billing service that produces UBL 2.1 XML, sends standard invoices to ZATCA for clearance, and reports simplified invoices within 24 hours. It onboards one invoicing unit in the Fatoora sandbox and tests 20 invoices, including a credit note and a rejected invoice, before go-live.

The numbers: the platform expects 400 bookings a week. At 2 minutes of staff time per booking handled by phone, that is about 13 hours a week; the platform's self-service flow cuts it to about 4 hours, saving roughly 9 hours a week. The compliance work adds 6 weeks to the build, but it removes the rework that a post-launch fix would cost.

What are the common mistakes?

The most common mistake is treating compliance as a legal review at the end. By then the data model, hosting region and invoice flow are fixed, and changing them costs far more than building them right. Bring the compliance map into the first design review.

Other mistakes repeat often: collecting data with no stated purpose, so consent cannot be shown; storing Saudi user data abroad with no transfer route; issuing invoices from a system that cannot produce ZATCA's XML or handle a rejection; and giving every staff member admin access, so one leaked password opens everything.

Finally, do not assume the rules stay still. SDAIA's draft amendments show the direction, and ZATCA adds new waves each year. Assign one person to watch SDAIA, ZATCA and NCA notices, and review your compliance map at least twice a year. A platform that keeps its map current stays ahead of the next wave instead of scrambling for it.

Key takeaways

  • The PDPL, enforced by SDAIA, governs personal data; fines reach SAR 5 million.
  • Cross-border transfers need a lawful route; in-Kingdom hosting removes most questions.
  • ZATCA e-invoicing needs UBL 2.1 XML, clearance for B2B invoices and reporting for B2C.
  • NCA controls cover access, logging, patching and incident response.
  • Map your data, hosting and invoices before you build, not after launch.

Frequently asked questions

Does the PDPL apply to a platform based outside Saudi Arabia?

Yes, if the platform processes the personal data of people living in Saudi Arabia. The PDPL applies by where the people are, not by where the company sits, so a foreign team must meet the same consent, rights and breach rules as a local one.

Must Saudi user data be stored inside the Kingdom?

Not under the rules in force today, but transfers out of the Kingdom need a lawful route, and SDAIA has proposed draft amendments that would require in-Kingdom storage. Financial data faces stricter SAMA rules, so host Saudi customer data in the Kingdom where you can.

What is the difference between ZATCA Phase 1 and Phase 2?

Phase 1, in force since December 2021, requires invoices to be issued and stored electronically with a QR code on simplified invoices. Phase 2 connects your system to Fatoora, so B2B invoices are cleared by ZATCA and B2C invoices are reported within 24 hours.

How quickly must a data breach be reported in Saudi Arabia?

If a breach is likely to harm people or their rights, you must notify SDAIA within 72 hours of becoming aware of it. You should also tell the affected people where the rules require it, and keep a record of what happened and what you fixed.

Do small platforms need to follow the NCA controls?

The NCA's Essential Cybersecurity Controls set the baseline for organisations in the Kingdom, and enterprise customers check them during procurement. Even a small platform should cover access control, logging, patching and an incident plan from the start.

Can a platform issue invoices in English only?

No. Tax invoices in Saudi Arabia must carry Arabic, with other languages allowed alongside it. Build Arabic into invoice templates, field labels and the QR code data from the start, rather than adding it as a translation layer later.

Found this useful? Share it.
Hertiv engineering team

Written from projects we build for clients: software products in production. Every post is reviewed by a senior engineer before publishing and updated when practice changes.

About HertivHow we work

Building a platform for Saudi Arabia? Talk to Hertiv.

A senior engineer replies within one business day. Or see our Custom Software Development service.

Book a free call

Keep reading

All posts

Tell us what you want to build

A senior engineer reads every request and replies within one business day with questions, a rough range, or a call link.

  • NDA on request before any details
  • You own all code, models and IP
  • US, UK and EU time-zone overlap

Your email app should open with your message ready to send. If it does not, write to [email protected].

Prefer email? Write to [email protected]
Estimate costBook a call