1、先登录获取token
2、调用标准的费用报销单接口
{标签:BB01,06,number,openApi,01.01,使用,2013,1000 From: https://blog.51cto.com/u_11343833/6091629
"api": "cpbcOpenAPI_importBill",
"data": ["4A44F49F", [
{
"overAmountDesc":"1111",
"bosType":"4A44F49F",
"isWithTax":false,
"budgetAmount":0,
"applier":{
"number":"001"
},
"bizDate":"2013-06-19",
"applierCompany":{
"number":"01.01"
},
"orgUnit":{
"number":"01.01"
},
"company":{
"number":"01.01"
},
"costedDept":{
"number":"01.01.01"
},
"currencyType":{
"number":"BB01"
},
"cause":"cpbcopenApi",
"bizReqDate":"2013-06-19",
"prior":"30",
"state":25,
"entries":[
{
"happenTime":"2013-06-19",
"amount":1000,
"amountOri":1000,
"amountOriWithoutTax":1000,
"tax":0,
"amountApprovedOri":1000,
"amountApproved":1000,
"operationType":{
"number":"XSFL"
},
"expenseType":{
"number":"SHFL001"
},
"costCenter":{
"number":"01.01.01"
},
"company":{
"number":"01.01"
},
"currencyType":{
"number":"BB01"
},
"exchangeRate":1,
"convertMode":0,
"exchangeRatePrecision":4
}
],
"collectionEntries":[
{
"payerName":"testPayer",
"currencyType":{
"number":"BB01"
},
"exchangeRate":1,
"convertMode":0,
"exchangeRatePrecision":4
}
]
}
],{"actionType":"submit" }]
}