API Reference
Esnad E-Invoicing API
Official API documentation for Esnad (ZATCA Phase 2 e-invoicing middleware). Integrate Saudi ZATCA-compliant e-invoicing into your application with a single API.
Authentication
API key from the dashboard; sandbox and production keys.
EGS Units
Create and manage EGS units, onboarding, and production CSID.
Invoices
Simplified (B2C), standard (B2B), credit notes, and debit notes.
Webhooks
Configure webhooks and receive invoice lifecycle events.
Quick reference
All endpoints are relative to your API base URL. For production, use the URL provided when you signed up (e.g. https://api.esnadapi.com).
Every request requires the Authorization: Bearer YOUR_API_KEY header. Get your API key from the dashboard at app.esnadapi.com.