Skip to main content
GET
Get E-Invoice by IRN

Response schema

For successful responses, these resources describe the GSTN payload at data.data.

View JSON schema

Only e-Invoices within the last 6 months can be fetched.

View Excel field reference

Authorizations

authorization
string
header
required

GST taxpayer access token returned by Verify OTP.

x-api-key
string
header
required

Sandbox API key from your Sandbox account.

Headers

x-api-version
string
default:1.0.0

API version

Path Parameters

irn
string
required

Response

200 - application/json

200 E-Invoice fetched / 200 EINV30118 Record not found / 200 EINV30119 E-Invoice older than 6 months

A GSTN success or GSTN business-failure response. Both variants use HTTP 200.

code
enum<integer>
required

The HTTP status code reported in the response body.

Available options:
200
Example:

200

timestamp
integer<int64>
required

The response timestamp in Unix epoch milliseconds.

Example:

1763446641000

transaction_id
string
required

The transaction identifier used to trace the request.

Example:

"41bb8041-fb83-4654-8d75-85a19f329158"

data
object
required

The GSTN success wrapper.