jdy/pur/pur_inbound_save{
"operation": {
"method": "none"
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | id | id | string | 1 | 可选 | 单据ID,修改单据时必填,新增不传该字段 |
| 2 | billdisdistribution | billdisdistribution | string | 1 | 可选 | 整单折扣分配额 |
| 3 | ignoreconfirm | ignoreconfirm | string | 1 | 可选 | 忽略操作确认提示,当price不传或等于0时ignoreconfirm需要为true |
| 4 | actnontaxamount | actnontaxamount | string | 1 | 可选 | 实际不含税金额 |
| 5 | material_entity | material_entity | array | 1 | 必填 | 商品分录 |
| 6 | billno | billno | string | 1 | 可选 | 单据编码 |
| 7 | id | id | string | 1 | 可选 | 分录id,新增不传该字段,修改必传 |
| 8 | billdate | billdate | string | 1 | 必填 | 单据日期 |
| 9 | fee | fee | string | 1 | 可选 | 采购费用分摊 |
| 10 | dividediffamount | dividediffamount | string | 1 | 可选 | 优惠分摊金额 |
| 11 | transtype | transtype | string | 1 | 必填 | 业务类型,1:限购,2:赊购,3:直运采购,4:受托入库 |
| 12 | materialid_id | materialid_id | string | 1 | 可选 | 商品 |
| 13 | stockid_id | stockid_id | string | 1 | 可选 | 仓库 |
| 14 | remark | remark | string | 1 | 可选 | 备注 |
| 15 | is_free | is_free | string | 1 | 可选 | 是否赠品 |
| 16 | cursettleamount | cursettleamount | string | 1 | 可选 | 本次核销金额 |
| 17 | spid_id | spid_id | string | 1 | 可选 | 仓位 |
| 18 | deptid_id | deptid_id | string | 1 | 可选 | 部门 |
| 19 | empid_id | empid_id | string | 1 | 可选 | 业务员 |
| 20 | qty | qty | string | 1 | 可选 | 数量 |
| 21 | allamountfor | allamountfor | string | 1 | 可选 | 价税合计本位币 |
| 22 | supplierid_id | supplierid_id | string | 1 | 可选 | 供应商 |
| 23 | unit_id | unit_id | string | 1 | 可选 | 单位(只能填商品关联的单位,来源于商品单位查询接口或商品详情中的baseunitid_id、fixunit1_id等) |
| 24 | cost | cost | string | 1 | 可选 | 入库成本 |
| 25 | auxqty | auxqty | string | 1 | 可选 | 辅助数量 |
| 26 | contact_info | contact_info | string | 1 | 可选 | 联系信息 |
| 27 | unitcost | unitcost | string | 1 | 可选 | 入库单位成本 |
| 28 | comment | comment | string | 1 | 可选 | 行备注 |
| 29 | auxunitid_id | auxunitid_id | string | 1 | 可选 | 辅助单位id |
| 30 | currencyid_id | currencyid_id | string | 1 | 可选 | 币别 |
| 31 | auxpropid_id | auxpropid_id | string | 1 | 可选 | 辅助属性(辅助属性商品必填) |
| 32 | srcbillno | srcbillno | string | 1 | 可选 | 源单编码 |
| 33 | exchangerate | exchangerate | string | 1 | 可选 | 汇率 |
| 34 | barcode | barcode | string | 1 | 可选 | 条形码 |
| 35 | dispatcher_phone | dispatcher_phone | string | 1 | 可选 | 收货人联系电话 |
| 36 | srcbilltypeid_id | srcbilltypeid_id | string | 1 | 可选 | 源单类型 |
| 37 | dispatcher_country | dispatcher_country | string | 1 | 可选 | 联系国家 |
| 38 | srcinterid | srcinterid | string | 1 | 可选 | 源单内码 |
| 39 | batchno | batchno | string | 1 | 可选 | 批次号 (批次商品必填) |
| 40 | proplace | proplace | string | 1 | 可选 | 产地 |
| 41 | dispatcher_province | dispatcher_province | string | 1 | 可选 | 省份 |
| 42 | src_billdate | src_billdate | string | 1 | 可选 | 源单日期 |
| 43 | dispatcher_city | dispatcher_city | string | 1 | 可选 | 城市 |
| 44 | proregno | proregno | string | 1 | 可选 | 注册证号 |
| 45 | srcseq | srcseq | string | 1 | 可选 | 源单行号 |
| 46 | prolicense | prolicense | string | 1 | 可选 | 生产许可证号 |
| 47 | dispatcher_district | dispatcher_district | string | 1 | 可选 | 区域 |
| 48 | srcentryid | srcentryid | string | 1 | 可选 | 源单分录内码 |
| 49 | kfdate | kfdate | string | 1 | 可选 | 生产日期 |
| 50 | dispatcher_address | dispatcher_address | string | 1 | 可选 | 详细地址 |
| 51 | diffamount | diffamount | string | 1 | 可选 | 付款抹零 |
| 52 | validdate | validdate | string | 1 | 可选 | 有效日期 |
| 53 | totalamount | totalamount | string | 1 | 可选 | 本单成交 |
| 54 | kftype | kftype | string | 1 | 可选 | 保质期类型,1:天,2:月,3:年 |
| 55 | kfperiod | kfperiod | string | 1 | 可选 | 保质期天数 |
| 56 | snlistid | snlistid | string | 1 | 可选 | 序列号流转id;单据新增后会在单据详情中带回这个字段信息,*序列号商品修改时必填 |
| 57 | sn_list | sn_list | string | 1 | 可选 | 序列号 格式如:"001:备注1;002:备注2" (序列号:序列号备注 多个序列号以英文分号字符;分隔),*序列号商品必填 |
| 58 | price | price | string | 1 | 可选 | 价格(如果在“系统参数”的“基础资料参数”中勾选了“商品价格为含税单价”,则需要传含税单价taxprice) |
| 59 | taxprice | taxprice | string | 1 | 可选 | 含税单价 |
| 60 | cess | cess | string | 1 | 可选 | 税率 |
| 61 | taxamount | taxamount | string | 1 | 可选 | 税额 |
| 62 | allamount | allamount | string | 1 | 可选 | 价税合计 |
| 63 | disrate | disrate | string | 1 | 可选 | 折扣率 |
| 64 | discount | discount | string | 1 | 可选 | 折扣 |
| 65 | disamount | disamount | string | 1 | 可选 | 折扣额度 |
| 66 | disprice | disprice | string | 1 | 可选 | 折扣单价 |
| 67 | amount | amount | string | 1 | 可选 | 折后金额 |
| 68 | billdisbeforeamount | billdisbeforeamount | string | 1 | 可选 | 整单折前价税合计 |
| 69 | acttaxprice | acttaxprice | string | 1 | 可选 | 实际含税单价 |
暂无参数说明
金蝶云星辰V1的接口:采购入库单保存新增_v1(jdy/pur/pur_inbound_save),由轻易云数据集成平台 API 资产管理模块整理收纳,并随金蝶云星辰V1版本更新同步更新。