AutoZATCA

ZATCA Phase 2 for Odoo 17 Community

Free LGPL-3 CE stack by Abdulhkim Alahmad for Fatoora Wave 23/24 (2026): vaulted CSIDs, fail-closed B2B, dead-letter ops, OWL dashboard. Not an Enterprise clone. Not a fake approval badge. Not a paid product.

Built for Fatoora operations

One purpose per surface: onboard safely, clear Standard invoices, report Simplified ones, and keep secrets out of plaintext reads.

  • Encrypted CSID vault

    Credentials resolve through get_secret() — never via public read().

  • Fail-closed B2B

    Uncleared Standard invoices cannot reach customer print, PDF, or email.

  • 14 compliance scenarios

    Onboarding suite for standard and simplified ± CN/DN, multi-line, discount, charges, multi-tax, export, exempt.

  • PATCH PCSID renew

    Official PATCH /production/csids with OTP → CCSID → PCSID fallback and expiry mail cron.

  • Portal XML / QR

    Partner-scoped customer downloads — never anonymous.

  • Thermal 80mm

    Bilingual QR-forward simplified PDF for retail printers.

  • OWL ops dashboard

    Clearance and reporting rates, SLA risk, PCSID expiry, hash-chain health.

  • Dead-letter queue

    Rejected and error submissions in one ops list — open the invoice or resubmit.

  • Outbound proxy + DR export

    Optional HTTPS proxy for Fatoora egress; Manager-only passphrase-encrypted credential backup.

  • AutoZATCA POS

    Optional sibling: POS orders → Simplified invoices with Phase 2 QR on the receipt.

  • MyFatoorah Payment

    Independent GCC hosted checkout — never share API tokens with the ZATCA vault.

Install overview

Add the repository root to addons_path, install modules, onboard an EGS with a Fatoora OTP, then sign and submit. No tutorials or go-live service are included with this free listing.

  1. Install Python deps from requirements.txt and set AUTOZATCA_VAULT_KEY.
  2. Install autozatca (and optionally autozatca_pos, payment_autozatca_myfatoorah).
  3. Accounting → Configuration → ZATCA / Fatoora → Onboard EGS.
  4. Validate clearance and reporting in Fatoora Simulation before Production.

أوتوزاتكا — الفوترة الإلكترونية لزاتكا

وحدة مجانية بترخيص LGPL-3 من عبدالحكيم الأحمد — تنفيذ أصلي لأودو ١٧ مجتمع حول معالج تهيئة، خزينة CSID مشفّرة، ولوحة OWL. بدون دعم تجاري أو دروس أو خدمة تهيئة.

  • مجتمع أولاً · خزائن CSID · إغلاق فشل B2B · ١٤ سيناريو امتثال
  • تجديد PATCH · بوابة XML/QR · حراري ٨٠مم · لوحة OWL · قائمة الرسائل الميتة
  • وكيل HTTPS اختياري · تصدير استرداد مشفّر للمدير · موجة ٢٣/٢٤ للمنشآت الصغيرة
  • وحدة شقيقة MyFatoorah للدفع · وحدة نقاط البيع الاختيارية autozatca_pos
  • لا ندّعي «اعتماد زاتكا الرسمي» ولا نعرض تقييمات وهمية

خدمات خارجية مطلوبة: اتصال بواجهات فاتورة لزاتكا ورمز OTP من بوابة المكلف. اختبار المحاكاة مسؤولية المستخدم.

As-is — no commercial support

Free Apps listing for name recognition only by Abdulhkim Alahmad. There is no commercial support SLA, no onboarding service, and no tutorials included. Use at your own risk. Simulation / Production UAT in your own Fatoora (and MyFatoorah) portal is entirely your responsibility.

AutoZATCA integrates with ZATCA Fatoora Phase 2 APIs for Wave 23/24 SME tooling. It does not claim to be “ZATCA approved,” an Odoo Enterprise localization clone, a paid SKU, or a source of fabricated ratings.