TaxPro GST Lib
User guide (Under Construction)
 
×
Menu
Index

Auth API

Sr.No.
Description
API Method
Method Parameter (M-Mandatory, O-Optional)
Remark
1
Get OTP for TaxPayer
Authorization on GST API
AuthAPI.GetOTPAsync
AuthAPI.GetOTP
  • GSTSession GstSession - M
 
2
Get Authorization Token
AuthAPI.GetAuthTokenAsync
  • GSTSession ApiSession - M,
  • string OTP - M
 
 
3
Refresh Authorization token
AuthAPI.RefreshAuthTokenAsync
  • GSTSession ApiSession -M
Internally call auto in StartAPITxn if APISession.EnableAutoRefreshTokenOnApiCall is true. Generally Authtoken Expires  after 6 hr but it can be refresh within 24 Hour from First Authtoken Call.
Example: If First Authtoken Call 10 AM it will expire on 4 PM but you can refresh before next day 10AM.
Note: It is recommended to refresh authtoken within 18 Hr from expiry time to make session active without need to take OTP from taxpayer.
4
Request EVC OTP for GST Return Filing with EVC
AuthAPI.GetEVCOTPAsync
  • GSTSession ApiSession - M,
  • string GSTIN - M,
  • string Formtype - M,
  • string PAN - M
In PAN provide PAN of Authorize Person registered on GST Portal under provided GSTIN.
FormType Example:
"R1" - For GSTR-1
"R1A" - For GSTR-1A
"R2X" - For GSTR-2X
"R3B" - For GSTR-3B
"R4X" - For GSTR-4 Annual Return
"R6" - For GSTR-6
"R7" - For GSTR-7
"R9" -  For GSTR-9
"R9C" - For GSTR-9C
5
Logout GST API Session
AuthAPI.LogoutAPISessionAsync
  • GSTSession ApiSession -M