Appearance
7.3 开票查询
接口说明:
Method | URL | ContentType |
---|---|---|
GET | /api/restful/apiBill/{mark_id}/invoice | application/json |
URL参数说明:
参数 | 类型说明 | 是否必须 | 长度 | 描述 |
---|---|---|---|---|
mark_id | string | 必须 | 200 | 第三方申请发票唯一标识 |
返回结果说明:
参数 | 类型说明 | 描述 |
---|---|---|
invoice_code | string | 发票代码 |
invoice_num | string | 发票号码 |
invoice_date | string | 发票日期 |
invoice_naked_amount | double | 发票金额(裸价) |
invoice_tax_rate | double | 发票税率 |
invoice_tax_amount | double | 发票税额 |
invoice_amount | double | 价税合计 |
invoice_type | int | 发票类型 |
invoice_urls | list | 发票链接 |
请求参数示例:
/api/restful/apiBill/100001/invoice
返回数据示例:
json
{
"result": [{
"invoice_code": "A0001",
"invoice_num": "1001",
"invoice_date": "2018-06-11 00:00:00",
"invoice_naked_amount": 100,
"invoice_tax_rate": 1.5,
"invoice_tax_amount": 1,
"invoice_amount": 100,
"invoice_type": 1,
"invoice_urls": [
"https://clpres.oss-cn-shanghai.aliyuncs.com/cip/project/HuaDian/e-invoice-demo.png"
}],
"success": true,
"errormsg": "",
"errorcode": "",
"requestId": "9245fe4a-d402-451c-b9ed-9c1a04247482"
}