Skip to main content

Get GSTIN from PAN

Module ID

Name of the ModuleDocument Supported
module_kyb_gstin_from_panPAN for Business

Module Description

This module fetches the Goods and Services Tax Identification Number(GSTIN) against a business' Permanent Account Number(PAN) input.

Module Inputs

The following table provides the details of the parameter required for the module.

ParameterMandatory or OptionalDescription
pan_idMandatoryThe unique 10-digit alphanumeric PAN ID input. It should follow the 'CCCCCDDDDC' format 'C' represents a character and 'D' represents a digit.

Module Configurations

This module does not support any additional configurations.

Module Outputs

The following section provides the sample and the corresponding details of the various responses you can expect from the module.

You will receive a success response in a format similar to the following code sample if the request is correct.
{
"status": "success",
"statusCode": "200",
"result": {
"status": 200,
"data": {
"code": "1002",
"message": "Found 2 records",
"results": [
{
"document_type": "GSTIN",
"document_id": <ID number of GST document>,
"status": "Active",
"state": <state of registration>,
"state_code": <2 digit numeral code>
},
{
"document_type": "GSTIN",
"document_id": <ID number of GST document>,
"status": "Active",
"state": <state of registration>,
"state_code": <2 digit numeral code>
}
]
},
"timestamp": 1664424036317
}
}

Success Response Details

A success response from the module reflects the success status with a status code of 200 and a result object containing the response data with the following attributes-value pair.

AttributesDescriptionValues Returned
messageThis field provides a summary of the response. For a success response this field returns the count of the number of records found against the PAN input. For a failure response this field returns a summary of the reason for failure."Found [[number]] records" or "No matching GSTIN found for the given PAN".
document_typeIt returns the type of the document fetched, which will always be GSTIN in this case."GSTIN".
document_idIt returns the unique ID number of the GST document."GSTIN".
statusIt returns the validity of the document.For example, "Active".
stateIt returns the name of the state under which the GSTIN is registered.N/A - It depends on the actual value in the input document.
state_codeIt returns the 2 digit numeral code of the state under which the GSTIN is registered.N/A - It depends on the actual value in the input document.
Was this helpful?
Ask AIBeta
Hi! How can I help?
Ask me anything about HyperVerge products, APIs, and SDKs.
Try asking: