列表
# 列表
- **请求URL**
> [{{URL}}/invoice](#)
- **请求方式**
>**get**
- **请求参数**
| 请求参数 | 参数类型 | 参数说明 | 是否必填 |
| :-------- | :--------| :------ | :------ |
| categorys_small_id|string| 品名| M|
| materials_id|string| 材质| M|
| specs_id|string| 规格| M|
| steel_mill_id|string| 钢厂| M|
| start_time|string| 开始时间| M|
| end_time|string| 结束时间| M|
| bill_num|string| 订单号| M|
| invoice_num|string| 发票号码| M|
| is_print|string| 是否打印 1打印 0没有| M|
| is_invoice|string| 是否开票 1开票 0没有| M|
| statement_customer_id|string| 开票单位| M|
| statement_customer_name|string| 开票单位| M|
| create_userid|string| 制单人| M|
- **错误码**
```java
500 失败
```
- **返回示例**
>
```java
{
"code": 200,
"message": "",
"data": {
"current_page": 1,
"data": [
{
"id": 2, --id
"company_id": 1, --公司id
"bill_num": "XSFP2112080003", --发票单号
"invoice_num": "", --发票号码(百望云的)
"invoice_direction": 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,
"company_id": 1,
"bill_num": "XSFP2112080003007",
"bill_num_invoice": "XSFP2112080003",
"invoice_direction": 1,
"makeinv_bill_num": "XSHT2112080002022",
"categorys_small_id": 180,
"categorys_small_name": "不知道",
"materials_id": 262,
"materials_name": "不知道",
"specs_id": 5139,
"specs_name": "不知道",
"steel_mill_id": 215,
"steel_mill_name": "不知道哦",
"unit_of_measurement": 1,
"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
}
],
}
],
"first_page_url": "http://st.text/pc/invoice?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://st.text/pc/invoice?page=1",
"next_page_url": null,
"path": "http://st.text/pc/invoice",
"per_page": 20,
"prev_page_url": null,
"to": 2,
"total": 2,
"all_page_sum": {
"num_sum": 40,
"weight_sum": 20100,
"tax_money_sum": 2010
}
}
}
```