E-Invoicing Integration for Websites, Apps and Custom Software: ZATCA and UAE Guide (2026)
E-Invoicing Integration for Websites, Apps and Custom Software: ZATCA and UAE Guide (2026)
1 DecE-Invoicing Integration for Websites, Apps and Custom Software: ZATCA and UAE Guide (2026)
Saudi Arabia and the UAE now require many businesses to issue electronic invoices that tax systems can read, validate and, in some cases, approve before they reach the customer. For any company that invoices from its own website, app, POS, ERP or custom software, that turns invoicing into a software project. E-invoicing integration is the work of connecting those systems to the official platforms: ZATCA’s Fatoora platform in Saudi Arabia and the Peppol-based network in the UAE. This 2026 guide explains what each mandate asks of your software, what has to be built, and how to plan the work if your team or your development partner is in Lebanon.
Step To Media is a software development agency in Lebanon that builds web, mobile and custom software for businesses in Lebanon and the Gulf. This article is a technical and planning overview, not tax advice: confirm your obligations, deadlines and invoice fields with your tax advisor and the official ZATCA and UAE Ministry of Finance guidance.
Saudi Arabia: ZATCA Phase 2 (Integration Phase)
According to ZATCA’s technical guidelines, Saudi e-invoicing runs in two phases. Phase One (Generation) took effect on 4 December 2021 and requires invoices to be generated and stored electronically. Phase Two (Integration) started on 1 January 2023 and is rolled out in waves: taxpayers must connect their invoicing solution to the Fatoora platform.
In July 2026 ZATCA announced Wave 25, covering taxpayers whose revenues subject to VAT exceeded SAR 187,500 in any of 2022, 2023, 2024 or 2025, with an integration deadline of no later than 1 February 2027. ZATCA says it notifies each wave at least six months before its integration date, so check the Fatoora portal and your notifications for the date that applies to you.
What Phase 2 means for your software, based on ZATCA’s published guidelines:
- Invoice format: invoices are generated and stored as XML (UBL 2.1) or PDF/A-3 with the XML embedded, with all required fields filled.
- Clearance for B2B: standard tax invoices follow a clearance model, meaning they are sent to ZATCA and cleared before they are shared with the buyer.
- Reporting for B2C: simplified tax invoices (typical for shops, restaurants and apps selling to consumers) are reported to ZATCA within 24 hours of being issued.
- Device onboarding: each invoicing unit (an “EGS unit”, such as a POS terminal or a server) is onboarded with a one-time password from the Fatoora portal and a certificate signing request, then passes compliance checks before it receives its production certificate (CSID).
- Security fields: each invoice carries a hash linked to the previous invoice, a cryptographic stamp and a QR code, so invoices cannot be silently changed or deleted.
UAE: Peppol E-Invoicing and Accredited Service Providers
The UAE follows a different model. Instead of every business connecting directly to a government platform, invoices are exchanged through Accredited Service Providers (ASPs) on the Peppol network. According to the UAE Ministry of Finance, businesses with annual revenue of AED 50 million or more must appoint an ASP by 30 October 2026 and go live by 1 January 2027, while businesses below that level must appoint an ASP by 31 March 2027 and go live by 1 July 2027.
For your software, this means sending structured invoice data to your chosen ASP through its API, receiving supplier invoices from it, and keeping your own records in sync.
What an E-Invoicing Integration Includes
Whether you target Saudi Arabia, the UAE or both, the build usually covers these parts:
- Invoice data model: seller and buyer VAT numbers, addresses, line items, tax categories, discounts, currencies, credit and debit notes, all mapped to the required fields.
- XML generation and validation: producing UBL XML and validating it against the official rules before anything is sent.
- Signing and certificates (KSA): key generation, CSR creation, secure storage of private keys, hashing, invoice counters and QR codes.
- API connection: calls to ZATCA’s clearance and reporting APIs, or to your UAE ASP, with retries, queueing and clear error messages when an invoice is rejected.
- Offline and failure handling: POS and mobile sales keep working when the internet drops, and invoices are queued and reported once the connection returns, within the allowed time.
- Admin dashboard: invoice status (cleared, reported, rejected), resubmission, audit logs, PDF copies for customers and exports for accountants.
Integration Approaches: Build, Middleware or Off-the-Shelf
Use a compliant ERP or accounting system
If your invoicing already runs in an ERP or accounting product that supports ZATCA or UAE e-invoicing, the fastest route is often to send all sales into that system and let it issue the invoices. Your website, app or POS then needs a reliable integration with the ERP rather than its own e-invoicing engine. Our guide to ERP vs custom software covers when this makes sense.
Add an e-invoicing middleware service
When invoices come from several places, such as an online store, a mobile app and branch POS terminals, a central e-invoicing service is cleaner. Each system sends invoice data to one internal API, which handles formatting, signing, submission and status tracking. This keeps compliance logic in one place and makes future rule changes cheaper. It is a typical custom software development project and follows the same patterns described in our API integration guide.
Build compliance into your own product
Software companies that sell POS, ERP, booking or SaaS products to Saudi or UAE clients often need e-invoicing inside the product itself. This is the largest option, because the product must handle onboarding, certificates and submissions for many customers. If you are building a POS, see our guide to POS software development.
Where Websites and Apps Fit In
E-commerce sites, booking platforms and mobile apps rarely talk to ZATCA or an ASP directly. More often, an order placed on the website or in the mobile app creates an invoice in a back-end service, which then handles clearance or reporting. What matters is that the checkout collects the right data, such as the buyer’s VAT number for B2B orders and a correct address, and that the customer receives the compliant invoice or its QR code afterwards.
Planning the Project from Lebanon for GCC Clients
Many Saudi and UAE businesses work with development teams in Lebanon because of the shared language, close time zones and experience with Arabic and English products. For an e-invoicing project, a few points make the work smoother:
- Start with an inventory: list every system that creates invoices, credit notes or receipts today.
- Involve your accountant early: tax categories, exemptions and credit note rules come from them, not from developers.
- Test in the sandbox first: ZATCA provides compliance and simulation environments, and UAE ASPs offer test environments; plan time for both.
- Leave buffer before deadlines: onboarding, compliance checks and fixing rejected invoices take longer than writing the code.
If you are comparing partners, our overview of the software and web development company in Lebanon explains how we approach custom builds and integrations for clients in Lebanon and the Gulf.
Frequently Asked Questions
What is e-invoicing integration?
It is the technical work of connecting your invoicing systems, such as ERP, POS, e-commerce or custom software, to an official e-invoicing platform so invoices are created in the required structured format and sent for clearance, reporting or exchange. In Saudi Arabia that platform is ZATCA’s Fatoora; in the UAE invoices go through Accredited Service Providers on the Peppol network.
What is the difference between clearance and reporting in ZATCA Phase 2?
Under ZATCA’s guidelines, standard tax invoices (mostly B2B) follow the clearance model and must be cleared by ZATCA before being shared with the buyer. Simplified tax invoices (mostly B2C) follow the reporting model and must be reported to ZATCA within 24 hours of issue.
Can a development team in Lebanon build a ZATCA or UAE integration?
Yes. The integration is built against public technical specifications, sandbox environments and provider APIs, so the team’s location does not limit the work. What matters is experience with APIs, security and bilingual Arabic and English output, plus close coordination with your accountant and, in the UAE, your chosen ASP.
How long does an e-invoicing integration take?
It depends on how many systems create invoices, whether you use an existing ERP or build your own service, and how many devices need onboarding. A single system connected to a compliant ERP is far smaller than adding e-invoicing to a multi-branch POS product, so start with a clear inventory and leave time for testing before your deadline.
Need to connect your website, app, POS or custom software to ZATCA or UAE e-invoicing? Contact Step To Media and tell us which systems create your invoices.

No next post available