stockin_purchase_push{
"operation": {
"method": "none"
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | purchase_no | purchase_no | string | 1 | Required | 推送采购单时由ERP生成的ERP内采购单唯一标识,采购单推送成功时响应信息会返回此参数 |
| 2 | outer_no | outer_no | string | 1 | Required | 外部系统采购入库单的唯一单据编号 |
| 3 | is_create_batch | is_create_batch | string | 1 | Optional | 0:否;1:是,默认是0。ERP“批次管理”不存在推送的批次号,是否允许单据创建成功,并创建新的“批次号”。 |
| 4 | is_check | is_check | string | 1 | Optional | 1:审核 0:不审核 默认0 |
| 5 | warehouse_no | warehouse_no | string | 1 | Optional | ERP内自定义的代表仓库的编号信息,传参取值需到ERP设置-》基本设置-》仓库-》仓库列表查看仓库编号信息 |
| 6 | logistics_code | logistics_code | string | 1 | Optional | ERP内自定义的代表物流公司的编号,传参取值需到ERP设置-》基本设置-》物流-》物流列表查看物流编号信息 |
| 7 | logistics_no | logistics_no | string | 1 | Optional | 用于追踪货物路由信息的物流(快递)编码 |
| 8 | post_fee | post_fee | string | 1 | Optional | 货物运输产生的物流(快递)费用 |
| 9 | other_fee | other_fee | string | 1 | Optional | 其他费用 |
| 10 | remark | remark | string | 1 | Optional | 备注 |
| 11 | details_list | details_list | array | 1 | Optional | 采购单货品列表节点,字段详细见details_list表 |
| 12 | spec_no | spec_no | string | 1 | Optional | ERP内单品唯一编码(SKU),代表单品(SKU)所有属性,并且为库存量出入计算最小单元。SKU概念介绍,单击这里 |
| 13 | stockin_num | stockin_num | string | 1 | Optional | 入库数量 |
| 14 | stockin_price | stockin_price | string | 1 | Optional | 入库价 |
| 15 | tax_price | tax_price | string | 1 | Optional | 税后单价,税后单价如果传值,入库价传值不生效,公式为 stockin_price=tax_price/(1+tax) |
| 16 | tax | tax | string | 1 | Optional | 税率 |
| 17 | position_no | position_no | string | 1 | Optional | 商品在仓库内的位置编号,传值时货位编号为空,读ERP配置【入库开单货位优先级配置】,来决定取默认货位、上一次入库货位、ZANCUN货位其中一个货位。 |
| 18 | batch_no | batch_no | string | 1 | Optional | 货品批次编号 |
| 19 | batch_remark | batch_remark | string | 1 | Optional | 批次备注 |
| 20 | production_date | production_date | string | 1 | Optional | 商品生产日期,格式:yyyy-MM-dd HH:mm:ss |
| 21 | validity_days | validity_days | string | 1 | Optional | 商品有效期天数,单位天 |
| 22 | src_price | src_price | string | 1 | Optional | 不传值取上层单据(采购单)明细的税前价,传值取接口输入值。 |
| 23 | remark | remark | string | 1 | Optional | 备注 |
| 24 | is_enable_sn | is_enable_sn | string | 1 | Optional | 是否开启序列号: 0代表不开启序列号 1代表开启序列号 默认为不开启 |
| 25 | sn_list | sn_list | string | 1 | Optional | 序列号列表,多个序列号通过","隔开字符串区分,例如"xxx1,xxx2,xxx3" |
No parameter reference available
The 创建采购入库单_v1 API (stockin_purchase_push) of 旺店通·企业版 is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 旺店通·企业版 version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.