Skip to content

Get GSTIN Details#

This API returns a string containing taxpayer and registered transporter’s details for a given GSTIN number. If the environment is sandbox then e-invoice api will get hit and in case of production e-waybill api will get hit.

Route

/enriched/einv/{flynn-version}/{irp}/ewayapi/gstin-details/{gstin}

  • active ‘flynn-version’: v1.0
  • method: GET

URL Parameters#

Name Description Type
flynn-version version of the API
for example, v1.0
string
irp IRP Provider as per GST registration for e-invoicing enum (ni1, ni2)
gstin GSTIN number for which the details are required string

Headers#

All headers as mentioned in the Enriched E-Invoice API introduction.

Response#

200:#

Sample Response Body

    {
       "data": "{\"gstin\":\"29AKLPM8755F1Z2\",\"tradeName\":\"\",\"legalName\":\"NICTEST\",\"address1\":\"\",\"address2\":\"560079\",\"stateCode\":\"29\",\"pinCode\":\"560079\",\"txpType\":\"\",\"status\":\"ACT\",\"blkStatus\":\"\"}"
    }

Enriched e-invoice errors are mentioned under common errors.

Notes#

IRP - nic is deprecated. Instead of it please use ni1 or ni2