Open API
The Open API allows businesses and developers to integrate directly with Fatoora using REST APIs.
This option is suitable for:
- Custom systems
- Middleware platforms
When to Use Open API
Use Open API if:
- No prebuilt integration exists
- Custom logic is required
- You need full control over data flow
- You are building middleware
Technical Overview
The API allows you to:
- Create transactions (Invoices, Credit Notes, Debit Notes)
- Submit documents for compliance
- Check transaction status
- Retrieve validation results
Authentication and request structure follow standard REST practices.
Integration Flow (API-Based)
- Authenticate with API credentials
- Create transaction payload
- Submit to Fatoora
- Retrieve response & compliance status
Responsibility Model
| Layer | Responsible Party |
|---|---|
| Data correctness | Integrating system |
| Submission logic | Fatoora |
| Compliance validation | ZATCA |
| Monitoring | User / Partner |
Best Practices
Professional Hint
- Prefer prebuilt integrations when available
- Use API only when necessary
- Always validate test submissions before production
- Monitor failed requests regularly
Related Topics