jdy/pur/pur_rtn_save{
"operation": {
"method": "none"
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | id | id | string | 1 | Optional | 单据ID,修改单据时必填,新增不传该字段 |
| 2 | billno | billno | string | 1 | Optional | 单据编码 |
| 3 | billdate | billdate | string | 1 | Required | 单据日期 |
| 4 | deptid_id | deptid_id | string | 1 | Optional | 部门 |
| 5 | deptid_number | deptid_number | string | 1 | Optional | 部门number |
| 6 | empid_id | empid_id | string | 1 | Optional | 业务员 |
| 7 | empid_number | empid_number | string | 1 | Optional | 业务员number |
| 8 | supplierid_id | supplierid_id | string | 1 | Required | 供应商 |
| 9 | supplierid_number | supplierid_number | string | 1 | Required | 供应商 |
| 10 | remark | remark | string | 1 | Optional | 备注 |
| 11 | currencyid_id | currencyid_id | string | 1 | Required | 币别 |
| 12 | alldebt | alldebt | string | 1 | Optional | 应付余额 |
| 13 | lastdebt | lastdebt | string | 1 | Optional | 上次欠款 |
| 14 | returnreason | returnreason | string | 1 | Optional | 原因 |
| 15 | contact_info | contact_info | string | 1 | Optional | 联系信息 |
| 16 | bill_dis_amount | bill_dis_amount | string | 1 | Optional | 整单折扣额 |
| 17 | bill_dis_rate | bill_dis_rate | string | 1 | Optional | 整单折扣率 |
| 18 | totalamount | totalamount | string | 1 | Optional | 本次应退账款 |
| 19 | totalinsamount | totalinsamount | string | 1 | Optional | 退款合计 |
| 20 | totalunsettleamount | totalunsettleamount | string | 1 | Optional | 本单未退 |
| 21 | material_entity | material_entity | array | 1 | Required | 商品分录 |
| 22 | id | id | string | 1 | Optional | 分录id,新增不传该字段,修改必传 |
| 23 | materialid_id | materialid_id | string | 1 | Optional | 商品 |
| 24 | materialid_number | materialid_number | string | 1 | Required | 商品number |
| 25 | stockid_id | stockid_id | string | 1 | Optional | 仓库 |
| 26 | stockid_number | stockid_number | string | 1 | Required | 仓库number |
| 27 | spid_id | spid_id | string | 1 | Required | 仓位 |
| 28 | qty | qty | string | 1 | Optional | 数量 |
| 29 | unit_id | unit_id | string | 1 | Required | 单位(只能填商品关联的单位,来源于商品单位查询接口或商品详情中的baseunitid_id、fixunit1_id等) |
| 30 | auxqty | auxqty | string | 1 | Required | 辅助数量 |
| 31 | auxunitid_id | auxunitid_id | string | 1 | Required | 辅助单位id |
| 32 | auxpropid_id | auxpropid_id | string | 1 | Required | 辅助属性(辅助属性商品必填) |
| 33 | barcode | barcode | string | 1 | Optional | 条形码 |
| 34 | batchno | batchno | string | 1 | Optional | 批次号 (批次商品必填) |
| 35 | proplace | proplace | string | 1 | Optional | 产地 |
| 36 | proregno | proregno | string | 1 | Optional | 注册证号 |
| 37 | prolicense | prolicense | string | 1 | Optional | 生产许可证号 |
| 38 | snlistid | snlistid | string | 1 | Optional | 序列号流转id;单据新增后会在单据详情中带回这个字段信息,*序列号商品修改时必填 |
| 39 | sn_list | sn_list | string | 1 | Optional | 序列号 格式如:001:备注1;002:备注2 (序列号:序列号备注 多个序列号以英文分号字符;分隔),*序列号商品必填 |
| 40 | price | price | string | 1 | Optional | 单价(如果在“系统参数”的“基础资料参数”中勾选了“商品价格为含税单价”,则price指示含税单价) |
| 41 | comment | comment | string | 1 | Optional | 行备注 |
| 42 | srcbillno | srcbillno | string | 1 | Optional | 源单编码 |
| 43 | srcbilltypeid_id | srcbilltypeid_id | string | 1 | Optional | 源单类型 |
| 44 | srcinterid | srcinterid | string | 1 | Optional | 源单内码 |
| 45 | src_billdate | src_billdate | string | 1 | Optional | 源单日期 |
| 46 | srcseq | srcseq | string | 1 | Optional | 源单行号 |
| 47 | srcentryid | srcentryid | string | 1 | Optional | 源单分录内码 |
No parameter reference available
The 采购退货单保存新增_v1 API (jdy/pur/pur_rtn_save) of 金蝶云星辰V1 is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 金蝶云星辰V1 version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.