Skip to main content
POST

Request body schema

View request body schema

Response schema

For successful responses, this resource describes the NIC payload at data.Data.

View JSON schema

Headers

authorization
string
required

E-Invoice access token. For token-generation steps, refer to the Generate E-Invoice Session recipe, then pass the token in the authorization header.

x-api-version
string
default:1.0.0

API version

x-api-key
string
required

API key for identification

Body

application/json
gstin
string
required
Required string length: 15
Pattern: ^([0-9]{2}[0-9A-Z]{13})$

Response

200 - application/json

200 GSTIN details fetched / 3001 Data not available

A successful NIC response or a NIC business-error response. Both variants use HTTP 200.

code
enum<integer>
required

HTTP-compatible Sandbox response code.

Available options:
200
Example:

200

timestamp
integer<int64>
required

Unix timestamp in milliseconds.

Example:

1763446641000

transaction_id
string
required

Request transaction identifier.

Example:

"7e7d3212-4a44-4c75-8a2a-39b34d4a826f"

data
object
required