Skip to content

Dev-3bdulrahman/zatca

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧾 ZATCA E-Invoicing — Laravel ERP Module

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages