Skip to content

GST Filing Details

Retrieve GST return filing history for a GSTIN in a given financial year, including return type, filing dates, ARN numbers, status, and mode. Use this to assess filing compliance of business partners.

Endpoint

GET /vas-api/v1/gst-filing-details

Authentication

Requires OAuth2 Bearer token. Get your credentials →

Request

Headers

HeaderTypeRequiredDescription
AuthorizationstringYesBearer YOUR_ACCESS_TOKEN

Query parameters

ParameterTypeRequiredDescriptionExample
gstinstringYes15-character GSTIN29ABCDE1234F1Z5
financialYearstringYesFinancial year (YYYY-YYYY)2024-2025

Example request

bash
curl -X GET "https://api.api4business.com/vas-api/v1/gst-filing-details?gstin=29ABCDE1234F1Z5&financialYear=2024-2025" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
python
import requests

response = requests.get(
  "https://api.api4business.com/vas-api/v1/gst-filing-details",
  params={"gstin": "29ABCDE1234F1Z5", "financialYear": "2024-2025"},
  headers={"Authorization": "Bearer YOUR_ACCESS_TOKEN"}
)
print(response.json())
javascript
const url = new URL("https://api.api4business.com/vas-api/v1/gst-filing-details");
url.searchParams.set("gstin", "29ABCDE1234F1Z5");
url.searchParams.set("financialYear", "2024-2025");
const response = await fetch(url, {
  headers: { "Authorization": "Bearer YOUR_ACCESS_TOKEN" }
});
console.log(await response.json());
java
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
  .uri(URI.create("https://api.api4business.com/vas-api/v1/gst-filing-details?gstin=29ABCDE1234F1Z5&financialYear=2024-2025"))
  .header("Authorization", "Bearer YOUR_ACCESS_TOKEN")
  .GET().build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());

Response

Success (200)

The body is an array of filing records.

FieldTypeDescription
okbooleantrue if successful
responseCodeintegerHTTP status code
messagestringStatus message
body[].gstinstringThe GSTIN
body[].financialYearstringFinancial year
body[].gstReturnTypestringReturn type (GSTR1, GSTR3B, GSTR7, etc.)
body[].arnNumberstringAcknowledgement Reference Number
body[].filingPeriodstringFiling period (MMYYYY format, e.g., 022024 for Feb 2024)
body[].filingDatestringDate filed (YYYY-MM-DD)
body[].filingStatusstringFiled or Not Filed
body[].filingValiditystringY = valid, N = invalid
body[].filingModestringONLINE or OFFLINE
body[].filingYearstring/nullFiling year if different from financial year
body[].lastSyncedintegerLast sync timestamp from GSTN portal

Example response

json
{
  "ok": true,
  "responseCode": 200,
  "message": "Transmission OK",
  "body": [
    {
      "gstin": "29ABCDE1234F1Z5",
      "financialYear": "2023-2024",
      "gstReturnType": "GSTR3B",
      "arnNumber": "AA290324012345A",
      "filingPeriod": "022024",
      "filingDate": "2024-03-19",
      "filingStatus": "Filed",
      "filingValidity": "Y",
      "filingMode": "ONLINE",
      "filingYear": null,
      "lastSynced": 1725363347472
    }
  ]
}

Response headers

HeaderDescription
x-request-idUnique request identifier — log this for debugging and support

Error responses

StatusError CodeMessageResolution
400400Invalid GSTINCheck 15-character GSTIN format
400400Invalid RequestVerify both gstin and financialYear are present
401401Invalid CredentialsAccess token expired — request a new one
429429Quota ViolationRate limit exceeded — retry with backoff
500500Internal Server ErrorRetry after delay
503503Service Not AvailableGSTN service temporarily down — retry

Released under the API4Business Terms of Service