详情
# 详情
- **请求URL**
> [{{URL}}/invoice_show](#)
- **请求方式**
>**get**
- **请求参数**
| 请求参数 | 参数类型 | 参数说明 | 是否必填 |
| :-------- | :--------| :------ | :------ |
| bill_num|string| 订单号| M|
- **错误码**
```java
500 失败
```
- **返回示例**
>
```java
{
"code": 200,
"message": "",
"data": {
"id": 2, --id
"company_id": 1, --公司id
"bill_num": "XSFP2112080003", --发票单号
"invoice_num": "", --发票号码(百望云的)
"invoice_direction": 1, -- 1普票
"invoice_date": null, --开票日期(百望云)
"date": "2021-12-11 00:00:00", -- 开票日期(我们创建的日期)
"invoice_category": 1,
"invoice_type": 1,
"statement_customer_id": 3,--开票客户
"statement_customer_tax_num": "1234567891010",--税号
"statement_customer_addr": "",
"statement_customer_tel": "",
"statement_customer_account": "",
"statement_customer_bank": "",
"num": 20, --数量
"weight": "18000.00", --重量
"tax_money": "1800.00", --发票金额
"is_print": 0, --是否打印 0没有 1打印
"is_invoice": 0, --是否开票 0没有 1开票
"remark": "备注哦哦哦", --备注
"status": 1,
"create_userid": 1,
"update_userid": 0,
"baiwang_response": "", --百望云返回的json
"created_at": "2021-12-16 10:28:36", --创建时间
"updated_at": null,
"statement_customer_name": "好朋友结算单位",--开票客户
"create_username": "你好", --制单人
"update_username": ""
"details": [ --明细
{
"id": 3, --id
"company_id": 1, --公司id
"bill_num": "XSFP2112080003007", --子订单号
"bill_num_invoice": "XSFP2112080003", --主订单号
"invoice_direction": 1, --1 是普票
"makeinv_bill_num": "XSHT2112080002022", -- 出库单明细号
"categorys_small_id": 180, --品名id
"categorys_small_name": "不知道",--品名
"materials_id": 262, --材质ID
"materials_name": "不知道", --材质
"specs_id": 5139, --规格ID
"specs_name": "不知道", --规格
"steel_mill_id": 215, --钢厂ID
"steel_mill_name": "不知道哦",--钢厂
"unit_of_measurement": 1, ----计算单位 1重量 2数量
"num": 10, --开票数量
"weight": "9000.00", --开票重量
"tax_price": "100.00", --含税单价
"tax_money": "900.00", --开票金额
"price": "0.00",
"money": "0.00",
"tax_rate": "0.13",--税率
"tax_diff_money": "0.00",
"remark": "不知道", --备注
"status": 1,
"create_userid": 1,
"update_userid": 0,
"created_at": "2021-12-16 10:28:36",
"updated_at": null
}
],
}
}
```