Skip to main content
GET
/
gst
/
compliance
/
tax-payer
/
gstrs
/
gstr-2a
/
ecom
/
{year}
/
{month}
Get GSTR-2A ECOM
curl --request GET \
  --url https://api.sandbox.co.in/gst/compliance/tax-payer/gstrs/gstr-2a/ecom/{year}/{month} \
  --header 'authorization: <authorization>' \
  --header 'x-api-key: <x-api-key>' \
  --header 'x-api-version: <x-api-version>'
{
  "code": 200,
  "timestamp": 1769775673827,
  "data": {
    "status_cd": "0",
    "error": {
      "message": "No document found for the provided Inputs",
      "error_cd": "RET13509"
    }
  },
  "transaction_id": "7f8adc15-7345-4d26-ab40-ae9313e4ceaf"
}

Headers

x-api-key
string
required
x-api-version
string
required
authorization
string
required

Path Parameters

year
string
required

Year e.g. 2020

month
string
required

Month e.g. 01

Query Parameters

counterparty_gstin
string

optional Counter party GSTIN

from
string

Filter to fetch data from specified date. E.g., 28/01/2025

Response

200 - application/json
code
integer
required
timestamp
integer
required
data
object
required
transaction_id
string
required