E-Invoicing KSA API Reference

Environments

ClearTax E-Invoicing has 2 environments:
  1. 1.
    Sandbox Environment
  2. 2.
    Production Environment

1. Sandbox Environment

For testing, it is recommended to always use the sandbox environment.
For API requests to the sandbox environment, use the below information.

1.1 API URLs to be used/whitelisted

For API requests to the sandbox environment, use the below information.
API Type
Hostname
IP
E-Invoicing KSA
https://api-sandbox.cleartax.com
193.122.66.8
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/
Port: 443
TLS Versions Supported: TLS 1.2

1.2 SSL/TLS Certificate to be downloaded and installed

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.
API Type
Certificate(s)
E-Invoicing KSA
wildcard.cleartax.com.cer
rapidssl_intermediate_int.cer
digicert_int.cer

2. Production Environment

2.1 API URLs to be used/whitelisted

For API requests to the sandbox environment, use the below information.
API Type
Hostname
IP
E-Invoicing KSA
https://api.cleartax.com
150.230.55.2
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/
Port: 443
TLS Versions Supported: TLS 1.2

2.2 SSL/TLS Certificate to be downloaded and installed

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.
API Type
Certificate(s)
E-Invoicing KSA
wildcard.cleartax.com.cer
rapidssl_intermediate_int.cer
digicert_int.cer
Copy link
Outline
Environments
1. Sandbox Environment
1.1 API URLs to be used/whitelisted
1.2 SSL/TLS Certificate to be downloaded and installed
2. Production Environment
2.1 API URLs to be used/whitelisted
2.2 SSL/TLS Certificate to be downloaded and installed