POST
/api/rpa/get_listRPA 列表
按支付日期倒序分页返回收据。每项字段与 /get_detail 相同,但不含 memoria 和 prestador;示例只列出部分字段。
必需请求头
tokenstring | string | 开具公司的 token |
signstring | string | MD5 签名: MD5(token + path + body + timestamp) |
timestampstring | string | Unix 时间戳(秒) |
Body
pageint | int | 页码(默认 1) |
pageSizeint | int | 每页条数(默认 20,最大 100,超过时返回错误) |
competenciaint | int | 所属月份(YYYYMM 格式) |
cpfstring | string | 服务提供方 CPF,只保留数字后精确匹配 |
statusstring | string | 筛选:emitido 或 estornado |
示例
# sign = md5(token + path + body + timestamp) # 按接口路径生成的调用模板,占位符替换为实际值 curl -X POST "https://api.tffiscal.com/api/rpa/get_list" \ -H "Content-Type: application/json" \ -H "token: $TOKEN" \ -H "timestamp: $TIMESTAMP" \ -H "sign: $SIGN" \ -d @body.json
{
"page": 1,
"pageSize": 20,
"competencia": 202608,
"cpf": "",
"status": "emitido"
}
{
"success": true,
"message": "成功",
"data": {
"items": [
{
"id": "66c1f4b7e4b0a1c2d3e4f5b1",
"serie": 1,
"numero": 27,
"cpf": "12345678901",
"nomePrestador": "MARIA DA SILVA",
"dataPagamento": "2026-08-20",
"competencia": 202608,
"valorBruto": 3000.00,
"valorInssSegurado": 330.00,
"valorIrrf": 0.00,
"valorLiquido": 2670.00,
"status": "emitido"
}
],
"total": 1
}
}