MahalliMahalli Handbook

Compliance and Regulation

Saudi regulatory map for Mahalli — ZATCA e-invoicing and VAT, SAMA and BNPL, PDPL, commercial registration, e-commerce, messaging, advertising, sensitive sectors, and security — plus the decisions that must be made before code.

05 — Compliance and regulation (Saudi Arabia)

Rule: no compliance or data-residency claim is published without verification. Every row below must be verified with the authority or the provider before it is used in marketing.

AreaAuthorityWhat concerns usDecision / action
E-invoicing (Fatoora) phase 2ZATCAEvery payment issues a simplified invoice: QR TLV, signed XML, integration (Clearance / Reporting) according to the merchant's waveThe core generates the simplified invoice; signing and submission run in a container; a licensed Solution Provider partner is an open decision
VAT 15%ZATCAPrices are VAT-inclusive; the VAT number appears on the invoicevatNumber on the organization is mandatory if the merchant is VAT-registered
PaymentsSAMAThe platform is not a payment service provider; it holds no funds and settles nothingLicensed PSP + sub-merchant model (ADR-0003)
BNPL (Tabby / Tamara)SAMABoth are licensed; the merchant contracts with them (directly or via the PSP)The platform only facilitates onboarding and integration; it offers no financing
Personal Data Protection Law (PDPL)SDAIAConsent, purposes, data-subject rights, cross-border transfer, processing registerPII classification, encryption, an Arabic privacy notice for every merchant site, database region is an open decision
Commercial registrationMinistry of Commerce / WathqVerify the CR and the activityWathq API at signup
E-commerceMinistry of CommerceMerchant sites fall under the E-Commerce Law (disclosure data, returns)A default policy template for every site + optional Maroof verification
SMSCSTSender-name registration, anti-spam, sending hoursSaudi provider (Unifonic / Msegat via @repo/sms), mandatory opt-in
WhatsApp Business APIMetaApproved templates, 24-hour windowThrough an approved BSP
AdvertisingMinistry of Commerce / GCAMNo misleading ads, discount permitsAI check before publishing + marketing-copy-auditor
Advertising on platformsGoogle / Snap / TikTok / MetaAPI policies, app review, rate limitsEvery integration behind packages/integrations/* with per-tenant rate guards
Sensitive sectorsSFDA / Ministry of HealthClinics and pharmacies have content and advertising requirementsSector Packs carry content restrictions; pharmacies are out of scope for now
SecurityNCA (guidance)Essential cybersecurity controlsCSP, WAF, MFA for the owner, audit log

Critical points that need a decision before code

  1. PSP partner (Moyasar / HyperPay / Geidea / PayTabs): determines Tabby / Tamara / mada / Apple Pay support, the partner programme, and the referral share.
  2. ZATCA path: build in-house as a certified Solution Provider, or partner.
  3. Data region: a Postgres provider with a region inside the Kingdom or the nearest one, and its effect on PDPL and marketing promises.

On this page