- 首页
- Apps
- Multichannel & PIM Tools
- ZATCA E-Invoicing (Phase 2) for Magento 2 — Saudi Arabia
示意预览A build-to-order Magento 2 / Adobe Commerce module that makes your store ZATCA Phase-2 (Integration Phase)
compliant — signed XML e-invoices, cryptographic stamp, QR codes and live Fatoora clearance/reporting — built, installed and supported on your own Magento instance by ECOSIRE.
什么是 ZATCA E-Invoicing (Phase 2) for Magento 2 — Saudi Arabia?
A build-to-order Magento 2 / Adobe Commerce module that makes your store ZATCA Phase-2 (Integration Phase) compliant — signed XML e-invoices, cryptographic stamp, QR codes and live Fatoora clearance/reporting — built, installed and supported on your own Magento instance by ECOSIRE. Built to order by ECOSIRE for Magento 2 / Adobe Commerce (build-to-order) — indicative price from $999.00 USD; request a quote for a scoped proposal.
核心功能
按需定制,全程代劳
无需自行搭建——由 ECOSIRE 构建、安装并提供支持的可用应用。
- 1
您下单
以一次性构建价格开始。我们在启动时与您共同确定范围。
- 2
我们构建与安装
ECOSIRE 在您的 Magento 2 上构建、配置并安装。
- 3
上线 + 支持
约一个工作周内上线,并包含两周上线支持。我们交付的代码中的缺陷免费修复。
关于此产品
If you sell from Saudi Arabia on Magento 2 or Adobe Commerce, ZATCA's Phase 2 (Integration Phase) is not optional — once your business is in a notified wave, every standard (B2B) and simplified (B2C) tax invoice must be generated as a signed UBL 2.1 XML document, carry a cryptographic stamp, expose a TLV-encoded Base64 QR code, and be either cleared (standard invoices, pre-issue) or reported (simplified invoices, within 24h) through the Fatoora platform. Magento core has no concept of any of this.
This is a build-to-order engagement, not an instant Marketplace download. ECOSIRE builds a dedicated module under app/code/Ecosire/ZatcaPhase2, wires it into your invoicing flow via an observer on sales_order_invoice_save_after (plus service-contract APIs so it works for POS, ERP and headless flows), generates the compliant XML, applies the ECDSA cryptographic stamp against your CSID obtained from the ZATCA onboarding/compliance API, builds the QR, and calls the clearance/reporting endpoints — then stores the cleared/reported status, ZATCA UUID, and PIH (previous invoice hash) chain against each order.
We handle the full lifecycle on your server: CSR generation, sandbox compliance checks, production onboarding, an admin grid (with ACL) showing per-invoice clearance status and retry, cron-based requeue of failed submissions, and GraphQL/REST exposure of invoice status. It runs on Magento Open Source and Adobe Commerce (B2B, multi-store, multi-VAT-registration aware).
You get a tested, code-reviewed module, deployed to staging then production, with documentation and a support window. Because regulation and the Fatoora spec change, we offer ongoing maintenance so you stay compliant as ZATCA publishes new schema versions and validation rules.
你得到什么
- Custom Magento 2 module (Ecosire_ZatcaPhase2) source code installed under app/code on your instance, with composer-compatible packaging
- ZATCA onboarding completed: CSR generation, CSID issuance, and validated connection to the Fatoora sandbox and production environments
- Deployment to your staging environment, end-to-end compliance testing, then promotion to production with go-live support
- Admin configuration, ACL roles, and an operations runbook for monitoring clearance/reporting status and handling retries
- Technical documentation covering architecture, configuration, the XML/QR/signing pipeline, and troubleshooting
- A post-launch support window plus an optional maintenance plan for ZATCA spec and schema updates
这是给谁的
Saudi Magento merchant in a notified ZATCA wave
A KSA-based store owner who has received (or expects) a ZATCA notification with an Integration-Phase go-live date and needs Magento producing compliant signed invoices before the deadline, without re-platforming.
Head of finance / tax compliance
Owns VAT correctness and audit risk. Needs every B2B invoice cleared before issuance and every B2C invoice reported within 24h, with a clear audit trail of ZATCA UUIDs, hashes, and validation results visible in the admin.
Magento technical lead or agency
Responsible for the codebase and uptime. Wants a clean app/code module with service contracts, observers, cron and ACL — not a core hack — that they can maintain, extend to their POS/ERP, and that survives Magento and Adobe Commerce upgrades.
ZATCA E-Invoicing (Phase 2) for Magento 2 — Saudi Arabia 如何比较
| 标准 | 伊科西尔 | 定制建造 | 竞争对手 | Magento 2 原生 |
|---|---|---|---|---|
| ZATCA Phase-2 signed UBL 2.1 XML invoices (standard + simplified) | 包含 | 部分支持 | 包含 | 不包括在内 |
| Cryptographic stamp + CSID onboarding done for you on your server | 包含 | 部分支持 | 不包括在内 | 不包括在内 |
| Live Fatoora clearance & reporting wired into Magento invoicing flow | 包含 | 部分支持 | 部分支持 | 不包括在内 |
| Built, installed and supported on your own Magento instance | 包含 | 包含 | 不包括在内 | 不包括在内 |
| Tailored to your VAT registrations, multi-store and B2B setup | 包含 | 包含 | 部分支持 | 不包括在内 |
| Clean app/code module: DI, service contracts, observers, ACL, cron (no core hacks) | 包含 | 部分支持 | 部分支持 | 不包括在内 |
| Ongoing updates as ZATCA spec / schema changes | 包含 | 不包括在内 | 部分支持 | 不包括在内 |
| Instant self-service download / zero-cost to start | 不包括在内 | 不包括在内 | 包含 | 包含 |
关于ZATCA E-Invoicing (Phase 2)的常见问题
How long does delivery take, since this is built to order?
Typical delivery is about one working week from kickoff, depending on your Magento version, customizations, and how many VAT registrations and store views are involved. We scope precisely up front: phase one is module build plus ZATCA sandbox compliance testing, phase two is production onboarding (CSID issuance) and go-live on your server. If you have an imminent notified deadline, tell us and we will prioritize and confirm a realistic date before you commit.
What ongoing support and updates do I get after go-live?
The build includes a post-launch support window for bug fixes and onboarding help. ZATCA periodically updates the Fatoora specification, XML schema, and validation rules, so we also offer a maintenance plan that keeps the module aligned with new ZATCA releases, covers Magento and Adobe Commerce version upgrades, and provides a support channel for clearance/reporting errors. You are never left running an outdated, non-compliant build.
Is this an instant download from the Adobe Commerce Marketplace?
No. This is a custom engagement: ECOSIRE builds the module specifically for your Magento instance and installs it under app/code on your server. There is no instant Marketplace purchase here — that approach can't perform your unique CSID onboarding, store configuration, and production go-live. We deliver the code, complete the ZATCA onboarding, deploy to staging then production, and support it.
Does it handle both B2B (standard) and B2C (simplified) invoices correctly?
Yes. Standard tax invoices (typically B2B) follow the clearance model — they are sent to Fatoora and cleared before being issued to the buyer. Simplified tax invoices (typically B2C, retail) follow the reporting model — issued immediately with the QR code, then reported to ZATCA within 24 hours. The module detects the invoice type, builds the correct UBL XML, applies the right flow, and maintains the PIH hash chain across both.
Will it work on my Adobe Commerce / Magento Open Source version and my existing customizations?
It runs on both Adobe Commerce and Magento Open Source. We build with dependency injection, service contracts, observers and plugins rather than core edits, so it coexists with your theme, B2B, multi-store setup and other extensions. During scoping we review your version and key customizations (custom invoice logic, ERP/POS integrations, headless storefront) and adapt the integration points accordingly.
相关模块

Xero Accounting Integration for Magento 2
A custom-built Magento 2 module that pushes your sales orders, invoices, inventory, products and customers into Xero automatically — with tax and payment-account mapping and scheduled cron sync. Built, installed and supported by ECOSIRE.
ZATCA E-Invoicing (Phase 2)
A build-to-order Magento 2 / Adobe Commerce module that makes your store ZATCA Phase-2 (Integration Phase) compliant — signed XML e-invoices, cryptographic stamp, QR codes and live Fatoora clearance/reporting — built, installed and supported on your own Magento instance by ECOSIRE.
- ZATCA-compliant standard tax invoices (B2B, clearance model) and simplified tax invoices (B2C, reporting model) generated as signed UBL 2.1 XML
- ECDSA cryptographic stamp and digital signature applied using your CSID, with CSR generation and onboarding against the ZATCA compliance and production APIs
- TLV-encoded, Base64 ZATCA QR code embedded on every invoice PDF and exposed for the B2C buyer
- Real-time Fatoora clearance (standard invoices, pre-issue) and reporting (simplified invoices, within the 24h window) via the ZATCA Integration API


