- 开发指南
- 登录授权
- 基础数据
- 公共
- 客户
- 商品
- 订单
- 退单
- 采购
- 库存
- 资金-收付款
- 常见问题与解答
- 开放接口-商家端-商家订单管理
采购入库单列表
GET
/invoicing-aggregation/in-storage/purchase-bills
OpenApi-采购入库单相关接口
1、查询的时间范围不能超过3个月
请求参数
Query 参数
createTimeBegin
integer
可选
currentPage
integer
页码 默认值: 1
createTimeEnd
integer
可选
orderNums
array[string]
可选
pageSize
integer
必需
status
integer
可选
withContents
string
可选
modifyTimeBegin
integer
可选
modifyTimeEnd
integer
可选
Header 参数
access_token
string
必需
x-client-id
string
必需
返回响应
🟢200OK
application/json
Body
currentPage
integer <int32>
可选
items
array[object (OpenApi-采购入库单信息) {21}]
可选
approveTime
integer
可选
approverId
integer <int64>
审核人ID
approverName
string
审核人姓名
billNum
string
单据号,唯一标识
billRemarks
array[object (OpenApi-出入库单据备注) {8}]
单据备注列表
contents
array [object {48}]
入库商品列表
createTime
integer
可选
modifyTime
integer
可选
creator
string
制单人名称
creatorId
integer <int64>
制单人ID
discardReason
string
作废原因
dispatchBill
object (OpenApi-发货单据信息)
可选
id
integer <int64>
id
orderNum
string
可选
relateBillNum
string
可选
remark
string
备注
status
integer <int32>
可选
supplierId
integer <int64>
供应商Id
supplierName
string
供应商名称
warehouseId
integer <int64>
入库仓库id
warehouseName
string
入库仓库名称
pageSize
integer <int32>
可选
totalCount
integer <int64>
可选
totalPage
integer <int64>
可选
示例
{
"currentPage": 0,
"items": [
{
"approveTime": 0,
"approverId": 0,
"approverName": "string",
"billNum": "string",
"billRemarks": [
{
"billId": 0,
"billNum": "string",
"content": "string",
"createTime": "2019-08-24T14:15:22Z",
"creator": "string",
"creatorId": 0,
"id": 0,
"modifyTime": "2019-08-24T14:15:22Z"
}
],
"contents": [
{
"auxCount": 0,
"auxUnitId": 0,
"auxUnitName": "string",
"barCode": "string",
"baseCount": 0,
"baseUnitId": 0,
"baseUnitName": "string",
"billId": 0,
"billNum": "string",
"brandId": 0,
"categoryId": 0,
"code": "string",
"comboProduct": "string",
"costMoney": 0,
"costPrice": 0,
"costPriceAccessible": true,
"costPriceEditable": true,
"count": 0,
"countStripZeros": "string",
"id": 0,
"imgUrl": "string",
"inventoryId": 0,
"irObjects": {},
"name": "string",
"orderDetailId": 0,
"orderMoney": 0,
"orderMoneyAccessible": true,
"orderMoneyEditable": true,
"orderPrice": 0,
"orderPriceAccessible": true,
"orderPriceEditable": true,
"otherRemark": "string",
"purchaseNumbers": 0,
"remark": "string",
"salePrice": 0,
"shortCode": "string",
"skuId": 0,
"sortNum": 0,
"spec": "string",
"specValue": "string",
"spuId": 0,
"subtotal": 0,
"tagId": "string",
"unitId": 0,
"unitName": "string",
"unitRate": 0,
"weightAmount": 0,
"weightCount": 0
}
],
"createTime": 0,
"modifyTime": 0,
"creator": "string",
"creatorId": 0,
"discardReason": "string",
"dispatchBill": {
"autoReceivingTime": "2019-08-24T14:15:22Z",
"billNum": "string",
"carId": 0,
"contactName": "string",
"contactPhone": "string",
"contents": [
{
"auxCount": 0,
"auxUnitId": 0,
"auxUnitName": "string",
"barCode": "string",
"baseCount": 0,
"baseUnitId": 0,
"baseUnitName": "string",
"batchContents": [
{}
],
"batchNum": "string",
"billId": 0,
"billNum": "string",
"brandId": 0,
"categoryId": 0,
"code": "string",
"comboProduct": "string",
"count": 0,
"differenceContentId": 0,
"differenceReason": "string",
"differenceType": 0,
"differenceWarehouseId": 0,
"differenceWarehouseName": "string",
"id": 0,
"imgUrl": "string",
"inventoryId": 0,
"name": "string",
"orderAuxCount": 0,
"orderBaseCount": 0,
"orderCount": 0,
"orderDetailId": 0,
"orderMoneyAccessible": true,
"orderMoneyEditable": true,
"orderPrice": 0,
"orderPriceAccessible": true,
"orderPriceEditable": true,
"otherRemark": "string",
"productionDate": "2019-08-24T14:15:22Z",
"receivingAuxCount": 0,
"receivingBaseCount": 0,
"receivingCount": 0,
"remark": "string",
"shortCode": "string",
"skuId": 0,
"sortNum": 0,
"spec": "string",
"spuId": 0,
"tagId": "string",
"unitId": 0,
"unitName": "string",
"unitRate": 0
}
],
"createTime": "2019-08-24T14:15:22Z",
"creator": "string",
"deliveryAddress": "string",
"differenceOrderAttachments": [
{}
],
"differenceOrderId": 0,
"differenceOrderNum": "string",
"differenceReason": "string",
"differenceStatus": 0,
"dispatchBillId": 0,
"dispatchBillNum": "string",
"dispatchMethod": 0,
"dispatchTime": "2019-08-24T14:15:22Z",
"driverId": 0,
"driverName": "string",
"expressCode": "string",
"expressCompany": "string",
"expressNum": "string",
"freightAmount": 0,
"id": 0,
"merchantCode": "string",
"orderNum": "string",
"otherRemark": "string",
"plateNumber": "string",
"receiver": "string",
"receivingAttachments": [
{
"billId": 0,
"billNum": "string",
"createTime": "2019-08-24T14:15:22Z",
"fileMimeType": "string",
"fileName": "string",
"fileUrl": "string",
"id": 0,
"modifyTime": "2019-08-24T14:15:22Z"
}
],
"receivingBillId": 0,
"receivingBillNum": "string",
"receivingStatus": 0,
"receivingTime": "2019-08-24T14:15:22Z",
"remark": "string",
"status": 0,
"storageBillId": 0,
"storageBillNum": "string",
"storageBillType": 0,
"storageTime": "2019-08-24T14:15:22Z",
"storageWarehouseId": 0,
"storageWarehouseName": "string",
"targetId": 0,
"targetName": "string",
"targetType": 0,
"totalDispatchCount": 0,
"totalOrderCount": 0,
"totalReceiveCount": 0
},
"id": 0,
"orderNum": "string",
"relateBillNum": "string",
"remark": "string",
"status": 0,
"supplierId": 0,
"supplierName": "string",
"warehouseId": 0,
"warehouseName": "string"
}
],
"pageSize": 0,
"totalCount": 0,
"totalPage": 0
}
修改于 2024-01-26 03:31:41