退税申报批次数据获取接口
POST
/post/rest/taxrefund/dii此接口支持通过关键字(申报年月,业务类型,流水号等字段)获取企业自身的退税申报批次数据包含:申报年月,申报批次,退税金额,消费税金额,审核状态,操作时间。
请求参数
Header 参数
Content-Type
string
可选
示例值:
application/json
Body 参数application/json
authorize
object
安全凭证
appSecId
string
密钥ID
平台随机生成
appSec
string
签名串
根据密钥ID和KEY生成的签名串
globalInfo
object
接口信息
appId
string
接口ID
例:TSSB
version
string
接口版本号
例:V1.0
interfaceCode
string
接口编码
例:TAXREFUND.DOWN
enterpriseCode
string
企业编码
dataExchangeId
string
接口数据加密
例:默认值dataExchangeId
data
object
获取条件参数
由获取条件参数通过用Base64加密生成的字符串
sbYm
string
申报年月
例:yyyy或yyyyMM
optStartDate
string
最新操作开始日期
例:yyyy-MM-dd
optEndDate
string
最新操作结束日期
例:yyyy-MM-dd
downType
string
业务类型
WMQY:外贸企业
SCQY:生产企业
page
integer
当前第几页
默认从1开始
pageSize
integer
每页条数
默认20
示例
{
"authorize": {
"appSecId": "2AE5415E6FBD2BE9E1B011E914FCA94C",
"appSec": "J9a5RICPd0lSlIjvyrEHM6c2VuY="
},
"globalInfo": {
"appId": "TSSB",
"version": "V1.0",
"interfaceCode": "TAXREFUND.GET",
"enterpriseCode": "TEST",
"dataExchangeId": "dataExchangeId"
},
"data": "eyJzYlltIjoiMjAyMCIsImRvd25UeXBlIjoiV01RWSIsInBhZ2UiOjEsInBhZ2VTaXplIjoxMCwib3B0U3RhcnREYXRlIjoiIiwib3B0RW5kRGF0ZSI6IiJ9"
}
//data 解密请求参数
{
"sbYm": "2020",
"downType": "WMQY",
"page": 1,
"pageSize": 10,
"optStartDate": "",
"optEndDate": ""
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
returnStateInfo
object
接口状态信息
returnCode
string
返回状态编码
例:0000
returnMessage
string
返回状态信息
例:处理成功
data
object
返回退税数据
data
array [object {6}]
必需
msgKey
string
退税数据返回状态
true:成功
false:失败
totalRows
integer
当前返回总条数
示例
{
"data": "eyJkYXRhIjpbeyJ6c1NoRmxhZyI6IkYiLCJv...",
"returnStateInfo": {
"returnCode": "0000",
"returnMessage": "处理成功"
}
}
data 加密前的参数
{
"data": [
{
"zsShFlag": "F",
"optDate": "2020-09-03",
"sbPc": "01",
"xfsTsAmt": 0,
"zzsTsAmt": 18637.16,
"sbny": "202006"
},
{
"zsShFlag": "F",
"optDate": "2020-12-17",
"sbPc": "02",
"xfsTsAmt": 0,
"zzsTsAmt": 194156.26,
"sbny": "202003"
},
{
"zsShFlag": "F",
"optDate": "2020-12-17",
"sbPc": "01",
"xfsTsAmt": 0,
"zzsTsAmt": 16396.1,
"sbny": "202007"
},
{
"zsShFlag": "F",
"optDate": "2020-09-03",
"sbPc": "01",
"xfsTsAmt": 0,
"zzsTsAmt": 1484.07,
"sbny": "202003"
},
{
"zsShFlag": "F",
"optDate": "2020-09-03",
"sbPc": "01",
"xfsTsAmt": 0,
"zzsTsAmt": 45373.7,
"sbny": "202005"
},
{
"zsShFlag": "F",
"optDate": "2020-12-17",
"sbPc": "01",
"xfsTsAmt": 0,
"zzsTsAmt": 51769.91,
"sbny": "202008"
},
{
"zsShFlag": "F",
"optDate": "2020-12-17",
"sbPc": "01",
"xfsTsAmt": 0,
"zzsTsAmt": 586.73,
"sbny": "202011"
},
{
"zsShFlag": "F",
"optDate": "2020-12-17",
"sbPc": "03",
"xfsTsAmt": 0,
"zzsTsAmt": 830109.38,
"sbny": "202003"
},
{
"zsShFlag": "F",
"optDate": "2020-12-17",
"sbPc": "02",
"xfsTsAmt": 0,
"zzsTsAmt": 4371.68,
"sbny": "202007"
},
{
"zsShFlag": "F",
"optDate": "2020-09-03",
"sbPc": "01",
"xfsTsAmt": 0,
"zzsTsAmt": 7291.75,
"sbny": "202004"
},
{
"zsShFlag": "F",
"optDate": "2020-12-17",
"sbPc": "01",
"xfsTsAmt": 0,
"zzsTsAmt": 5407.08,
"sbny": "202010"
}
],
"msgKey": "true",
"totalRows": 11
}
最后修改时间: 1 年前