metaSOFT International
Financial & Operations Module

ZATCA E-Invoicing Compliance

metaSOFT ZATCA compliance handles Saudi e-invoicing from invoice generation to FATOORAH portal clearance and long-term archiving — cryptographic signing, TLV-encoded QR codes, Phase 1 reporting and Phase 2 clearance are fully automated, with zero manual steps required from billing staff.

Phase 1 & 2
Compliant
FATOORAH
Integrated
6-year
Compliant archive
Benefits

What your compliance team gains on day one.

Phase 1 and Phase 2 compliance

Simplified invoices (B2C) and tax invoices (B2B) are generated, cryptographically signed and submitted to ZATCA in Phase 1 reporting mode and Phase 2 clearance mode — automatically, with no manual step.

Automatic QR code generation

Every simplified e-invoice carries a QR code generated per ZATCA TLV encoding specification; no manual QR stamping or third-party QR service is required.

FATOORAH portal clearance

B2B standard tax invoices are submitted to FATOORAH for clearance automatically; the clearance UUID is stored against the invoice record in the system.

ZATCA cryptographic signing

Invoices are signed with the facility's ZATCA-issued cryptographic stamp certificate; the signed invoice is tamper-evident and verifiable by ZATCA authorities.

6-year WORM-compliant archive

Signed invoices and their UBL 2.1 XML are stored in the Document & Imaging System with a WORM-compliant retention policy; any signed invoice is retrievable in under 60 seconds for audit.

Automated rejection handling

Invoices rejected by ZATCA are flagged with error codes; the correction workflow routes the invoice back to billing staff with the specific rejection reason, and resubmission is tracked.

Feature highlights

Every ZATCA requirement, built into the workflow.

Invoice generation

  • Automatic invoice trigger from billing module on approval
  • Standard tax invoice (B2B) and simplified invoice (B2C) types
  • Credit note and debit note with original invoice reference
  • Multi-line invoice with VAT breakdown per line item

Cryptographic signing

  • UBL 2.1 XML invoice generation per ZATCA standard
  • ZATCA SDK integration for cryptographic stamp signing
  • ZATCA SDK v238-R3.3.9 · X.509 digital signing · SHA-256 cryptographic hashing · Fatoorah XML generation · outbox file management for signed invoice delivery
  • Certificate lifecycle management (CSR, onboarding, production)
  • Signing error alerting and automatic retry logic

FATOORAH clearance

  • B2B clearance request submission via ZATCA API
  • Real-time clearance response handling and UUID storage
  • B2C reporting mode submission for simplified invoices
  • Retry and error handling for portal connectivity issues

QR code & PDF

  • TLV-encoded QR generation per ZATCA specification
  • QR embedding in PDF invoice for patient and payer copy
  • QR validation tool for internal quality checks
  • Mobile QR scanner for patient and payer verification at cashier

Archive & retrieval

  • Signed XML and PDF invoice stored in DIS
  • WORM policy enforcement — tamper-proof, non-deletable
  • 6-year mandatory retention period management
  • Audit-request invoice retrieval in under 60 seconds

Compliance monitoring dashboard

  • ZATCA submission success rate by day and facility
  • Rejection reason trend analysis and root-cause categorisation
  • Certificate expiry alert with advance notice
  • Regulatory update notification and compliance impact assessment
Part of metaSOFT ERP

ZATCA compliance is a layer built into the standard invoice approval workflow — not a separate module to manage.

ZATCA compliance is not a module that billing staff interact with separately — it is a layer built into the standard invoice approval workflow. When a billing supervisor approves an invoice, the ZATCA signing and FATOORAH submission happen automatically in the background. The billing staff sees the clearance status on the invoice record; they do not manage certificates, XML files or portal sessions themselves.

The 6-year archive requirement is handled by the Document & Imaging System (DIS) module, which stores the signed XML and PDF for every issued invoice with a WORM-compliant retention policy. If the ZATCA authority requests an audit sample, the invoices are retrieved in under 60 seconds using the invoice number, date range or VAT registration number as search criteria — and the retrieval event is logged in the audit trail automatically.