TF Fiscal

NFC-e 消费者发票

GET/api/nfce/get_detail

查询 NFC-e 详情

通过 UUID 返回特定 NFC-e 的详情。包括 XML 和 DANFE(热敏小票)的 URL,以及提供时的客户数据。

必需请求头

tokenstringstring开票公司令牌
signstringstringMD5 签名(path 包含查询字符串)
timestampstringstring秒级 Unix 时间戳

查询字符串

uuid*stringstringNFC-e UUID

 * 必填字段。

示例

# sign = md5(token + path + body + timestamp)
# 按接口路径生成的调用模板,占位符替换为实际值
curl -X GET "https://api.tffiscal.com/api/nfce/get_detail" \
  -H "Content-Type: application/json" \
  -H "token: $TOKEN" \
  -H "timestamp: $TIMESTAMP" \
  -H "sign: $SIGN"