POST
/api/invoice/cce/get_listCC-e 列表
返回特定 NF-e 发出的所有 CC-e(更正函),按从最新到最旧排序。
必需请求头
tokenstring | string | 开票公司令牌 |
signstring | string | MD5 签名 |
timestampstring | string | 秒级 Unix 时间戳 |
Body
uuidstring | string | NF-e UUID(如果没有 chave 则必填) |
chavestring | string | NF-e 的 44 位访问密钥(如果没有 uuid 则必填) |
uuid 或 chave 至少一个必填。
示例
# sign = md5(token + path + body + timestamp) # 按接口路径生成的调用模板,占位符替换为实际值 curl -X POST "https://api.tffiscal.com/api/invoice/cce/get_list" \ -H "Content-Type: application/json" \ -H "token: $TOKEN" \ -H "timestamp: $TIMESTAMP" \ -H "sign: $SIGN" \ -d @body.json
{
"uuid": "4663a257-adf1-4561-971f-6aaffbd30ca8"
}
{
"success": true,
"data": {
"items": [
{
"id": "65fa1b2c3d4e5f6a7b8c9d0e",
"detail": "Corrigir nome do destinatario para Empresa XYZ LTDA",
"nProt": "135210000123456",
"nSeqEvento": 1,
"date": "15/01/2024 14:30:00",
"pdfUrl": "https://oss.example.com/.../cce_seq1.pdf",
"xmlUrl": "https://oss.example.com/.../cce.xml"
}
],
"total": 1
}
}