Skip to main content
POST
/
gst
/
compliance
/
tax-payer
/
gstrs
/
gstr-3b
/
{year}
/
{month}
/
offset-liability
Offset Liability
curl --request POST \
  --url https://api.sandbox.co.in/gst/compliance/tax-payer/gstrs/gstr-3b/{year}/{month}/offset-liability \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '{
  "pdcash": [
    {
      "liab_ldg_id": 0,
      "trans_typ": 30002,
      "ipd": 108051,
      "cpd": 0,
      "spd": 0,
      "cspd": 0,
      "i_intrpd": 0,
      "c_intrpd": 0,
      "s_intrpd": 0,
      "cs_intrpd": 0,
      "c_lfeepd": 0,
      "s_lfeepd": 0
    },
    {
      "liab_ldg_id": 0,
      "trans_typ": 30003,
      "ipd": 0,
      "cpd": 9000,
      "spd": 9000,
      "cspd": 0,
      "i_intrpd": 0,
      "c_intrpd": 0,
      "s_intrpd": 0,
      "cs_intrpd": 0,
      "c_lfeepd": 0,
      "s_lfeepd": 0
    }
  ],
  "pditc": {
    "liab_ldg_id": 0,
    "trans_typ": 30002,
    "i_pdi": 218140,
    "i_pdc": 25257,
    "i_pds": 25257,
    "c_pdi": 0,
    "c_pdc": 8127,
    "s_pdi": 0,
    "s_pds": 8127,
    "cs_pdcs": 0
  },
  "nettaxpay": [
    {
      "trans_typ": 30002,
      "trans_desc": "Other than reverse charge",
      "liab_ldg_id": 0,
      "sgst": {
        "intr": 0,
        "tx": 8127,
        "fee": 0
      },
      "cgst": {
        "intr": 0,
        "tx": 8127,
        "fee": 0
      },
      "cess": {
        "intr": 0,
        "tx": 0,
        "fee": 0
      },
      "igst": {
        "intr": 0,
        "tx": 376705,
        "fee": 0
      }
    },
    {
      "trans_typ": 30003,
      "trans_desc": "Reverse charge",
      "liab_ldg_id": 0,
      "sgst": {
        "intr": 0,
        "tx": 9000,
        "fee": 0
      },
      "cgst": {
        "intr": 0,
        "tx": 9000,
        "fee": 0
      },
      "cess": {
        "intr": 0,
        "tx": 0,
        "fee": 0
      },
      "igst": {
        "intr": 0,
        "tx": 0,
        "fee": 0
      }
    }
  ]
}'
{
"code": 200,
"data": {
"error": {
"error_cd": "RT-3BAS1070",
"message": "PARTIAL/EXCESS payment is not allowed.Please try again.If error persists quote error number RT-3BAS1070 when you contact customer care for quick resolution."
},
"status_cd": "0"
},
"timestamp": 1734593654000,
"transaction_id": "4f1382a4-d2ec-4903-b655-f8ff41e4db13"
}

Headers

Authorization
string
required

Taxpayer access token

x-api-version
string
default:1.0.0

API version

x-api-key
string
required

API key for identification

Path Parameters

year
string
required

Year e.g. 2020

month
string
required

Month e.g. 01

Body

application/json
RAW_BODY
string<json>
default:{ "pdcash": [ { "liab_ldg_id": 0, "trans_typ": 30002, "ipd": 24217, "cpd": 0, "spd": 0, "cspd": 0, "i_intrpd": 0, "c_intrpd": 0, "s_intrpd": 0, "cs_intrpd": 0, "c_lfeepd": 0, "s_lfeepd": 0 }, { "liab_ldg_id": 0, "trans_typ": 0, "ipd": 0, "cpd": 0, "spd": 0, "cspd": 0, "i_intrpd": 0, "c_intrpd": 0, "s_intrpd": 0, "cs_intrpd": 0, "c_lfeepd": 0, "s_lfeepd": 0 } ], "pditc": { "liab_ldg_id": 0, "trans_typ": 30002, "i_pdi": 421, "i_pdc": 1181, "i_pds": 1181, "c_pdi": 0, "c_pdc": 0, "s_pdi": 0, "s_pds": 0, "cs_pdcs": 0 } }
required

Response

200 - application/json

RT-3BGV1005 Invalid return period / 200 Partial or excess payment is not allowed / 200 Payment of tax done

code
number
Example:

200

data
object
timestamp
number
Example:

1763446641000

transaction_id
string
Example:

"71c5bead-7e71-4abf-8754-6e71180c0060"