In the GSTR-2A signed URL, API user needs to pass the GSTR-2A payload as a PUT request. The payload needs to be as per the GSTN schema, which can be fetched with the API linked below.
Sample Payload
{
"data": {
"gstin": "24ABKCS2033B1ZV",
"fp": "072024",
"b2b": [
{
"ctin": "24AAACB2894G1ZT",
"cfs": "Y",
"dtcancel": "27-Aug-19",
"cfs3b": "Y",
"fldtr1": "12-May-20",
"flprdr1": "Apr-18",
"inv": [
{
"chksum": "AflJufPlFStqKBZ",
"inum": "HT2424I001485717",
"idt": "18-07-2024",
"val": 4718.82,
"pos": "24",
"rchrg": "N",
"inv_typ": "R",
"diff_percent": 0.65,
"aspd": "Dec-18",
"atyp": "R",
"srctyp": "e-Invoice",
"irn": "a2sc8rhd55b3ceed1dbsc8rh29ada8d103sc8rha8e5d92sc8rhae75641369580",
"irngendate": "18-07-2024",
"itms": [
{
"num": 1,
"itm_det": {
"rt": 18,
"txval": 3999,
"iamt": 0,
"camt": 359.91,
"samt": 359.91,
"csamt": 0
}
}
]
},
{
"chksum": "AflJufPlFStqKBZ",
"inum": "HT2424I001485720",
"idt": "06-07-2024",
"val": 4718.82,
"pos": "24",
"rchrg": "N",
"inv_typ": "R",
"diff_percent": 0.65,
"aspd": "Dec-18",
"atyp": "R",
"srctyp": "e-Invoice",
"irn": "z4sc8rhd55b3ceed1dbsc8rh29ada8d103sc8rha8e5d92sc8rhae75641369580",
"irngendate": "06-07-2024",
"itms": [
{
"num": 1,
"itm_det": {
"rt": 18,
"txval": 3999,
"iamt": 0,
"camt": 359.91,
"samt": 359.91,
"csamt": 0
}
}
]
},
{
"chksum": "AflJufPlFStqKBZ",
"inum": "HT2424I001485721",
"idt": "07-07-2024",
"val": 4718.82,
"pos": "24",
"rchrg": "N",
"inv_typ": "R",
"diff_percent": 0.65,
"aspd": "Dec-18",
"atyp": "R",
"itms": [
{
"num": 1,
"itm_det": {
"rt": 18,
"txval": 3999,
"iamt": 0,
"camt": 359.91,
"samt": 359.91,
"csamt": 0
}
}
]
},
{
"chksum": "AflJufPlFStqKBZ",
"inum": "HT2424I001485718",
"idt": "18-07-2024",
"val": 4718.82,
"pos": "24",
"rchrg": "N",
"inv_typ": "R",
"diff_percent": 0.65,
"aspd": "Dec-18",
"atyp": "R",
"srctyp": "e-Invoice",
"irn": "a3sc8rhd55b3ceed1dbsc8rh29ada8d103sc8rha8e5d92sc8rhae75641369580",
"irngendate": "18-07-2024",
"itms": [
{
"num": 1,
"itm_det": {
"rt": 18,
"txval": 3999,
"iamt": 0,
"camt": 359.91,
"samt": 359.91,
"csamt": 0
}
}
]
}
]
}
],
"b2ba": [
{
"ctin": "01AABCE2207R1Z5",
"cfs": "Y",
"dtcancel": "27-Aug-19",
"cfs3b": "Y",
"fldtr1": "12-May-20",
"flprdr1": "Apr-18",
"inv": [
{
"chksum": "AflJufPlFStqKBZ",
"inum": "S008400",
"idt": "24-07-2024",
"oinum": "S008400",
"oidt": "24-07-2024",
"val": 6999,
"pos": "06",
"rchrg": "N",
"inv_typ": "R",
"diff_percent": 0.65,
"aspd": "Dec-18",
"atyp": "R",
"srctyp": "e-Invoice",
"irn": "abcdxyzd55b3ceed1dbsc8rh29ada8d103sc8rha8e5d92sc8rhae75641369580",
"irngendate": "18-07-2024",
"itms": [
{
"num": 1,
"itm_det": {
"rt": 18,
"txval": 5931.36,
"iamt": 1067.64,
"camt": 0,
"samt": 0,
"csamt": 0
}
}
]
}
]
}
],
"cdn": [
{
"ctin": "07AAJCA9880A1ZL",
"cfs": "Y",
"dtcancel": "27-Aug-19",
"cfs3b": "Y",
"fldtr1": "12-May-20",
"flprdr1": "Apr-18",
"nt": [
{
"chksum": "AflJufPlFStqKBZ",
"ntty": "C",
"nt_num": "ACN2324000103340",
"nt_dt": "13-07-2024",
"p_gst": "N",
"inum": "915914",
"idt": "13-07-2024",
"val": 3677.99,
"diff_percent": 0.65,
"cflag": "A",
"updby": "R",
"d_flag": "Y",
"inv_typ": "R",
"pos": "07",
"rchrg": "N",
"aspd": "Dec-18",
"atyp": "R",
"srctyp": "e-Invoice",
"irn": "1f33d0856cf71d6f836ed56cd20648994ba0332fe2e3659a2638e01047d12ce9",
"irngendate": "13-07-2024",
"itms": [
{
"num": 1,
"itm_det": {
"rt": 18,
"txval": 3116.94,
"iamt": 561.05,
"camt": 0,
"samt": 0,
"csamt": 0
}
}
]
},
{
"chksum": "AflJufPlFStqKBZ",
"ntty": "C",
"nt_num": "ACN2324000103341",
"nt_dt": "13-07-2024",
"p_gst": "N",
"inum": "915914",
"idt": "13-07-2024",
"val": 3677.99,
"diff_percent": 0.65,
"cflag": "A",
"updby": "R",
"d_flag": "Y",
"inv_typ": "R",
"pos": "07",
"rchrg": "N",
"aspd": "Dec-18",
"atyp": "R",
"srctyp": "e-Invoice",
"irn": "4b6c5d74157759eb327d98c6473a9355ea1bac713a5325d1b9f214d8be15d154",
"irngendate": "13-07-2024",
"itms": [
{
"num": 1,
"itm_det": {
"rt": 18,
"txval": 3116.94,
"iamt": 561.05,
"camt": 0,
"samt": 0,
"csamt": 0
}
}
]
},
{
"chksum": "AflJufPlFStqKBZ",
"ntty": "C",
"nt_num": "ACN2324000103342",
"nt_dt": "13-07-2024",
"p_gst": "N",
"inum": "915914",
"idt": "13-07-2024",
"val": 3677.99,
"diff_percent": 0.65,
"cflag": "A",
"updby": "R",
"d_flag": "Y",
"inv_typ": "R",
"pos": "07",
"rchrg": "N",
"aspd": "Dec-18",
"atyp": "R",
"itms": [
{
"num": 1,
"itm_det": {
"rt": 18,
"txval": 3116.94,
"iamt": 561.05,
"camt": 0,
"samt": 0,
"csamt": 0
}
}
]
},
{
"chksum": "AflJufPlFStqKBZ",
"ntty": "C",
"nt_num": "XYZ2324000103340",
"nt_dt": "13-07-2024",
"p_gst": "N",
"inum": "915914",
"idt": "13-07-2024",
"val": 3677.99,
"diff_percent": 0.65,
"cflag": "A",
"updby": "R",
"d_flag": "Y",
"inv_typ": "R",
"pos": "07",
"rchrg": "N",
"aspd": "Dec-18",
"atyp": "R",
"srctyp": "e-Invoice",
"irn": "7859346583894f8602c10f5a1d4a40265c90824ad63ba999f04836a57aa70e7c",
"irngendate": "13-07-2024",
"itms": [
{
"num": 1,
"itm_det": {
"rt": 18,
"txval": 3116.94,
"iamt": 561.05,
"camt": 0,
"samt": 0,
"csamt": 0
}
}
]
}
]
}
],
"cdna": [
{
"ctin": "01AAAAP1208Q1ZS",
"cfs": "Y",
"dtcancel": "27-Aug-19",
"cfs3b": "Y",
"fldtr1": "12-May-20",
"flprdr1": "Apr-18",
"nt": [
{
"chksum": "AflJufPlFStqKBZ",
"ntty": "C",
"nt_num": "533515",
"nt_dt": "23-07-2024",
"ont_num": "533515",
"ont_dt": "23-07-2024",
"p_gst": "N",
"inum": "915914",
"idt": "23-07-2024",
"val": 472,
"diff_percent": 0.65,
"d_flag": "Y",
"pos": "24",
"rchrg": "N",
"inv_typ": "R",
"aspd": "Dec-18",
"atyp": "R",
"srctyp": "e-Invoice",
"irn": "xyzjfkid55b3ceed1dbsc8rh29ada8d103sc8rha8e5d92sc8rhae75641369580",
"irngendate": "18-07-2024",
"itms": [
{
"num": 1,
"itm_det": {
"rt": 5,
"txval": 400,
"iamt": 72,
"camt": 0,
"samt": 0,
"csamt": 0
}
}
]
}
]
}
]
}
}