- 系统功能
- 工程数据
- 车间管理
- 普通生产
- 生产订单
- 生产投料单
- 生产汇报单
- 生产入库单
- 生产领料单
- 生产补料单
- 生产退料单
- 生产退库
- 员工计件工资单
- 看板POST
- 委外管理
- 销售管理
- 非标生产
- 人力资源
- wms
- 采购管理
- 检斤管理
- 委外工序计划单
- KIS升级
- 工作流
- CRM客户管理
- 首页
- SRM管理
- 基础资料
- 轻MES
- 质量管理
销售退货单查询
POST
/sal/mxoc_salbillListInbound_query
请求参数
Query 参数
access_token
string
必需
默认值:
{{access_token}}
Header 参数
groupName
string
必需
默认值:
{{groupName}}
Content-Type
string
必需
默认值:
{{Content-Type}}
accountid
string
必需
默认值:
{{accountId}}
X-GW-Router-Addr
string
必需
默认值:
{{X-GW-Router-Addr}}
Body 参数application/json
entityName
string
查询单据标识
search
string
查询数据
billStatus
string
单 据状态
orderbys
string
排序字段
pageIndex
string
分页
pageSize
string
分页数
示例
{
"entityName": "sal_bill_inbound",
"search": "",
"billStatus": "Z",
"orderbys": "billdate desc",
"pageIndex": 1,
"pageSize": 10
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/sal/mxoc_salbillListInbound_query?access_token=' \
--header 'groupName;' \
--header 'accountid;' \
--header 'X-GW-Router-Addr;' \
--header 'Content-Type: application/json' \
--data-raw '{
"entityName": "sal_bill_inbound",
"search": "",
"billStatus": "Z",
"orderbys": "billdate desc",
"pageIndex": 1,
"pageSize": 10
}'
返回响应
🟢200成功
application/json
Body
data
array [object {45}]
必需
material_entity.materialid.id
string
商品id
material_entity.qty
string
数量
bill_dis_amount
string
整单折扣额
material_entity.materialid.model
string
商品规格型号
material_entity.taxprice
string
含税单价
exchangerate
string
汇率
deptid
string
部门
remark
string
单据备注
material_entity.taxamount
string
税额
customerid.id
string
客户id
material_entity.stockid.name
string
仓库名称
material_entity.materialid.number
string
商品编码
customerid.number
string
客户编码
bill_deal_amount
string
成交金额
material_entity.spid.number
string
仓位编码
id
string
销售退货单数据id
bill_dis_rate
string
整单折扣率%
material_entity.stockid.number
string
仓库编码
empid
string
业务员
material_entity.id
string
商品信息分录id
ivctype
string
发票类型
lastdebt
string
上次欠款
material_entity.cess
string
增值税税率(%)
billstatus
string
单据状态
requiredinvoice
string
需要开票
returnreason
string
退货原因
billspid
string
仓位
settle_customerid
string
结算客户
material_entity.unit
string
单位
material_entity.seq
string
行号
material_entity.allamount
string
价税合计
customerid.name
string
客户名称
material_entity.spid.id
string
仓位id
duedate
string
结算日期
mulbilllabel
string
单据标签
billdate
string
单据日期
material_entity.price
string
单价
settingterm
string
结算期限
billstockid
string
仓库
currencyid
string
币别
material_entity.stockid.id
string
分录仓库id
billno
string
单据编号
billsource
string
单据来源
material_entity.materialid.name
string
商品名称
material_entity.spid.name
string
分录仓位名称
errorCode
string
必需
status
boolean
必需
success
boolean
必需
示例
{
"data": [
{
"material_entity.materialid.id": "null",
"material_entity.qty": "null",
"bill_dis_amount": "",
"material_entity.materialid.model": "null",
"material_entity.taxprice": "null",
"exchangerate": "1.0000000000",
"deptid": "null",
"remark": "",
"material_entity.taxamount": "null",
"customerid.id": "1355851456778862592",
"material_entity.stockid.name": "null",
"material_entity.materialid.number": "null",
"customerid.number": "CUS0002",
"bill_deal_amount": "",
"material_entity.spid.number": "null",
"checked": false,
"id": "1749384898054993920",
"bill_dis_rate": "",
"material_entity.stockid.number": "null",
"empid": "null",
"material_entity.id": "null",
"ivctype": "2",
"lastdebt": "",
"material_entity.cess": "null",
"billstatus": "Z",
"requiredinvoice": "true",
"returnreason": "null",
"billspid": "null",
"settle_customerid": "bd_customer[accountopenaddr,addr,bank,bankaccount,cityid.name,cityid.number,clevel.id,clevel.name,clevel.number,contact_address,contact_cityid.name,contact_cityid.number,contact_countryid.name,contact_countryid.number,contact_districtid.name,contact_districtid.number,contact_provinceid.name,contact_provinceid.number,contactperson,countryid.name,countryid.number,creatorid_contact.name,creditlimit,deduct,defcurrencyid.amtprecision,defcurrencyid.convertmode,defcurrencyid.enable,defcurrencyid.exctype,defcurrencyid.format,defcurrencyid.id,defcurrencyid.isshowsign,defcurrencyid.name,defcurrencyid.number,defcurrencyid.priceprecision,defcurrencyid.rate,defcurrencyid.sign,districtid.name,districtid.number,email,enable,fullpinyin,group.id,group.name,group.number,invoicename,invoicetype,isdefault_linkman,mobile,mullabel.id,mullabel.name,mullabel.number,name,number,phone,pinyin,provinceid.name,provinceid.number,rate,remark,saledeptid.id,saledeptid.name,saledeptid.number,salerid.name,salerid.number,settingterm.id,settingterm.name,settingterm.number,settle_customerid.enable,settle_customerid.group.fullname,settle_customerid.group.id,settle_customerid.group.longnumber,settle_customerid.group.name,settle_customerid.group.number,settle_customerid.id,settle_customerid.invoicetype,settle_customerid.name,settle_customerid.number,standardcurrency.amtprecision,standardcurrency.id,standardcurrency.isshowsign,standardcurrency.name,standardcurrency.number,standardcurrency.priceprecision,standardcurrency.sign,taxpayerno][1355851456778862592, 1, CUS0002, 测试, [locale[28IR/C6EOBWN, zh_CN, 测试, null, null, null, null, null, null, null, null, null, 123123123], locale[28IR/C6EOBWO, zh_TW, 測試, null, null, null, null, null, null, null, null, null, 123123123]], null, null, [bomentity[1446983058476518400, 测试111, [locale[2IQBJSQ4=XFJ, zh_CN, 测试111, null], locale[2IQBJSQ4=XFK, zh_TW, 測試111, null]], 12312311, null, null, true, bd_country[fullname,masterid,name,number][1000001, 001, 中国, [locale[/N6STBZ6PE8A, en_US, China, null], locale[1, zh_CN, 中国, 中华人民共和国], locale[2, zh_TW, 中國, 中華人民共和國]], 1000001, 中华人民共和国], 1000001, null, null, null, null, null, null, bos_user[masterid,name,number][5137731, 29299987@kdc, 樊姣, [locale[1675796262425079810, zh_CN, 樊姣, null]], 0], 5137731, ]], , , , bd_country[fullname,masterid,name,number][1000001, 001, 中国, [locale[/N6STBZ6PE8A, en_US, China, null], locale[1, zh_CN, 中国, 中华人民共和国], locale[2, zh_TW, 中國, 中華人民共和國]], 1000001, 中华人民共和国], 1000001, bd_admindivision[fullname,longnumber,masterid,name,number][2817, 002817, 陕西省, [locale[28171, zh_CN, 陕西省, 陕西省, 陕西], locale[28172, zh_TW, 陝西省, 陝西省, 陝西]], 2817, 002817, 陕西省], 2817, bd_admindivision[fullname,longnumber,masterid,name,number][2818, 002818, 西安市, [locale[28181, zh_CN, 西安市, 陕西省_西安市, 西安], locale[28182, zh_TW, 西安市, 陝西省_西安市, 西安]], 2818, 002817!002818, 陕西省_西安市], 2818, bd_admindivision[fullname,longnumber,masterid,name,number][2819, 002819, 碑林区, [locale[28191, zh_CN, 碑林区, 陕西省_西安市_碑林区, 碑林], locale[28192, zh_TW, 碑林區, 陝西省_西安市_碑林區, 碑林]], 2819, 002817!002818!002819, 陕西省_西安市_碑林区], 2819, , null, null, null, null, 123123123, 0E-10, null, null, cs, ceshi, null, , 0E-10, bd_currency[amtprecision,name,number,priceprecision,sign][1297339258264157184, CNY, null, [locale[21BE8ZZKCHFZ, zh_CN, CNY, 记账本位币], locale[2UVE+Y31LDCL, zh_TW, CNY, null]], 6, 5, null], 1297339258264157184, bd_settlingterm[name,number][1, JSQX01, 30天, [locale[1, zh_CN, 30天]]], 1, [], null, 1, bd_currency[amtprecision,name,number,priceprecision,sign][1297339258264157184, CNY, null, [locale[21BE8ZZKCHFZ, zh_CN, CNY, 记账本位币], locale[2UVE+Y31LDCL, zh_TW, CNY, null]], 6, 5, null], 1297339258264157184, bd_customer[name,number][1355851456778862592, CUS0002, null, [locale[28IR/C6EOBWN, zh_CN, 测试, null, null, null, null, null, null, null, null, null, 123123123], locale[28IR/C6EOBWO, zh_TW, 測試, null, null, null, null, null, null, null, null, null, 123123123]]], 1355851456778862592]",
"material_entity.unit": "null",
"material_entity.seq": "null",
"material_entity.allamount": "null",
"customerid.name": "测试",
"material_entity.spid.id": "null",
"duedate": "2023-08-11 00:00:00.0",
"mulbilllabel": "[]",
"billdate": "2023-08-11 00:00:00.0",
"material_entity.price": "null",
"settingterm": "bd_settlingterm[beforedays,enable,monthcheckday,monthpayday,name,number,standdays,type][1, JSQX01, 30天, [locale[1, zh_CN, 30天]], 1, 30, 1, null, 1, 1]",
"billstockid": "null",
"currencyid": "bd_currency[amtprecision,convertmode,enable,exctype,format,isshowsign,name,number,priceprecision,rate,sign][1297339258264157184, CNY, null, [locale[21BE8ZZKCHFZ, zh_CN, CNY, 记账本位币], locale[2UVE+Y31LDCL, zh_TW, CNY, null]], 6, 5, null, null, , 1, 2, 1.0000000000, 1]",
"material_entity.stockid.id": "null",
"billno": "XSCK-20230811-00002",
"billsource": "SCM",
"material_entity.materialid.name": "null",
"material_entity.spid.name": "null"
}
],
"errorCode": "success",
"status": true,
"success": true
}
🟢200异常示例