A build-to-order Magento 2 / Adobe Commerce extension that makes your store ZATCA Phase 2 (Integration) compliant — generating, cryptographically signing and reporting UBL XML e-invoices to Saudi Arabia's Fatoora platform. Built, installed and supported by ECOSIRE on your store. One-time license from $799.00 USD for Magento 2 / Adobe Commerce (build-to-order) — includes 12 months of updates and support.

A build-to-order Magento 2 / Adobe Commerce extension that makes your store ZATCA Phase 2 (Integration) compliant — generating, cryptographically signing and reporting UBL XML e-invoices to Saudi Arabia's Fatoora platform. Built, installed and supported by ECOSIRE on your store.
Sin pago ahora. Esto envía una solicitud de presupuesto a nuestro equipo; te responderemos por correo con precios y próximos pasos.
This is not an instant Adobe Commerce Marketplace download. It is a build-to-order Magento 2 module that ECOSIRE builds, installs and supports directly on your Magento Open Source or Adobe Commerce store — configured for your VAT registration, branches and Fatoora credentials.
UBL 2.1 compliant XML e-invoice generation for both standard tax invoices and simplified invoices, mapped from Magento's native invoice and credit-memo entities
CSID onboarding workflow against ZATCA's Compliance and Production CSID APIs (OTP-based device registration, CSR generation, certificate storage)
Cryptographic stamping of every invoice (ECDSA signature, invoice hash, PIH previous-invoice-hash chaining and monotonic counter value)
Clearance flow for standard tax invoices and reporting flow for simplified invoices via the Fatoora platform APIs, with the 24-hour reporting window respected
Phase 1 ZATCA-compliant TLV Base64 QR code rendered on PDF and email invoices (seller name, VAT number, timestamp, total, VAT total)
Full VAT breakdown by tax category and rate, seller and buyer TRN fields, and zero-rated / exempt handling
ZATCA Phase 2 (the Integration phase) requires every B2B/B2C invoice to be produced as a UBL 2.1 XML document, cryptographically stamped, and either cleared (standard tax invoices) or reported (simplified invoices) through ZATCA's Fatoora platform via its APIs. Magento core has no awareness of any of this — it produces a PDF invoice and nothing more.
We deliver a properly engineered module under app/code/Ecosire/ZatcaEInvoice. It hooks Magento's Magento\Sales\Api\InvoiceRepositoryInterface and the sales_order_invoice_save_after observer to build a compliant invoice, then signs it using your CSID (Compliance/Production Cryptographic Stamp Identifier) obtained during onboarding against the ZATCA Compliance and Production CSID APIs. Standard tax invoices are sent for clearance and the returned cleared XML + ZATCA QR is embedded into the PDF and email; simplified invoices carry the Phase 1 TLV QR and are reported within the 24-hour window. Every document includes the mandated PIH (Previous Invoice Hash) chain, UUID, VAT breakdown, seller/buyer TRN fields and invoice counter value.
Work is exposed through service contracts wired in di.xml, guarded by admin ACL, and processed asynchronously via Magento cron and message queue so checkout latency is untouched. You receive the source, an admin grid of submission status, retry handling for failed clearances, and a documented onboarding runbook. Built for your store, by people you can call.
A KSA-based store owner whose business has been notified of its ZATCA Phase 2 integration wave. They are legally required to clear/report XML invoices through Fatoora by a fixed date and need a working, compliant integration on their existing Magento store fast — not a generic plugin they must wire up themselves.
Runs a Magento storefront for a group with several VAT registrations or branches. Needs per-entity Fatoora credentials, accurate VAT breakdowns and an audit trail of every cleared invoice, and wants the build done by an engineer who understands service contracts and cron-based async processing rather than risking checkout performance.
A technical lead who could build it but wants a proven, upgrade-safe module delivered as source under app/code, with the ZATCA cryptographic-stamp, PIH chaining and CSID onboarding handled correctly — so the team can focus on the storefront instead of reverse-engineering Fatoora's APIs.
Compre la licencia en ecosire.com y descargue el módulo ZIP Magento 2 ZATCA E-Invoicing Phase 2 (KSA) desde el panel de su cuenta.
Extraiga el ZIP en su carpeta de complementos personalizados de Odoo en el servidor (o cárguelo a través de Aplicaciones > Instalar desde archivo en Odoo.sh/runbot).
Active el modo de desarrollador, abra Aplicaciones, haga clic en Actualizar lista de aplicaciones, busque Magento 2 ZATCA E-Invoicing Phase 2 (KSA) y presione Instalar.
Abra el nuevo menú, pegue su clave de licencia de ECOSIRE, conecte cualquier credencial externa (Shopify, Amazon, Stripe, etc.) y guarde.
Ejecute la prueba de conexión integrada, sincronice sus primeros 10 registros y programe el cron recurrente. Póngase en contacto con el soporte si algo falla.
| Criterio | ECOSIRE | Construcción personalizada | Competidor | Odoo Nativo |
|---|---|---|---|---|
| ZATCA-compliant UBL 2.1 XML generation from Magento invoices | ||||
| Cryptographic stamp, PIH hash chaining and CSID onboarding | ||||
| Built, installed and configured on YOUR store (not just a download) | ||||
| Multi-branch / multi-VAT-registration support out of the box | ||||
| Upgrade-safe architecture (service contracts, di.xml, plugins, ACL) | ||||
| Phase 1 TLV QR on PDF/email invoices | ||||
| Async (cron + message queue) processing, no checkout impact | ||||
| Hands-on onboarding, training and named human support | ||||
| Full source ownership and documented runbook handover |
After a short scoping call we confirm your Magento edition, branches and VAT registrations, then build and install the module on your staging environment. Typical delivery is 2-4 weeks depending on multi-entity complexity and how quickly we can complete CSID onboarding with you (which depends on ZATCA portal access). This is a custom build installed on your store, not an instant Marketplace download — you get a real engineering engagement, not a zip you have to integrate alone.
Every build includes 30 days of post-go-live support covering bug fixes and any ZATCA validation rejections at no extra cost. Because ZATCA periodically updates its XML rules, clearance behavior and certificate requirements, we offer an optional annual maintenance retainer that keeps the module aligned with ZATCA spec changes and your Magento upgrades. You also receive the full source, so your own team can maintain it if you prefer.
Both. The module is built using standard Magento 2 architecture — service contracts, di.xml dependency injection, plugins on InvoiceRepositoryInterface, observers, admin ACL, cron and message queue — so it runs on Magento Open Source and Adobe Commerce (including cloud) alike. We confirm your exact version during scoping and target your installed release.
Yes. Standard tax invoices (typically B2B) are sent to Fatoora for clearance and the cleared XML plus ZATCA QR is embedded into the customer's invoice. Simplified invoices (typically B2C/POS-style) carry the Phase 1 TLV QR and are reported to ZATCA within the mandated 24-hour window. Both flows include the cryptographic stamp, UUID, ICV counter and PIH previous-invoice-hash chain.
No. ZATCA submission runs asynchronously through Magento cron and the message queue rather than blocking the order or invoice transaction. The customer-facing flow stays fast; clearance/reporting happens in the background and the result (status, UUID, any error) appears in the admin submission grid where failures can be retried.
We do it together. CSID onboarding requires OTP codes and credentials generated from your own ZATCA Fatoora portal account, so you provide portal access and OTPs while we handle the CSR generation, compliance checks, certificate retrieval and secure storage in the module. We validate the full compliance cycle against the ZATCA simulation environment before switching you to production.
A build-to-order Magento 2 / Adobe Commerce extension that makes your store ZATCA Phase 2 (Integration) compliant — generating, cryptographically signing and reporting UBL XML e-invoices to Saudi Arabia's Fatoora platform. Built, installed and supported by ECOSIRE on your store.