GST
Get GST Configuration
Retrieve the current GST configuration for your organization.
GET
/
v1
/
settings
/
gst
Get GST configuration
curl --request GET \
--url https://billing.example.com/v1/settings/gst \
--header 'Authorization: Bearer <token>'import requests
url = "https://billing.example.com/v1/settings/gst"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://billing.example.com/v1/settings/gst', 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://billing.example.com/v1/settings/gst",
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: Bearer <token>"
],
]);
$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://billing.example.com/v1/settings/gst"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://billing.example.com/v1/settings/gst")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://billing.example.com/v1/settings/gst")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"gstin": "<string>",
"state_code": "<string>",
"state_name": "<string>",
"sac_code": "998314",
"gst_rate": 18,
"pan": "<string>",
"legal_name": "<string>",
"trade_name": "<string>",
"address": "<string>",
"has_lut": true
}
}{
"error": {
"code": "BAD_REQUEST",
"message": "<string>"
}
}Example Request
curl -X GET https://api.recurso.dev/v1/settings/gst \
-H "Authorization: Bearer rsk_live_7f3a9b2c1d4e8f0a"
Response
{
"gstin": "29AABCT1332L1ZM",
"legal_name": "Recurso Technologies Pvt Ltd",
"trade_name": "Recurso",
"state_code": "29",
"sac_code": "998314",
"gst_rate": 18.0,
"einvoice_enabled": true,
"created_at": "2025-08-12T06:30:00Z",
"updated_at": "2026-03-15T10:45:22Z"
}
Response Fields
| Field | Type | Description |
|---|---|---|
gstin | string | The 15-character GST Identification Number. |
legal_name | string | The registered legal name of the business. |
trade_name | string | The trade or brand name. |
state_code | string | The two-digit state code as per GST regulations. |
sac_code | string | The Services Accounting Code for classification of services. |
gst_rate | number | The GST rate applied to invoices, as a percentage (e.g., 18.0 for 18%). |
einvoice_enabled | boolean | Whether e-invoicing through the IRP portal is enabled. |
created_at | string | ISO 8601 timestamp of when the configuration was created. |
updated_at | string | ISO 8601 timestamp of the last update. |
Notes
- Returns
404if no GST configuration has been set up for the organization. - The
state_codeis used to determine CGST/SGST vs IGST applicability on invoices. - When
einvoice_enabledistrue, invoices above the threshold will automatically be submitted to the IRP.
To update your GST configuration, use the Update GST Configuration endpoint.
Authorizations
Tenant API key obtained from POST /auth/register or POST /v1/developer/keys.
Query Parameters
Legal entity to scope the tax config to (Multi-Entity Books). Omit for the tenant's primary entity / default config.
Response
GST configuration.
Show child attributes
Show child attributes
⌘I
Get GST configuration
curl --request GET \
--url https://billing.example.com/v1/settings/gst \
--header 'Authorization: Bearer <token>'import requests
url = "https://billing.example.com/v1/settings/gst"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://billing.example.com/v1/settings/gst', 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://billing.example.com/v1/settings/gst",
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: Bearer <token>"
],
]);
$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://billing.example.com/v1/settings/gst"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://billing.example.com/v1/settings/gst")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://billing.example.com/v1/settings/gst")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"gstin": "<string>",
"state_code": "<string>",
"state_name": "<string>",
"sac_code": "998314",
"gst_rate": 18,
"pan": "<string>",
"legal_name": "<string>",
"trade_name": "<string>",
"address": "<string>",
"has_lut": true
}
}{
"error": {
"code": "BAD_REQUEST",
"message": "<string>"
}
}