ERP Compliance / Business Central

ZATCA Phase 2 and Middle East E-Invoicing: Preparing Your Dynamics 365 ERP for Compliance

Dynamics 365 Zone ยท Oct 1, 2026

ZATCA Phase 2 e-invoicing integrated with Business Central, including XML generation, cryptographic validation, and Fatoora clearance

The Shift Toward Real-Time Tax Compliance in the Middle East

Tax authorities across the Middle East are moving away from post-event reporting toward real-time, transaction-level validation.

In Saudi Arabia, under ZATCA Phase 2, every B2B invoice must be transmitted, validated, and cryptographically stamped before reaching the buyer. UAE e-invoicing is not far behind, as the country develops its model around Peppol standards.

For CFOs and IT leaders managing GCC tax compliance, this is not a minor update to your billing process. Manual exports and third-party middleware outside your core ERP create audit risk, slow down invoicing, and introduce technical bottlenecks that worsen as you scale. The solution is to build e-invoicing directly into Microsoft Dynamics 365 Business Central, rather than bolting it on afterward.

Comparison of native Business Central AL integration with Fatoora and third-party middleware, highlighting reduced delays and higher reliability

What a Compliant Business Central E-Invoicing Setup Actually Requires

Four ZATCA Phase 2 e-invoicing steps: generate UBL 2.1 XML, add a cryptographic hash and signature, clear through Fatoora, and post to the VAT ledger

1. XML Generation That Conforms to the ZATCA Schema

ZATCA requires every invoice to be formatted in valid UBL 2.1 XML with specific business terms and tax categories. In Dynamics 365 Business Central, this means AL extensions that automatically map G/L accounts, customer registration data, line items, and VAT categories into compliant XML at posting time, without any manual conversion step.

2. Cryptographic Stamping Included in Posting

To prevent tampering or backdating, every invoice requires a SHA-256 hash, a sequential counter, and an ECDSA digital signature. The cleanest approach is to include this cryptographic stamping logic directly in the posting routine, generating the signature and QR code before finalizing the invoice, so it is automatically included in both the database record and the customer-facing PDF.

3. Direct API Integration with the Fatoora Portal

B2B invoices require real-time clearance; B2C invoices must be reported within 24 hours. This means direct Fatoora Portal integration that handles validation, stamp submission, and status responses without human intervention, and stores the clearance token directly on the Sales Invoice Header.

4. Multi-Entity, Multi-Currency Tax Mapping

Operating in Saudi Arabia, UAE, and other GCC markets means handling different VAT rates and reporting formats. In Business Central ERP, Structured Tax Area Codes and VAT Posting Groups keep each entity's tax ledger audit-ready without manual month-end patchwork.

Business Central tax ledger dashboard showing cryptographic stamps, invoice clearance statuses, and multi-currency VAT mapping for Saudi Arabia and the UAE

Where Most ZATCA Implementations Go Wrong

Third-Party API Latency. External middleware slows batch posting and causes timeouts during high-volume billing runs. Native AL connectors keep things lightweight.

Unvalidated Master Data. A missing tax ID or incorrect buyer address causes immediate rejection by the tax portal. Validation checks on the Customer Card catch it before posting, not afterward.

Untracked Clearance Rejections. When ZATCA rejects an invoice, it can remain pending indefinitely. An automated error log dashboard within Business Central helps finance teams catch it and resubmit it the same day.

GCC-Ready, Within the Same System You Already Run

At Dynamics 365 Zone, we build native e-invoicing AL extensions and ZATCA Phase 2 integrations specifically for Microsoft Dynamics 365 Business Central, so compliance stays within your core system, not around it. We also support Gulf-region businesses with Arabic-language functionality on AppSource, so finance teams across Saudi Arabia, UAE, Qatar, Oman, Kuwait, and Bahrain can run their ERP locally.

Ready to secure your e-invoicing architecture? Explore our ZATCA and E-Invoicing Integration Solutions.

Is your team running ZATCA Phase 2 natively within Business Central, or are you still relying on external middleware? Tell us in the comments.

Contact Dynamics 365 Zone

d365zone.com | +1 (707) 731-6403 | sales@d365zone.com

Dynamics 365 Zone

Microsoft Dynamics 365 Business Central implementation, integration, migration and support.

  • UAE Office: Office 1406, Vision Tower, Business Bay, Dubai
  • USA Office: InCorp Services, Inc., 55 W 14th St, Ste 101, Helena, MT 59601
  • Email: info@d365zone.com
  • Phone: +1 (707) 731-6403

Areas served: United States, United Kingdom, France, United Arab Emirates, Saudi Arabia, Australia, Netherlands, Canada, Ireland, Germany, Belgium, Switzerland, Luxembourg, Sweden, Norway, Denmark, Qatar, Kuwait, Bahrain, New Zealand, Singapore

Keep Reading