金蝶云星辰V1采购退货单保存新增_v1API接口文档
所属平台:
金蝶云星辰V1
类型:
WebAPI
作用:
EXECUTE
接口版本:
0.1
适配器:
\Adapter\Kingdee\YxcExecuteAdapter
描述:
更新日期:
2022-02-17 18:02:17
采购退货单保存新增_v1
接口地址:jdy/pur/pur_rtn_save
请求方法: POST
加工厂: {"operation":{"method":"none"}}
接口请求参数
| 序号 | 字段 | 名称 | 类型 | 默认值 | 描述 | 是否必要 |
|---|---|---|---|---|---|---|
| 1 | id | id | string | 1 | 单据ID,修改单据时必填,新增不传该字段 | 否 |
| 2 | billno | billno | string | 1 | 单据编码 | 否 |
| 3 | billdate | billdate | string | 1 | 单据日期 | 是 |
| 4 | deptid_id | deptid_id | string | 1 | 部门 | 否 |
| 5 | deptid_number | deptid_number | string | 1 | 部门number | 否 |
| 6 | empid_id | empid_id | string | 1 | 业务员 | 否 |
| 7 | empid_number | empid_number | string | 1 | 业务员number | 否 |
| 8 | supplierid_id | supplierid_id | string | 1 | 供应商 | 是 |
| 9 | supplierid_number | supplierid_number | string | 1 | 供应商 | 是 |
| 10 | remark | remark | string | 1 | 备注 | 否 |
| 11 | currencyid_id | currencyid_id | string | 1 | 币别 | 是 |
| 12 | alldebt | alldebt | string | 1 | 应付余额 | 否 |
| 13 | lastdebt | lastdebt | string | 1 | 上次欠款 | 否 |
| 14 | returnreason | returnreason | string | 1 | 原因 | 否 |
| 15 | contact_info | contact_info | string | 1 | 联系信息 | 否 |
| 16 | bill_dis_amount | bill_dis_amount | string | 1 | 整单折扣额 | 否 |
| 17 | bill_dis_rate | bill_dis_rate | string | 1 | 整单折扣率 | 否 |
| 18 | totalamount | totalamount | string | 1 | 本次应退账款 | 否 |
| 19 | totalinsamount | totalinsamount | string | 1 | 退款合计 | 否 |
| 20 | totalunsettleamount | totalunsettleamount | string | 1 | 本单未退 | 否 |
| 21 | material_entity | material_entity | array | 1 | 商品分录 | 是 |
| 22 | id | id | string | 1 | 分录id,新增不传该字段,修改必传 | 否 |
| 23 | materialid_id | materialid_id | string | 1 | 商品 | 否 |
| 24 | materialid_number | materialid_number | string | 1 | 商品number | 是 |
| 25 | stockid_id | stockid_id | string | 1 | 仓库 | 否 |
| 26 | stockid_number | stockid_number | string | 1 | 仓库number | 是 |
| 27 | spid_id | spid_id | string | 1 | 仓位 | 是 |
| 28 | qty | qty | string | 1 | 数量 | 否 |
| 29 | unit_id | unit_id | string | 1 | 单位(只能填商品关联的单位,来源于商品单位查询接口或商品详情中的baseunitid_id、fixunit1_id等) | 是 |
| 30 | auxqty | auxqty | string | 1 | 辅助数量 | 是 |
| 31 | auxunitid_id | auxunitid_id | string | 1 | 辅助单位id | 是 |
| 32 | auxpropid_id | auxpropid_id | string | 1 | 辅助属性(辅助属性商品必填) | 是 |
| 33 | barcode | barcode | string | 1 | 条形码 | 否 |
| 34 | batchno | batchno | string | 1 | 批次号 (批次商品必填) | 否 |
| 35 | proplace | proplace | string | 1 | 产地 | 否 |
| 36 | proregno | proregno | string | 1 | 注册证号 | 否 |
| 37 | prolicense | prolicense | string | 1 | 生产许可证号 | 否 |
| 38 | snlistid | snlistid | string | 1 | 序列号流转id;单据新增后会在单据详情中带回这个字段信息,*序列号商品修改时必填 | 否 |
| 39 | sn_list | sn_list | string | 1 | 序列号 格式如:001:备注1;002:备注2 (序列号:序列号备注 多个序列号以英文分号字符;分隔),*序列号商品必填 | 否 |
| 40 | price | price | string | 1 | 单价(如果在“系统参数”的“基础资料参数”中勾选了“商品价格为含税单价”,则price指示含税单价) | 否 |
| 41 | comment | comment | string | 1 | 行备注 | 否 |
| 42 | srcbillno | srcbillno | string | 1 | 源单编码 | 否 |
| 43 | srcbilltypeid_id | srcbilltypeid_id | string | 1 | 源单类型 | 否 |
| 44 | srcinterid | srcinterid | string | 1 | 源单内码 | 否 |
| 45 | src_billdate | src_billdate | string | 1 | 源单日期 | 否 |
| 46 | srcseq | srcseq | string | 1 | 源单行号 | 否 |
| 47 | srcentryid | srcentryid | string | 1 | 源单分录内码 | 否 |
接口响应参数
| 序号 | 字段 | 名称 | 类型 | 默认值 | 描述 | 是否必要 |
|---|
金蝶云星辰V1的接口:采购退货单保存新增_v1(jdy/pur/pur_rtn_save),由轻易云数据集成平台API资产管理模块整理收纳,并且根据金蝶云星辰V1版本更新同步实时更新。轻易云数据集成平台的API资产管理功能,通过统一的视图和控制台,帮助企业全面掌握API资产的使用情况,实现资源的高效利用和优化配置。
