api/consignment/add{
"operation": {
"method": "none"
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | code | string | 1 | Optional | 单据号 |
| 2 | unit_code | unit_code | string | 1 | Optional | 辅计量单位 |
| 3 | num | num | string | 1 | Optional | 件数 |
| 4 | date | date | string | 1 | Optional | 单据日期 |
| 5 | unitrate | unitrate | string | 1 | Optional | 换算率 |
| 6 | operation_type | operation_type | string | 1 | Required | 业务类型 |
| 7 | saletype | saletype | string | 1 | Required | 销售类型编码 |
| 8 | saletypename | saletypename | string | 1 | Optional | 销售类型 |
| 9 | state | state | string | 1 | Optional | 订单状态 |
| 10 | custcode | custcode | string | 1 | Required | 客户编码 |
| 11 | cusname | cusname | string | 1 | Optional | 客户 |
| 12 | cusabbname | cusabbname | string | 1 | Optional | 客户简称 |
| 13 | deptcode | deptcode | string | 1 | Required | 部门编码 |
| 14 | deptname | deptname | string | 1 | Optional | 部门名称 |
| 15 | personcode | personcode | string | 1 | Optional | 人员编码 |
| 16 | personname | personname | string | 1 | Optional | 人员 |
| 17 | cdeliverunit | cdeliverunit | string | 1 | Optional | 收货单位 |
| 18 | ccontactname | ccontactname | string | 1 | Optional | 收货联系人 |
| 19 | cofficephone | cofficephone | string | 1 | Optional | 收货联系电话 |
| 20 | cmobilephone | cmobilephone | string | 1 | Optional | 收货联系人手机 |
| 21 | cdeliveradd | cdeliveradd | string | 1 | Optional | 收货地址 |
| 22 | rowno | rowno | string | 1 | Required | 行号 |
| 23 | remark | remark | string | 1 | Optional | 备注 |
| 24 | maker | maker | string | 1 | Optional | 制单人 |
| 25 | verifier | verifier | string | 1 | Optional | 审核人 |
| 26 | closer | closer | string | 1 | Optional | 关闭人 |
| 27 | entry | entry | array | 1 | Optional | 分录 |
| 28 | inventory_code | inventory_code | string | 1 | Required | 存货编码 |
| 29 | inventory_name | inventory_name | string | 1 | Optional | 存货名称 |
| 30 | warehouse_code | warehouse_code | string | 1 | Required | 仓库编码 |
| 31 | warehouse_name | warehouse_name | string | 1 | Optional | 仓库名称 |
| 32 | invstd | invstd | string | 1 | Optional | 存货规格 |
| 33 | ccomunitcode | ccomunitcode | string | 1 | Optional | 主计量单位编码 |
| 34 | cinvm_unit | cinvm_unit | string | 1 | Optional | 主计量单位 |
| 35 | quantity | quantity | string | 1 | Required | 数量 |
| 36 | price | price | string | 1 | Optional | 单价,传入会自动重新计算相关价格及金额。如果传入了含税单价,以含税单价为准自动计算。 |
| 37 | quotedprice | quotedprice | string | 1 | Optional | 报价 |
| 38 | taxprice | taxprice | string | 1 | Optional | 含税单价,传入会自动重新计算相关价格及金额。 |
| 39 | money | money | string | 1 | Optional | 无税金额 |
| 40 | sum | sum | string | 1 | Optional | 价税合计 |
| 41 | taxrate | taxrate | string | 1 | Optional | 税率 |
| 42 | tax | tax | string | 1 | Optional | 税额 |
| 43 | natprice | natprice | string | 1 | Optional | 本币单价 |
| 44 | natmoney | natmoney | string | 1 | Optional | 本币金额 |
| 45 | nattax | nattax | string | 1 | Optional | 本币税额 |
| 46 | natsum | natsum | string | 1 | Optional | 本币价税合计 |
| 47 | discount | discount | string | 1 | Optional | 折扣额 |
| 48 | natdiscount | natdiscount | string | 1 | Optional | 本币折扣额 |
| 49 | discount1 | discount1 | string | 1 | Optional | 扣率(%) |
| 50 | discount2 | discount2 | string | 1 | Optional | 扣率2(%) |
| 51 | socode | socode | string | 1 | Optional | 销售订单号 |
| 52 | batch | batch | string | 1 | Optional | 批号 |
| 53 | ExpirationDate | ExpirationDate | string | 1 | Optional | 有效期至 |
| 54 | cmassunit | cmassunit | string | 1 | Optional | 保质期单位 |
| 55 | ExpirationItem | ExpirationItem | string | 1 | Optional | 有效期计算项 |
| 56 | dmdate | dmdate | string | 1 | Optional | 生产日期 |
| 57 | overdate | overdate | string | 1 | Optional | 失效日期 |
| 58 | ExpiratDateCalcu | ExpiratDateCalcu | string | 1 | Optional | 有效期推算方式 |
| 59 | imassdate | imassdate | string | 1 | Optional | 保质期 |
| 60 | item_code | item_code | string | 1 | Optional | 项目编码 |
| 61 | tradeid | tradeid | string | 1 | Required | 交易唯一识别码,tradeid与biz_id只能传入一个 |
| 62 | ds_sequence | ds_sequence | string | 1 | Optional | 111 |
| 63 | biz_id | biz_id | string | 1 | Required | 上游id,需要保证biz_id与ERP主键唯一对应关系,tradeid与biz_id只能传入一个 |
| 64 | sync | sync | string | 1 | Optional | 0=异步新增(默认);1=同步新增; |
No parameter reference available
The 新增一张发货单_v1 API (api/consignment/add) of 用友U8 is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 用友U8 version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.