Links

E-Invoicing KSA API Reference

1. API URLs to be used/whitelisted

For API requests, use the below information.

1.1 Sandbox Environment (QA, Testing)

API Type
Hostname
IP
Port
API
https://api-sandbox.cleartax.com
193.122.66.8
443
Base URL:
https://api-sandbox.cleartax.com/middle-east/ksa/einvoicing
Please note that the above URL is for API requests only. The corresponding frontend web application URL where you can log in and verify the data is https://app-sandbox.cleartax.com/middle-east/ksa/einvoicing/

1.2 Production Environment (Prod)

API Type
Hostname
IP
Port
API
https://api.cleartax.com
150.230.55.2
443
Base URL:
https://api.cleartax.com/middle-east/ksa/einvoicing
Please note that the above URL is for API requests only. The corresponding frontend web application URL where you can log in and verify the data is https://app.cleartax.com/middle-east/ksa/einvoicing/

2. SSL/TLS Certificate to be downloaded and installed

Note: These certificates are common for both sandbox and production environments.
Applicable from 9th Oct 2023
For hostname
Applicable
Certificate
*.cleartax.com
Up to 16th Oct 2024
wildcard.cleartax.com.cer
Intermediate
Up to 2nd Nov 2027
rapidssl_intermediate.cer
Root
Up to 15th Jan 2038
digicert_root.cer
Applicable up to 9th Oct 2023
API Type
Certificate(s)
E-Invoicing KSA
wildcard.cleartax.com.cer
rapidssl_intermediate_int.cer
digicert_int.cer
TLS Versions Supported: TLS 1.2
For detailed information on how to download the host, intermediate, and root certificates, you can always refer to How to get SSL Certificate. Alternatively, you can also download the certificates directly from the below links.