Sandbox for India Compliance
How to set up sandbox?
Sandbox comes pre-configured with credentials. Sandbox can be enabled from your site configuration as below.
sh
bench --site [your-site-name] set-config ic_api_sandbox_mode 1
You may disable the sandbox by setting the ic_api_sandbox_mode
to 0. You must be logged in to your India Compliance Account to use the sandbox. However, any use of API calls for sandbox will not be billed.
Sandbox for Public APIs
Public APIs are APIs to fetch information that is publicly available to any registered user. This can be used to check
- Registration Information
- Return Filling details
- GSTIN Status
- and much more.
Only one GSTIN is supported for Sandbox of Public APIs 33GSPTN9771G3ZP
. Also, not all mandatory information might be available for the same.
Sandbox for e-Waybill
A lot of functionality has been developed around e-Waybill, and you may test it out in the Sandbox mode as you like with the following restrictions (for sandbox only):
- Although the distance is auto-populated for live APIs, it's not the same for the sandbox. So you may need to give a dummy distance between 1 to 4000 km.
- Use
05AAACG2140A1ZL
as transporter GSTIN if required. - You can use all other functionality, including print, attach, update or cancel, as you need to test the APIs
Sandbox for e-Invoice
You can test e-Invoice and its interaction with e-Waybill with the following restrictions (for sandbox only):
- You shall not be able to print or attach e-Waybill print. This is not possible as APIs are different with different user credentials.
- You will not be able to update the transporter or vehicle information from the sandbox.
- Other than this, you can test the generation or cancellation of e-Invoice & e-Waybill.