Skip to main content
GET
Get IMS invoice file details
Pass the file-generation token returned by Get Invoices, using the same taxpayer session and provider. If GSTN returns IMS_FILEGEN_03, retry later with the same token. When files are ready, download every file in data.data.files. Each download link is valid for one day and needs no authorization header.

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

x-source
string

Provider selection. Use the same value as the request that returned the token.

Query Parameters

token
string
required

File-generation token returned by GSTN for this taxpayer. Pass the value unchanged.

Minimum string length: 1

Response

Download links or an unchanged GSTN business error.

code
enum<integer>
required
Available options:
200
timestamp
integer<int64>
required

Response time in Unix milliseconds.

transaction_id
string<uuid>
required

Identifier for this API request.

data
object
required