TaxPro GST Lib
User guide (Under Construction)
 
×
Menu
Index
  • TaxPro GSP API
TaxPro GSP API
 
TaxPro GSP Website
https://www.taxprogsp.co.in
TaxPro GSP API
GST API Base Url: https://gstapi.charteredinfo.com
EWB, eInvoice and AS API Base Url: https://einvapi.charteredinfo.com
TaxPro GSP API Sandbox (for testing)
Base Url: http://gstsandbox.charteredinfo.com
Sample Urls
GSP API: http://gstsandbox.charteredinfo.com/aspapi/v1.0/getkey
GST API: http://gstsandbox.charteredinfo.com/taxpayerapi/v0.2/authenticate
GST API: http://gstsandbox.charteredinfo.com/taxpayerapi/v0.3/returns
GST API: http://gstsandbox.charteredinfo.com/taxpayerapi/v0.2/ledgers
 
Steps to Access GST API:
 
GST Server is not directly accessible over Internet but would be accessible only through authorized GST Suvidha Providers (GSP).  Thus TaxPayer or Application Service Provider (ASP) who wishes to access GST API must create account with GSP and follow steps to gain access to GSP API.
 
1. Generate ASP Certificate: Generate Private and Public Key for Encryption.
 
2. Request Account on GSP: Request ASP Account from TaxPro GSP. (Wait for Ac Approval.) (White label ASP Also available.)
 
3. Download API Settings, and you are ready for GST API Access.
 
Above steps are trivial using TaxPro Products like TaxPro GST Desktop or Web Applicaiton, and TaxProGST.API library for .NET Framewrok 4.6
 
FOR ADVANCED USAGE:
API Access Scenarios using TaxPro UCL:
 
1. Connect to GSTN SandBox directly:
a. Use GSTN Sandbox Url e.g. http://devapi.gstsystem.co.in/taxpayerapi/vN.N/xxxxxx
b. Put "GSTN_SANDBOX" in ASP Name (in ApiSession.ApiSetting.ASPName)
c. Put  ASP 'ClientID' given for GSTN Sandbox access in ApiSession.ApiSetting.GSTNClientID and ClientSecret in  ApiSession.ApiSetting.GSTNClientSecret
d. This may be achieved by editing ApiSetting.json if you are using Default APISession arrangement provided by UCL. Or through ApiSettings Table of Database.
 
2. Connect to TaxPro SandBox directly:
a. Use TaxPro GSP API Sandbox Urls (as given in table above)
b. Put "SANDBOX" word in ASP Name (in ApiSession.ApiSetting.ASPName)
c. This would use TaxPro GSTN Sandbox Credentials.
d. If you want to use your ASP 'ClientID' given for GSTN Sandbox access,
    put the same in ApiSession.ApiSetting.GSTNClientID and ClientSecret in  ApiSession.ApiSetting.GSTNClientSecret
e. This may be achieved by editing ApiSetting.json if you are using Default APISession arrangement provided by UCL. Or through ApiSettings Table of Database.
 
3. Connect to Production using TaxPro ASPID:
a. Use TaxPro GSP production Urls (as given in table above)
b. TaxPro GSP Production Urls may be downloaded using API Call GETAPISETTING
c. Keep ApiSession.ApiSetting.GSTNClientID and ApiSession.ApiSetting.GSTNClientSecret Empty - usages TaxPro Credentials on GSTN
 
4. Connect to Production through TaxPro GSP using GSTN provided Credentials to GSTN registered ASP (thru TaxPro GSP):
a. Use TaxPro GSP production Urls (as given in table above)
b. TaxPro GSP Production Urls may be downloaded using API Call GETAPISETTING
c. Put ClientID in ApiSession.ApiSetting.GSTNClientID and ClientSecret in  ApiSession.ApiSetting.GSTNClientSecret
d. Alternatively Override AddHeaders method in APISession to add Production Credentials and then call base method. (Ref: Sample C# Code section)
 
--------