jdy/pur/pur_rtn_save{
"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版本更新同步更新。