/basicOpen/report/purchase/supplier/list{
"operation": {
"method": "POST",
"path": "/basicOpen/report/purchase/supplier/list"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"offset": 0,
"length": 20,
"start_date": "2023-06-01",
"end_date": "2023-08-30",
"time_type": 2,
"search_field": "order_no",
"search_value": "1",
"product_type": [
1,
2,
3
]
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | offset | 分页偏移量 | integer | — | Optional | 分页偏移量,默认0 |
| 2 | length | 分页长度 | integer | — | Optional | 分页长度,默认20,上限200 |
| 3 | start_date | 开始日期【时间间隔最长不得超过90天】 | string | — | Optional | 开始日期【时间间隔最长不得超过90天】,闭区间,格式:Y-m-d |
| 4 | end_date | 结束日期【时间间隔最长不得超过90天】 | string | — | Optional | 结束日期【时间间隔最长不得超过90天】,闭区间,格式:Y-m-d |
| 5 | time_type | 时间类型 | integer | — | Optional | 时间类型: 1 下单时间 2 到货时间 |
| 6 | search_field | 搜索字段名 | string | — | Optional | 搜索字段名: order_no 单据号 |
| 7 | search_value | 搜索值 | string | — | Optional | 搜索值 |
| 8 | product_type | 产品类型 | array<any> | — | Optional | 产品类型: 1 普通产品 2 组合产品 3 辅料 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | Required | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | Required | 消息提示 |
| 3 | error_details | 错误信息 | array<any> | — | Required | 错误信息 |
| 4 | request_id | 请求链路id | string | C3D9F541-8083-E376-EB5C-606A872F5C89 | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2022-12-08 18:27:13 | Required | 响应时间 |
| 6 | total | 总数 | integer | 20 | Required | 总数 |
| 7 | data | 响应数据 | array<object> | — | Required | 响应数据 |
| 7.1 | supplier_name | 供应商名称 | string | 供应商15 | Required | 供应商名称 |
| 7.2 | warehouse_name | 仓库名称 | array<any> | [北美仓,美国仓] | Required | 仓库名称 |
| 7.3 | buyer_name | 采购员名称 | array<any> | [张三,tom] | Required | 采购员名称 |
| 7.4 | purchase_quantity | 采购量 | string | 2672442 | Required | 采购量 |
| 7.5 | receive_quantity | 到货量 | string | 2661838 | Required | 到货量 |
| 7.6 | wait_quantity | 待到货量 | string | 10604 | Required | 待到货量 |
| 7.7 | good_quantity | 良品量 | string | 2658361 | Required | 良品量 |
| 7.8 | bad_quantity | 次品量 | string | 5 | Required | 次品量 |
| 7.9 | return_quantity | 退货量 | string | 0 | Required | 退货量 |
| 7.10 | total_amount | 采购总金额 | string | 2057.50 | Required | 采购总金额 |
| 7.11 | purchase_amount | 订单金额 | string | 291817.77 | Required | 订单金额 |
| 7.12 | receive_amount | 到货金额 | string | 51.25 | Required | 到货金额 |
| 7.13 | wait_amount | 待到货金额 | string | 291766.52 | Required | 待到货金额 |
| 7.14 | return_amount | 退货金额 | string | 0.00 | Required | 退货金额 |
| 7.15 | bad_rate | 次品率 | string | 0.02% | Required | 次品率 |
| 7.16 | return_rate | 退货率 | string | 0.05% | Required | 退货率 |
| 7.17 | order_count | 采购单据量 | string | 12 | Required | 采购单据量 |
| 7.18 | overdue_quantity | 逾期数量 | string | 7490 | Required | 逾期数量 |
| 7.19 | overdue_time | 逾期时长 | string | 6882天9小时 | Required | 逾期时长 |
| 7.20 | overdue_quantity_rate | 逾期率(按采购量) | string | 68.79% | Required | 逾期率(按采购量) |
| 7.21 | overdue_time_avg | 平均逾期时长 | string | 132天9小时 | Required | 平均逾期时长 |
| 7.22 | overdue_order_rate | 逾期率(按采购单量) | string | 3.85% | Required | 逾期率(按采购单量) |
| 7.23 | overdue_order_quantity | 逾期采购单量 | string | 21 | Required | 逾期采购单量 |
| 7.24 | discount_amount | 折扣金额 | string | 0.00 | Required | 折扣金额 |
| 7.25 | payable_amount | 应付金额 | string | 639.20 | Required | 应付金额 |
| 7.26 | paid_amount | 已付金额 | string | 0.00 | Required | 已付金额 |
| 7.27 | applying_amount | 申请中金额 | string | 0.00 | Required | 申请中金额 |
| 7.28 | not_applied_amount | 未申请金额 | string | 639.20 | Required | 未申请金额 |
| 7.29 | unpaid_amount | 未付金额 | string | 639.20 | Required | 未付金额 |
| 7.30 | type_name | 采购类型 【默认 | string | 汇总 | Required | 采购类型 【默认:"汇总"】 |
| 7.31 | order_sn | 单据号【默认 | string | 汇总 | Required | 单据号【默认:"汇总"】 |
| 7.32 | exchange_quantity | 换货量 | string | 0 | Required | 换货量 |
| 7.33 | list | list | object | — | Optional | |
| 7.33.1 | shipping_fee | 运费 | string | 596.00 | Required | 运费 |
| 7.33.2 | other_fee | 其它费用 | string | 0.00 | Required | 其它费用 |
The 查询采购报表列表 - 供应商 API (/basicOpen/report/purchase/supplier/list) of 领星ERP is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 领星ERP version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.