6.4、发票状态回调接口


回调数据将在开票成功或开票失败时进行发送,目的地址为开取发票接口中的notify_url
无论是否发送成功,此处回调只发送一次,如未收到,请以查询接口为主

请求数据:json字符串
| 字段名称 | 类型 | 说明 | 是否必传 | 示例
| --- | --- | --- | --- | --- |
|notify_time| String| 通知时间:格式"2017-09-09 10:20:12" |是 |2017-09-09 10:20:12
|invoice_order_no |String| 开票订单号,不可重复 |是 |
|message| String| 开票描述 |是 |业务参数校验错误 找不到对应的订单号165899774212
|open_invoiceTime| String |开票时间| 是 |2022-07-28
|pdf_url| String| pdf地址 |否 |https://upload.fapiaoer.cn/center/prod_make/20220728/invoice_144032209110_19273380_4397866e5f356b088426d87820883bec.pdf
|status| String | 发票状态0:无效状态1:开票中2:开票失败3:已开票待签章4:签章失败5:开票成功6:待作废7:作废失败8:作废成功 | 是| 0

例:
{
“invoice_order_no”: “112233”,
“notify_time”: “2017-09-09 10:20:12”,
“open_invoiceTime”: “2017-09-09 10:20:12”,
"pdf_url": "https://upload.fapiaoer.cn/center/prod_make/20220728/invoice_144032209110_19273380_4397866e5f356b088426d87820883bec.pdf",
"message": "SUCCESS",
"status": 5
}


admin 2023年5月17日 15:17 收藏文档