Danielius Studio

Platforms & marketplaces

ZATCA Phase 2 Integration

Wire your existing app into ZATCA via ApiZatca, with a cron recovery loop and idempotency guard so retries never double - submit.

Existing Next.js App invoices, credit notes, dashboard ZATCA Service Module replaces /lib/zatca mock Onboarding Wizard one-time setup Live Submission per-invoice path Cron Recovery pending sweeper CSR Generation sign request OTP + CSID Vault encrypted at rest Pending Queue zatcaStatus = PENDING B2B Clearance real-time B2C Reporting 24h batch Credit Note Flow refs original UUID Idempotency Guard prevents double-submit ApiZatca Wrapper XML, signing, QR ZATCA Sandbox / Prod mode-switched Response Handler parses cleared / rejected QR + Hash Persist uuid, hash, qrCode, response Arabic Error Mapper code lookup Status Updater invoice + credit note rows Status Badges UI معتمدة / مرفوضة / قيد الإرسال Pending Counter dashboard alert Compliance Panel green / yellow / red wires into first-run setup on issue every 1 to 4h step 1 step 2 submit hash if B2B if B2C if refund fetch retry batch deduped call ZATCA_MODE cleared / rejected qr + hash if rejected update row renders fail count live re-queue if stuck

Want this built?

I architect, build, and ship engagements like this one.