金蝶云星辰V1采购入库单保存新增_v1API接口文档
所属平台:
金蝶云星辰V1
类型:
WebAPI
作用:
EXECUTE
接口版本:
0.1
适配器:
\Adapter\Kingdee\YxcExecuteAdapter
描述:
更新日期:
2021-11-02 17:06:26
采购入库单保存新增_v1
接口地址:jdy/pur/pur_inbound_save
请求方法: POST
加工厂: {"operation":{"method":"none"}}
接口请求参数
| 序号 | 字段 | 名称 | 类型 | 默认值 | 描述 | 是否必要 |
|---|---|---|---|---|---|---|
| 1 | id | id | string | 1 | 单据ID,修改单据时必填,新增不传该字段 | 否 |
| 2 | ignoreconfirm | ignoreconfirm | string | 1 | 忽略操作确认提示,当price不传或等于0时ignoreconfirm需要为true | 否 |
| 3 | billdisdistribution | billdisdistribution | string | 1 | 整单折扣分配额 | 否 |
| 4 | billno | billno | string | 1 | 单据编码 | 否 |
| 5 | material_entity | material_entity | array | 1 | 商品分录 | 是 |
| 6 | actnontaxamount | actnontaxamount | string | 1 | 实际不含税金额 | 否 |
| 7 | billdate | billdate | string | 1 | 单据日期 | 是 |
| 8 | fee | fee | string | 1 | 采购费用分摊 | 否 |
| 9 | id | id | string | 1 | 分录id,新增不传该字段,修改必传 | 否 |
| 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 | deptid_id | deptid_id | string | 1 | 部门 | 否 |
| 17 | cursettleamount | cursettleamount | string | 1 | 本次核销金额 | 否 |
| 18 | spid_id | spid_id | string | 1 | 仓位 | 否 |
| 19 | allamountfor | allamountfor | string | 1 | 价税合计本位币 | 否 |
| 20 | qty | qty | string | 1 | 数量 | 否 |
| 21 | empid_id | empid_id | string | 1 | 业务员 | 否 |
| 22 | unit_id | unit_id | string | 1 | 单位(只能填商品关联的单位,来源于商品单位查询接口或商品详情中的baseunitid_id、fixunit1_id等) | 否 |
| 23 | cost | cost | string | 1 | 入库成本 | 否 |
| 24 | supplierid_id | supplierid_id | string | 1 | 供应商 | 否 |
| 25 | unitcost | unitcost | string | 1 | 入库单位成本 | 否 |
| 26 | contact_info | contact_info | string | 1 | 联系信息 | 否 |
| 27 | auxqty | auxqty | string | 1 | 辅助数量 | 否 |
| 28 | auxunitid_id | auxunitid_id | string | 1 | 辅助单位id | 否 |
| 29 | comment | comment | string | 1 | 行备注 | 否 |
| 30 | currencyid_id | currencyid_id | string | 1 | 币别 | 否 |
| 31 | srcbillno | srcbillno | string | 1 | 源单编码 | 否 |
| 32 | auxpropid_id | auxpropid_id | 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 | srcinterid | srcinterid | string | 1 | 源单内码 | 否 |
| 38 | dispatcher_country | dispatcher_country | string | 1 | 联系国家 | 否 |
| 39 | batchno | batchno | string | 1 | 批次号 (批次商品必填) | 否 |
| 40 | dispatcher_province | dispatcher_province | string | 1 | 省份 | 否 |
| 41 | src_billdate | src_billdate | string | 1 | 源单日期 | 否 |
| 42 | proplace | proplace | string | 1 | 产地 | 否 |
| 43 | proregno | proregno | string | 1 | 注册证号 | 否 |
| 44 | srcseq | srcseq | string | 1 | 源单行号 | 否 |
| 45 | dispatcher_city | dispatcher_city | string | 1 | 城市 | 否 |
| 46 | prolicense | prolicense | string | 1 | 生产许可证号 | 否 |
| 47 | srcentryid | srcentryid | string | 1 | 源单分录内码 | 否 |
| 48 | dispatcher_district | dispatcher_district | string | 1 | 区域 | 否 |
| 49 | dispatcher_address | dispatcher_address | string | 1 | 详细地址 | 否 |
| 50 | kfdate | kfdate | string | 1 | 生产日期 | 否 |
| 51 | validdate | validdate | string | 1 | 有效日期 | 否 |
| 52 | diffamount | diffamount | 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版本更新同步实时更新。轻易云数据集成平台的API资产管理功能,通过统一的视图和控制台,帮助企业全面掌握API资产的使用情况,实现资源的高效利用和优化配置。
