Developers

WonderFatoora API for Saudi e-invoicing

Create and issue Saudi tax invoices from your own systems through a REST API, with numbering, QR codes and the ZATCA workflow handled by WonderFatoora.

What you can build today

The WonderFatoora API (v1) lets a company on the Business or Enterprise plan create tax invoices from its own systems (an online store, a booking system, a point of sale or a subscription platform) and read them back with their ZATCA status. Issuing, legal numbering, the QR code and, for companies linked to ZATCA, clearance or reporting all happen inside WonderFatoora, exactly as for invoices made in the dashboard.

GET /api/v1/ping
Available Check that a key works and see the company it acts for.
POST /api/v1/invoices
Available Create a draft or issue a tax invoice, with an existing or inline customer, foreign currency and VAT exemption reasons.
GET /api/v1/invoices/{id}
Available Read an invoice with its items, totals and ZATCA status.
POST /api/v1/invoices/{id}/issue
Available Validate and issue a draft created earlier, and download its PDF or XML.
POST /api/v1/customers
Available Create, list and update customers, with the full national address.
POST /api/v1/invoices/{id}/notes
Available Create and issue credit and debit notes.
POST /api/v1/webhook-endpoints
Available Receive signed webhooks when invoices are issued, cleared, rejected or paid.
Each key acts for one company. The company is fixed by the key; no request can choose or change it.

Start here

Guides

Platform features

Build and test end to end: a sandbox company to try everything safely, webhooks instead of polling, OAuth app connections for SaaS products, and an MCP server for AI agents.

Use cases

Ready to build?

API access is part of the Business and Enterprise plans. Create a key in Settings → API keys and make your first call in minutes.