/jdy/v2/scm/pur_request{
"operation": {
"method": "none"
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | bill_date | 出库日期 | string | — | 必填 | 格式:2019-01-01 |
| 2 | emp_id | 申请人 | string | — | 必填 | 申请人 |
| 3 | material_entity | 商品分录 | array | — | 必填 | 商品分录 |
| 3.1 | tax_price | 含税单价 | float | — | 可选 | 含税单价 |
| 3.2 | supplier_id | 分录建议供应商 | string | — | 可选 | 分录建议供应商 |
| 3.3 | tax_amount | 税额 | float | — | 可选 | 税额 |
| 3.4 | apply_qty | 申请数量 | float | — | 必填 | 申请数量 |
| 3.5 | delivery_date | 交货日期 | string | — | 必填 | 交货日期 |
| 3.6 | material_id | 商品 | string | — | 必填 | 商品 |
| 3.7 | unit_id | 单位 | string | — | 可选 | 单位 |
| 3.8 | act_non_tax_amount | 实际不含税金额 | float | — | 可选 | 实际不含税金额 |
| 3.9 | act_non_tax_price | 实际不含税单价 | float | — | 可选 | 实际不含税单价 |
| 3.10 | act_tax_price | 实际含税单价 | float | — | 可选 | 实际含税单价 |
| 3.11 | all_amount | 价税合计 | float | — | 可选 | 价税合计 |
| 3.12 | amount | 折后金额 | float | — | 可选 | 折后金额 |
| 3.13 | aux_prop_id | 辅助属性 | string | — | 可选 | 辅助属性商品必填 |
| 3.14 | barcode | 条形码 | string | — | 可选 | 条形码 |
| 3.15 | batch_no | 批次号 | string | — | 可选 | 批次商品必填 |
| 3.16 | bill_dis_before_amount | 整单折前价税合计 | float | — | 可选 | 整单折前价税合计 |
| 3.17 | bill_dis_distribution | 整单折扣分配额 | float | — | 可选 | 整单折扣分配额 |
| 3.18 | cess | 增值税率 | float | — | 可选 | 增值税率 |
| 3.19 | comment | 行备注 | string | — | 可选 | 行备注 |
| 3.20 | custom_entity_field | 自定义字段 | string | — | 可选 | 自定义字段使用指南:https://open.jdy.com/#/files/api/detail?id=76567ff2a06311edaa4b3d71bf0fce53&noside=true |
| 3.21 | dis_amount | 折扣额 | float | — | 可选 | 折扣额 |
| 3.22 | dis_price | 折后单价 | float | — | 可选 | 折后单价 |
| 3.23 | dis_rate | 折扣率 | float | — | 可选 | 折扣率 |
| 3.24 | discount | 折扣 | float | — | 可选 | 折扣 |
| 3.25 | id | 分录id | string | — | 可选 | 新增不传该字段,修改必传 |
| 3.26 | predis_amount | 折前金额 | float | — | 可选 | 折前金额 |
| 3.27 | price | 单价 | float | — | 可选 | 单价 |
| 3.28 | pro_license | pro_license | string | — | 可选 | pro_license |
| 3.29 | pro_place | 产地 | string | — | 可选 | 产地 |
| 3.30 | pro_reg_no | 注册证号 | string | — | 可选 | 注册证号 |
| 3.31 | qty | 数量 | float | — | 可选 | 默认等于申请数量 |
| 3.32 | sp_id | 仓位 | string | — | 可选 | 仓位 |
| 3.33 | stock_id | 仓库 | string | — | 可选 | 仓库 |
| 4 | attachments_url | 上传的附件url | string | — | 可选 | 上传的附件url |
| 5 | bill_no | 单据编码 | string | — | 可选 | 单据编码 |
| 6 | contact_address | 联系信息-详细地址 | string | — | 可选 | 联系信息-详细地址 |
| 7 | currency_id | 币别 | string | — | 可选 | 币别 |
| 8 | custom_field | 自定义字段 | string | — | 可选 | 自定义字段使用指南:https://open.jdy.com/#/files/api/detail?id=76567ff2a06311edaa4b3d71bf0fce53&noside=true |
| 9 | dept_id | 申请部门 | string | — | 可选 | 申请部门 |
| 10 | dispatcher_address | 收货地址-详细地址 | string | — | 可选 | 收货地址-详细地址 |
| 11 | dispatcher_city_id | 收货地址-市ID | string | — | 可选 | 收货地址-市ID |
| 12 | dispatcher_country_id | 收货地址-国家ID | string | — | 可选 | 收货地址-国家ID |
| 13 | dispatcher_district_id | 收货地址-区ID | string | — | 可选 | 收货地址-区ID |
| 14 | dispatcher_linkman | 发货人 | string | — | 可选 | 发货人 |
| 15 | dispatcher_phone | 发货联系电话 | string | — | 可选 | 发货联系电话 |
| 16 | dispatcher_province_id | 收货地址-省ID | string | — | 可选 | 收货地址-省ID |
| 17 | id | 单据ID | string | — | 可选 | 修改单据时必填 |
| 18 | ignore_warn | 忽略操作确认提示 | bool | — | 可选 | 当price不传或等于0时ignoreconfirm需要为true |
| 19 | operation_key | 操作类型 | string | — | 可选 | 审核audit、提交submit |
| 20 | remark | 单据备注 | string | — | 可选 | 单据备注 |
| 21 | whole_supplier_id | 建议供应商 | string | — | 可选 | 建议供应商 |
暂无参数说明
金蝶云星辰V2的接口:采购申请单保存V3.0(/jdy/v2/scm/pur_request),由轻易云数据集成平台 API 资产管理模块整理收纳,并随金蝶云星辰V2版本更新同步更新。