1
|
|
固定值 |
id
|
单据ID |
单据ID,修改单据时必填,新增不传该字段 |
2
|
|
固定值 |
billno
|
单据编码 |
单据编码 |
3
|
|
固定值 |
billdate
|
单据日期 |
单据日期 |
4
|
|
固定值 |
deptid_id
|
部门 |
部门 |
5
|
|
固定值 |
deptid_number
|
部门number |
部门number |
6
|
|
固定值 |
empid_id
|
业务员 |
业务员 |
7
|
|
固定值 |
empid_number
|
业务员number |
业务员number |
8
|
|
固定值 |
supplierid_id
|
供应商 |
供应商 |
9
|
|
固定值 |
supplierid_number
|
供应商 |
供应商 |
10
|
|
固定值 |
remark
|
备注 |
备注 |
11
|
|
固定值 |
currencyid_id
|
币别 |
币别 |
12
|
|
固定值 |
alldebt
|
应付余额 |
应付余额 |
13
|
|
固定值 |
lastdebt
|
上次欠款 |
上次欠款 |
14
|
|
固定值 |
returnreason
|
原因 |
原因 |
15
|
|
固定值 |
contact_info
|
联系信息 |
联系信息 |
16
|
|
固定值 |
bill_dis_amount
|
整单折扣额 |
整单折扣额 |
17
|
|
固定值 |
bill_dis_rate
|
整单折扣率 |
整单折扣率 |
18
|
|
固定值 |
totalamount
|
本次应退账款 |
本次应退账款 |
19
|
|
固定值 |
totalinsamount
|
退款合计 |
退款合计 |
20
|
|
固定值 |
totalunsettleamount
|
本单未退 |
本单未退 |
21
|
|
固定值 |
material_entity
|
商品分录 |
商品分录 |
22
|
|
固定值 |
material_entity.id
|
分录id |
分录id,新增不传该字段,修改必传 |
23
|
|
固定值 |
material_entity.materialid_id
|
商品 |
商品 |
24
|
|
固定值 |
material_entity.materialid_number
|
商品number |
商品number |
25
|
|
固定值 |
material_entity.stockid_id
|
仓库 |
仓库 |
26
|
|
固定值 |
material_entity.stockid_number
|
仓库number |
仓库number |
27
|
|
固定值 |
material_entity.spid_id
|
仓位 |
仓位 |
28
|
|
固定值 |
material_entity.qty
|
数量 |
数量 |
29
|
|
固定值 |
material_entity.unit_id
|
单位 |
单位(只能填商品关联的单位,来源于商品单位查询接口或商品详情中的baseunitid_id、fixunit1_id等) |
30
|
|
固定值 |
material_entity.auxqty
|
辅助数量 |
辅助数量 |
31
|
|
固定值 |
material_entity.auxunitid_id
|
辅助单位id |
辅助单位id |
32
|
|
固定值 |
material_entity.auxpropid_id
|
辅助属性 |
辅助属性(辅助属性商品必填) |
33
|
|
固定值 |
material_entity.barcode
|
条形码 |
条形码 |
34
|
|
固定值 |
material_entity.batchno
|
批次号 |
批次号 (批次商品必填) |
35
|
|
固定值 |
material_entity.proplace
|
产地 |
产地 |
36
|
|
固定值 |
material_entity.proregno
|
注册证号 |
注册证号 |
37
|
|
固定值 |
material_entity.prolicense
|
生产许可证号 |
生产许可证号 |
38
|
|
固定值 |
material_entity.snlistid
|
序列号流转id |
序列号流转id;单据新增后会在单据详情中带回这个字段信息,*序列号商品修改时必填 |
39
|
|
固定值 |
material_entity.sn_list
|
序列号 |
序列号 格式如:001:备注1;002:备注2 (序列号:序列号备注 多个序列号以英文分号字符;分隔),*序列号商品必填 |
40
|
|
固定值 |
material_entity.price
|
单价 |
单价(如果在“系统参数”的“基础资料参数”中勾选了“商品价格为含税单价”,则price指示含税单价) |
41
|
|
固定值 |
material_entity.comment
|
行备注 |
行备注 |
42
|
|
固定值 |
material_entity.srcbillno
|
源单编码 |
源单编码 |
43
|
|
固定值 |
material_entity.srcbilltypeid_id
|
源单类型 |
源单类型 |
44
|
|
固定值 |
material_entity.srcinterid
|
源单内码 |
源单内码 |
45
|
|
固定值 |
material_entity.src_billdate
|
源单日期 |
源单日期 |
46
|
|
固定值 |
material_entity.srcseq
|
源单行号 |
源单行号 |
47
|
|
固定值 |
material_entity.srcentryid
|
源单分录内码 |
源单分录内码 |