ZATCA Phase 2 E-Invoicing compliance module for Laravel ERP

Maintainers

Package info

github.com/Dev-3bdulrahman/zatca

pkg:composer/dev-3bdulrahman/zatca

Transparency log

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2026-07-22 05:55 UTC

This package is auto-updated.

Last update: 2026-07-25 21:22:17 UTC


README

Latest Version PHP Version Laravel License

A complete ZATCA Phase 2 E-Invoicing Compliance module for Laravel ERP systems in Saudi Arabia. Generate UBL 2.1 XML invoices (Standard & Simplified), produce ECDSA cryptographic stamps, generate compliant Phase 2 QR codes, and connect to the ZATCA Fatoora portal — with full API and Livewire admin interface.

Features

  • ZATCA Phase 2 (Fatoora Integration Phase) Full Compliance
  • Standard Tax Invoice (B2B) & Simplified Tax Invoice (B2C) XML Generation (UBL 2.1)
  • Cryptographic Stamp & SHA-256 Invoice Hashing
  • Phase 2 Compliant Base64 TLV QR Code Generation
  • CSID Certificate Onboarding (Compliance CSID & Production CSID)
  • ZATCA API Integration for Invoice Clearance & Reporting
  • Seamless Integration with Sales & Accounting Modules
  • REST API endpoints
  • Arabic & English translations

Requirements

Dependency Version
PHP ^8.2 | ^8.3
Laravel ^11.0 | ^12.0
PHP Extensions ext-simplexml, ext-openssl

Installation

composer require dev-3bdulrahman/zatca

Publish and run migrations:

php artisan vendor:publish --provider="Dev3bdulrahman\Zatca\ZatcaServiceProvider"
php artisan migrate

Service Provider

Auto-discovered via Laravel package discovery. Manual registration in bootstrap/providers.php:

Dev3bdulrahman\Zatca\ZatcaServiceProvider::class,

Changelog

See CHANGELOG.md for release history.

License

MIT License © Abdulrahman