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