通过订单号查询发票
简要描述
- 通过订单号查询订单发票信息
请求URL
{{domian}}/shop/orderInvoice/queryByOrderNo/{orderNo}
请求方式
- GET
http请求header
- Content-Type:application/json
- charset:utf-8 `
- Authorization : Bearer {{access_token}}
请求参数
请求示例
/shop/orderInvoice/queryByOrderNo/PY20230830092510737dF
返回示例
成功:
{
"code": 0,
"msg": null,
"data": {
"id": 3, "projectId": 2, "orderNo": "PY20230830092510737dF", "storeId": 6, "userId": 703, "amount": 0.01, "applyTime": "2023-08-30 11:42:34", "invoiceTime": null, "invoiceStatus": "applied", "headerType": "enterprise", "headerName": "南京盘盈信息科技有限公司", "taxNo": "91310104084123648T", "bankName": null, "bankNo": null, "address": null, "phone": null, "invoiceFile": null, "memo": "测试", "mail": "huww095@163.com" } }
失败:
{
"code": 401,
"msg": "error",
"data": "Full authentication is required to access this resource"
}
返回参数说明
参数名 | 类型 | 说明 | 示例 |
---|---|---|---|
code | int | 返回状态码 | 0:成功 401:鉴权失败 |
msg | String | 状态描述 | |
data | String | 返回数据 | |
- id | int | 发票id | 1 |
- orderNo | String | 订单号 | PY20230830092510737dF |
- amount | String | 开票金额 | 0.01 |
- ... |