1.1 应收结算录入
开发中
POST
/collectandpay/out/interface/insertTArReceivableThird
应收
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Body 参数application/json
fsourcesys
string
来源
list
array [object {26}]
应收单集合
compNo
string
公司编码
fnumber
string
单据编号
fbizdate
string
单据日期
fcolortype
string
红蓝单标识
fcaatype
string
往来类型
fcaanumber
string
往来编码
fcaaname
string
往来名称
fbiztype
string
业务类型
fcurrency
string
币别
fexchangerate
number
汇率
frecamount
number
应收金额
frecamountloc
number
应收金额本位币
ftaxamount
number
税额
ftaxamountloc
number
税额本位币
fnotaxamount
number
不含税金额
fnotaxamountloc
number
不含税金额本位币
FOrgUnitID
string
部门ID
fpersonname
string
业务员名称
FPersonNumber
string
业务员工号
fdesc
string
摘要
fisattachemt
string
附件数量
remark
string
备注
entryList
array [object {20}]
结算单分录
arinvoiceList
array [object {20}]
发票列表
recUseAmountList
array [object {9}]
用款列表
fileList
array [object {2}]
附件列表
invoicevalid
string
发票作废状态
示例
{
"fsourcesys": "string",
"list": [
{
"compNo": "string",
"fnumber": "string",
"fbizdate": "string",
"fcolortype": "string",
"fcaatype": "string",
"fcaanumber": "string",
"fcaaname": "string",
"fbiztype": "string",
"fcurrency": "string",
"fexchangerate": 0,
"frecamount": 0,
"frecamountloc": 0,
"ftaxamount": 0,
"ftaxamountloc": 0,
"fnotaxamount": 0,
"fnotaxamountloc": 0,
"FOrgUnitID": "string",
"fpersonname": "string",
"FPersonNumber": "string",
"fdesc": "string",
"fisattachemt": "string",
"remark": "string",
"entryList": [
{
"fseq": 0,
"fmaterialid": "string",
"fmaterial": "string",
"fmeasureunit": "string",
"fquantity": 0,
"fprice": 0,
"fnotaxprice": 0,
"fnotaxamount": 0,
"fnotaxamountloc": 0,
"ftaxrate": 0,
"ftaxamount": 0,
"ftaxamountloc": 0,
"fpayeramount": 0,
"fpayeramountloc": 0,
"fcontractnumber": "string",
"fstockbillno": "string",
"fstockqty": 0,
"fsourcebillNumber": "string",
"fsteelgrade": "string",
"fchechuanfei": 0
}
],
"arinvoiceList": [
{
"compNo": "string",
"fnumber": "string",
"fbizdate": "string",
"fpayeramount": 0,
"fcolortype": "string",
"ftype": "string",
"fbilldate": "string",
"fapname": "string",
"faptaxpayerid": "string",
"fapaddressphone": "string",
"fapbankaccount": "string",
"farname": "string",
"fartaxpayerid": "string",
"faraddressphone": "string",
"farbankaccount": "string",
"fdrawer": "string",
"fdesc": "string",
"fnotaxamount": 0,
"ftaxamount": 0,
"entryList": [
{
"fseq": 0,
"fmaterialid": "string",
"fmaterial": "string",
"fquantity": 0,
"fmodel": "string",
"fmeasureunit": "string",
"fnotaxprice": 0,
"fnotaxamount": 0,
"ftaxrate": 0,
"ftaxamount": 0
}
]
}
],
"recUseAmountList": [
{
"fnumber": "string",
"fseq": 0,
"fexchangerate": 0,
"fusetype": "string",
"farreceiptno": "string",
"fcurrency": "string",
"fuseamount": 0,
"fuseamountloc": 0,
"fsourcebillNumber": "string"
}
],
"fileList": [
{
"url": "string",
"name": "string"
}
]
}
],
"invoicevalid": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://10.36.8.67/stage-api/collectandpay/out/interface/insertTArReceivableThird' \
--header 'Content-Type: application/json' \
--data-raw '{
"fsourcesys": "string",
"list": [
{
"compNo": "string",
"fnumber": "string",
"fbizdate": "string",
"fcolortype": "string",
"fcaatype": "string",
"fcaanumber": "string",
"fcaaname": "string",
"fbiztype": "string",
"fcurrency": "string",
"fexchangerate": 0,
"frecamount": 0,
"frecamountloc": 0,
"ftaxamount": 0,
"ftaxamountloc": 0,
"fnotaxamount": 0,
"fnotaxamountloc": 0,
"FOrgUnitID": "string",
"fpersonname": "string",
"FPersonNumber": "string",
"fdesc": "string",
"fisattachemt": "string",
"remark": "string",
"entryList": [
{
"fseq": 0,
"fmaterialid": "string",
"fmaterial": "string",
"fmeasureunit": "string",
"fquantity": 0,
"fprice": 0,
"fnotaxprice": 0,
"fnotaxamount": 0,
"fnotaxamountloc": 0,
"ftaxrate": 0,
"ftaxamount": 0,
"ftaxamountloc": 0,
"fpayeramount": 0,
"fpayeramountloc": 0,
"fcontractnumber": "string",
"fstockbillno": "string",
"fstockqty": 0,
"fsourcebillNumber": "string",
"fsteelgrade": "string",
"fchechuanfei": 0
}
],
"arinvoiceList": [
{
"compNo": "string",
"fnumber": "string",
"fbizdate": "string",
"fpayeramount": 0,
"fcolortype": "string",
"ftype": "string",
"fbilldate": "string",
"fapname": "string",
"faptaxpayerid": "string",
"fapaddressphone": "string",
"fapbankaccount": "string",
"farname": "string",
"fartaxpayerid": "string",
"faraddressphone": "string",
"farbankaccount": "string",
"fdrawer": "string",
"fdesc": "string",
"fnotaxamount": 0,
"ftaxamount": 0,
"entryList": [
{
"fseq": 0,
"fmaterialid": "string",
"fmaterial": "string",
"fquantity": 0,
"fmodel": "string",
"fmeasureunit": "string",
"fnotaxprice": 0,
"fnotaxamount": 0,
"ftaxrate": 0,
"ftaxamount": 0
}
]
}
],
"recUseAmountList": [
{
"fnumber": "string",
"fseq": 0,
"fexchangerate": 0,
"fusetype": "string",
"farreceiptno": "string",
"fcurrency": "string",
"fuseamount": 0,
"fuseamountloc": 0,
"fsourcebillNumber": "string"
}
],
"fileList": [
{
"url": "string",
"name": "string"
}
]
}
],
"invoicevalid": "string"
}'
返回响应
🟢200成功
application/json
Body
msg
string
必需
code
integer
必需
示例
{
"msg": "string",
"code": 0
}
修改于 2023-05-10 08:38:24