GET
/api/nfce/get_listNFC-e 列表(分页)
分页列出公司的 NFC-e。参数通过 查询字符串(query string)传递(不在 body 中)。时间过滤可选,但若使用则需同时传入 start_create_time 和 end_create_time。
必需请求头
tokenstring | string | 开票公司令牌 |
signstring | string | MD5 签名(path 包含查询字符串) |
timestampstring | string | 秒级 Unix 时间戳 |
查询字符串
page*int | int | 页码(≥ 1) |
page_*int | int | 每页大小(1–50) |
start_long | long | Unix 时间戳(毫秒) — 起始(需要 end_create_time) |
end_long | long | Unix 时间戳(毫秒) — 结束 |
statusstring | string | 按状态过滤。 值: "Success"(已授权)、"Canceled"(已取消)、"Processing"(处理中)、"Failed"(失败)、"Contingencia"(离线应急开具,待传输)、"Unknown"(未知)。不区分大小写,也接受对应的数值;其他值返回错误 "Valor de status inválido" |
* 必填字段。
示例
# sign = md5(token + path + body + timestamp) # 按接口路径生成的调用模板,占位符替换为实际值 curl -X GET "https://api.tffiscal.com/api/nfce/get_list" \ -H "Content-Type: application/json" \ -H "token: $TOKEN" \ -H "timestamp: $TIMESTAMP" \ -H "sign: $SIGN"
GET /api/nfce/get_list?page=1&page_size=20&status=Success
{
"success": true,
"data": {
"list": [
{
"uuid": "65f8b9a1c2d3e4f5a6b7c8d9",
"chave": "35260112345678000190650010000000011000000017",
"serie": 1,
"number": 1,
"status": "Success",
"create": "2026-01-10T10:30:00Z",
"issue_time": "2026-01-10T10:31:00Z"
}
],
"page": 1,
"total": 142,
"total_pages": 8
}
}