jdy/sal/sal_inbound_save{
"operation": {
"method": "none"
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | billsource | billsource | string | 1 | 必填 | 单据来源,固定传入 APP |
| 2 | id | id | string | 1 | 可选 | 单据ID,修改单据时必填 |
| 3 | billdate | billdate | string | 1 | 必填 | 出库日期,格式:2019-01-01 |
| 4 | customerid_id | customerid_id | string | 1 | 必填 | 客户 |
| 5 | empid_id | empid_id | string | 1 | 可选 | 业务员 |
| 6 | remark | remark | string | 1 | 可选 | 单据备注 |
| 7 | contact_linkman | contact_linkman | string | 1 | 可选 | 联系信息-联系人 |
| 8 | contact_phone | contact_phone | string | 1 | 可选 | 联系信息-联系方式 |
| 9 | contact_country_id | contact_country_id | string | 1 | 可选 | 联系信息-国家ID |
| 10 | contact_province_id | contact_province_id | string | 1 | 可选 | 联系信息-省ID |
| 11 | contact_city_id | contact_city_id | string | 1 | 可选 | 联系信息-市ID |
| 12 | contact_district_id | contact_district_id | string | 1 | 可选 | 联系信息-区ID |
| 13 | contact_address | contact_address | string | 1 | 可选 | 联系信息-详细地址 |
| 14 | bill_dis_amount | bill_dis_amount | string | 1 | 可选 | 整单折扣额 |
| 15 | bill_dis_rate | bill_dis_rate | string | 1 | 可选 | 整单折扣率% |
| 16 | totalinsamount | totalinsamount | string | 1 | 可选 | 本次退款 |
| 17 | totalamount | totalamount | string | 1 | 可选 | 本次应退账款 |
| 18 | diffamount | diffamount | string | 1 | 可选 | 退款抹零 |
| 19 | totalunsettleamount | totalunsettleamount | string | 1 | 可选 | 本单未退 |
| 20 | payment_entry | payment_entry | array | 1 | 可选 | 退款账户 |
| 21 | material_entity | material_entity | array | 1 | 必填 | 商品分录 |
| 22 | settleaccountid_id | settleaccountid_id | string | 1 | 必填 | 收款账户 |
| 23 | paytypeid_id | paytypeid_id | string | 1 | 必填 | 收款方式 |
| 24 | paid_amount | paid_amount | string | 1 | 必填 | 收款金额 |
| 25 | pay_comment | pay_comment | string | 1 | 可选 | 备注 |
| 26 | materialid_id | materialid_id | string | 1 | 必填 | 商品 |
| 27 | stockid_id | stockid_id | string | 1 | 必填 | 仓库 |
| 28 | spid_id | spid_id | string | 1 | 可选 | 仓位,启用了仓位管理则必填 |
| 29 | qty | qty | string | 1 | 必填 | 数量 |
| 30 | unit_id | unit_id | string | 1 | 必填 | 单位 (只能填商品关联的单位,来源于商品单位查询接口或商品详情中的baseunitid_id、fixunit1_id等) |
| 31 | auxqty | auxqty | string | 1 | 可选 | 辅助数量 |
| 32 | auxunitid_id | auxunitid_id | string | 1 | 可选 | 辅助单位id |
| 33 | price | price | string | 1 | 必填 | 单价 |
| 34 | taxprice | taxprice | string | 1 | 必填 | 含税单价(根据设置与price二选一) |
| 35 | disamount | disamount | string | 1 | 可选 | 折扣额 |
| 36 | disrate | disrate | string | 1 | 可选 | 折扣率(%) |
| 37 | discount | discount | string | 1 | 可选 | 折扣(折) |
| 38 | is_free | is_free | string | 1 | 必填 | 是否赠品;true-是,false-否(默认) |
| 39 | comment | comment | string | 1 | 可选 | 商品行备注 |
| 40 | auxpropid_id | auxpropid_id | string | 1 | 可选 | 辅助属性;辅助属性商品必填 |
| 41 | batchno | batchno | string | 1 | 可选 | 批次;批次商品必填 |
| 42 | snlistid | snlistid | string | 1 | 可选 | 序列号;序列号商品必填 |
| 43 | kfdate | kfdate | string | 1 | 可选 | 生产日期;格式:20190101,保质期商品必填 |
| 44 | validdate | validdate | string | 1 | 可选 | 到期日;格式:20190101,保质期商品必填 |
| 45 | kfperiod | kfperiod | string | 1 | 可选 | 保质期;保质期商品必填 |
| 46 | kftype | kftype | string | 1 | 可选 | 保质期单位;保质期商品必填:1-天,2-月,3-年 |
| 47 | sn_list | sn_list | string | 1 | 可选 | 序列号 格式如:"001:备注1;002:备注2" (序列号:序列号备注 多个序列号以英文分号字符;分隔),*序列号商品必填 |
暂无参数说明
金蝶云星辰V1的接口:新增或者修改一张销售退货单_v1(jdy/sal/sal_inbound_save),由轻易云数据集成平台 API 资产管理模块整理收纳,并随金蝶云星辰V1版本更新同步更新。