测试地址:https://beta.bolink.club/unionapi/queryOpenInvoiceStatus
正式地址:https://s.bolink.club/unionapi/queryOpenInvoiceStatus
请求数据:json字符串
| 字段名称 | 类型 | 说明 | 是否必传 | 示例
| --- | --- | --- | --- | --- |
|sign| String| 数据data的签名值 32位 |是 | |
|data |json| 包含下面的所有字段的json对象 |是 |
|invoice_order_no| String| 开票订单编号| 是 |21781
|type| Number| 开票方类型 2厂商 3服务商 4车场| 否| 2
|union_id| Number| 厂商编号 |是 |200102
|server_id |Number |类型为服务商时必填| 否| 800111
|park_id| String| 车厂编号, 开票类型为车场时必填| 否 |testMyPark
示例:
{
"data": {
"type ":2,
"union_id ":200703,
"invoice_order_no": "1658997742126"
},
"sign": "6F28BB00747E19B64410796AABE41EA0"
}
同步返回:json字符串
| 字段名称 | 类型 | 说明 | 是否必传 | 示例
| --- | --- | --- | --- | --- |
|code| Number |接口调用结果 0成功| 是| 1
|message| String| 提示信息 |否|
|data| Json| 包含下面的所有字段的json对象| 是 |
|invoice_order_no| String |开票订单编号| 是| 支付测试
|message| String| 开票描述| 是 |业务参数校验错误 找不到对应的订单号165899774212
|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
示例:
{
"code": 0,
"data": {
"pdf_url": "https://upload.fapiaoer.cn/center/prod_make/20220728/invoice_144032209110_19273380_4397866e5f356b088426d87820883bec.pdf",
"message": "SUCCESS",
"status": 5
},
"message": "success"
}