Prerequisites: You must have an active GST account and access to the GST Portal.
Enable API Access
To automate GST Compliance, API access needs to be enabled. This can be done via the GST Portal by following the below steps.
Log in to GST Account
Navigate to gst.gov.in and log in with your GST username and password. Click on View Profile
From the Dashboard, click on View Profile to access your account settings.
Navigate to Manage API Access
In the Quick Links section of the left sidebar, locate and click on Manage API Access.
Enable API Request
Toggle the Enable API Request setting to Yes to activate API access for your GST account.
Set Duration
Select 30 days as the Duration for your API access.
Once the taxpayer has enabled the API Access, an authenticated session can be created for the GST entity with the below APIs.
- Generate OTP
- Verify OTP
Session
An authenticated session is valid for 6 hours and can be refreshed before expiry till the duration set on the GST Portal per the above steps.
Note: After the set GST Portal duration has passed or token is not refreshed before expiry, OTP verification is to be done again for a new authenticated session.