This method provides the tax payer details for a given GSTIN number.
The format and details of GetGSTIN API request is depicted in following table.
URL | |
---|---|
Content-Type |
application/json |
Method |
GET |
URL Parameters |
GSTIN |
URL Parameter Description |
GSTIN – GSTIN number for which the details are required |
Request Header
Attributes | Description |
---|---|
client_id |
client id to be provided by E-Invoice System |
client_secret |
client secret to be provided by E-Invoice System |
Gstin |
GSTIN of the authenticated user |
user_name |
User name of the authenticated user |
AuthToken |
Authorization Token |
Attributes | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Status | Status of the Get GSTIN Details API request(values 1-Success and 0- Failure) | ||||||||||||||||||||||||||||||
Data | If Status is 1 | ||||||||||||||||||||||||||||||
ErrorDetails | If Status is ‘0’ | ||||||||||||||||||||||||||||||
InfoDtls | Any additional message to be conveyed would be passed. | ||||||||||||||||||||||||||||||
If Status is "1"
|
|||||||||||||||||||||||||||||||
If Status is "0"
|
Get GSTIN Response
"data" JSON (corresponds to the data element of GetGSTIN Response(Success))
{ "Gstin":"29AWGPV7107B1Z1", "TradeName":"VIKAS EXPORTS", "LegalName":"VIKASEXPORTS ", "AddrBnm":"RAMANAGARA", "AddrBno":"562160", "AddrFlno":"1st floor", "AddrSt":"6th main", "AddrLoc":"CHANNAPATNA", "StateCode":29, "AddrPncd":562160, "TxpType":"REG", "Status":"ACT", "BlkStatus":null }
JSON(in case of error)