Overview
ZATCA E-Invoicing is the shared Phase 2 compliance engine across Galaxy projects — TMS, FTMS and erpgalaxy. It signs invoices with ECDSA SECP256K1, handles CSR and CSID onboarding in Compliance and Production, produces UBL 2.1 XML with TLV QR codes, and clears and reports through FATOORA.
Vision
One trusted e-invoicing core that every Galaxy product reuses — compliant, auditable and production-hardened across KSA markets.
Features
Pure-Python ECDSA signing
SECP256K1 signing without a Java dependency.
CSR + CSID onboarding
Certificate signing request and onboarding in Compliance and Production.
UBL 2.1 + TLV QR
Signed XML invoices with TLV QR codes for the KSA requirement.
Clearance + reporting
FATOORA clearance for B2B and reporting for B2C.
Trip invoice hooks
Invoice generation wired into transport trips.
Production hardening
CSID renewal, hash chain, retry queues and monitoring.
Roadmap
Engine + FTMS module
DoneSigning, onboarding, UBL/TLV QR, clearance, reporting
Live onboarding
In ProgressReal sandbox credentials and CSID onboarding
Go live
In ProgressSandbox compliance pass and production CSID
Hardening
PlannedRenewal automation, PIH management, error handling, monitoring