Get credit reversal and reclaim details
curl --request GET \
--url https://api.sandbox.co.in/gst/compliance/tax-payer/ledgers/itc-reclaim \
--header 'authorization: <api-key>' \
--header 'x-api-key: <api-key>'import requests
url = "https://api.sandbox.co.in/gst/compliance/tax-payer/ledgers/itc-reclaim"
headers = {
"authorization": "<api-key>",
"x-api-key": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {authorization: '<api-key>', 'x-api-key': '<api-key>'}};
fetch('https://api.sandbox.co.in/gst/compliance/tax-payer/ledgers/itc-reclaim', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.co.in/gst/compliance/tax-payer/ledgers/itc-reclaim",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"authorization: <api-key>",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sandbox.co.in/gst/compliance/tax-payer/ledgers/itc-reclaim"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("authorization", "<api-key>")
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sandbox.co.in/gst/compliance/tax-payer/ledgers/itc-reclaim")
.header("authorization", "<api-key>")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.co.in/gst/compliance/tax-payer/ledgers/itc-reclaim")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["authorization"] = '<api-key>'
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"code": 200,
"timestamp": 1795478400000,
"transaction_id": "00000000-0000-4000-8000-000046983937",
"data": {
"status_cd": "1",
"data": {
"gstin": "24MAYAS0100E9Z9",
"frdt": "01/09/2023",
"todt": "01/10/2023",
"opnbal": {
"igst": 100,
"cgst": 100,
"sgst": 100,
"cess": 100
},
"tr": [
{
"trandt": "03/09/2023",
"desc": "Opening Balance reported for <01/04/2022>",
"refno": "1324",
"itc4b2": {
"igst": 100,
"cgst": 100,
"sgst": 100,
"cess": 100
},
"clsbal": {
"igst": 100,
"cgst": 100,
"sgst": 100,
"cess": 100
}
},
{
"trandt": "03/09/2023",
"rtnprd": "082023",
"desc": "Filing of Form GSTR-3B/3BQ",
"refno": "AA0612214478854",
"itc4a5": {
"igst": 100,
"cgst": 100,
"sgst": 100,
"cess": 100
},
"itc4b2": {
"igst": 100,
"cgst": 100,
"sgst": 100,
"cess": 100
},
"itc4d1": {
"igst": 100,
"cgst": 100,
"sgst": 100,
"cess": 100
},
"clsbal": {
"igst": 100,
"cgst": 100,
"sgst": 100,
"cess": 100
}
}
],
"clsbal": {
"igst": 100,
"cgst": 100,
"sgst": 100,
"cess": 100
}
}
}
}Get credit reversal and reclaim details
Get the detailed Electronic Credit Reversal and Reclaimed Statement for the specified period.
GET
/
gst
/
compliance
/
tax-payer
/
ledgers
/
itc-reclaim
Get credit reversal and reclaim details
curl --request GET \
--url https://api.sandbox.co.in/gst/compliance/tax-payer/ledgers/itc-reclaim \
--header 'authorization: <api-key>' \
--header 'x-api-key: <api-key>'import requests
url = "https://api.sandbox.co.in/gst/compliance/tax-payer/ledgers/itc-reclaim"
headers = {
"authorization": "<api-key>",
"x-api-key": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {authorization: '<api-key>', 'x-api-key': '<api-key>'}};
fetch('https://api.sandbox.co.in/gst/compliance/tax-payer/ledgers/itc-reclaim', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.co.in/gst/compliance/tax-payer/ledgers/itc-reclaim",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"authorization: <api-key>",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sandbox.co.in/gst/compliance/tax-payer/ledgers/itc-reclaim"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("authorization", "<api-key>")
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sandbox.co.in/gst/compliance/tax-payer/ledgers/itc-reclaim")
.header("authorization", "<api-key>")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.co.in/gst/compliance/tax-payer/ledgers/itc-reclaim")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["authorization"] = '<api-key>'
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"code": 200,
"timestamp": 1795478400000,
"transaction_id": "00000000-0000-4000-8000-000046983937",
"data": {
"status_cd": "1",
"data": {
"gstin": "24MAYAS0100E9Z9",
"frdt": "01/09/2023",
"todt": "01/10/2023",
"opnbal": {
"igst": 100,
"cgst": 100,
"sgst": 100,
"cess": 100
},
"tr": [
{
"trandt": "03/09/2023",
"desc": "Opening Balance reported for <01/04/2022>",
"refno": "1324",
"itc4b2": {
"igst": 100,
"cgst": 100,
"sgst": 100,
"cess": 100
},
"clsbal": {
"igst": 100,
"cgst": 100,
"sgst": 100,
"cess": 100
}
},
{
"trandt": "03/09/2023",
"rtnprd": "082023",
"desc": "Filing of Form GSTR-3B/3BQ",
"refno": "AA0612214478854",
"itc4a5": {
"igst": 100,
"cgst": 100,
"sgst": 100,
"cess": 100
},
"itc4b2": {
"igst": 100,
"cgst": 100,
"sgst": 100,
"cess": 100
},
"itc4d1": {
"igst": 100,
"cgst": 100,
"sgst": 100,
"cess": 100
},
"clsbal": {
"igst": 100,
"cgst": 100,
"sgst": 100,
"cess": 100
}
}
],
"clsbal": {
"igst": 100,
"cgst": 100,
"sgst": 100,
"cess": 100
}
}
}
}Response schema
For successful responses, this schema describes the GSTN payload atdata.data.
View response JSON schema
Excel field reference
View Excel field reference
Authorizations
GST taxpayer access token returned by Verify OTP.
Query Parameters
Response
200 - application/json
GSTN response. data.status_cd is "1" for success and "0" for a business error.
- Option 1
- GSTN business error
A GSTN success or GSTN business-failure response. Both variants use HTTP 200.