About SentPay
You can pay multiple bills and apply vendor credit(s) to the bills via the PayBills API, RecordAPPayment API, or Bill.com UI. This API gets you the details of a payment, which include the bills that were paid and the details of the vendor credits that were applied.
Example
Request
<API_URL_EndPoint>/Crud/Read/SentPay.json
data={
"id" : "stp01PRMNWCJDQGQb3zb"
}
Response
{
"response_status" : 0,
"response_message" : "Success",
"response_data" : {
"entity" : "SentPay",
"id" : "stp01PRMNWCJDQGQb3zb",
"processDate" : "2016-11-27",
"amount" : 985.00,
"status" : "1",
"description" : "Inv #July 2016",
"txnNumber" : "EYBKMKPBBYTSHELLCRKX",
"name" : "P12112401 - 0517829",
"vendorId" : "00901MUFKKEFRVRMe99v",
"isOnline" : true,
"chartOfAccountId" : "0ca01MSENFFIIEZB4oc5",
"syncReference" : null,
"toPrintCheck" : false,
"createdTime" : "2016-11-24T08:33:44.000+0000",
"updatedTime" : "2016-11-24T08:33:44.000+0000",
"bankAccountId" : "bac01ZIMKIKXASICdih0",
"needAttnReviewed" : false,
"source" : "0",
"billPays" : [ {
"entity" : "BillPay",
"id" : "blp01QBTQCVSIFKKb3k6",
"billId" : "00n01BSVQBUTAKGJapyf",
"name" : "P12112401 - 0517829",
"paymentStatus" : "1",
"amount" : 985.00,
"description" : "Inv #July 2012",
"processDate" : "2012-11-27",
"createdTime" : "2016-11-24T08:33:44.000+0000",
"updatedTime" : "2016-11-24T08:33:44.000+0000",
"syncReference" : null,
"toPrintCheck" : false,
"chartOfAccountId" : "0ca01MSENFFIIEZB4oc5"
} ],
"billCredits" : [ {
"entity" : "BillCredit",
"id" : "bcr01MWIOLSKVOHEFd49",
"billId" : "00n01BSVQBUTAKGJapyf",
"sentPayId" : "stp01PRMNWCJDQGQb3zb",
"vendorCreditId" : "vcr01OPNLKFLFCNU2lgc",
"amount" : 10.00,
"createdTime" : "2016-11-24T08:33:40.000+0000",
"updatedTime" : "2016-11-24T08:33:44.000+0000"
}, {
"entity" : "BillCredit",
"id" : "bcr01BZWRZYMCWFTPd4a",
"billId" : "00n01BSVQBUTAKGJapyf",
"sentPayId" : "stp01PRMNWCJDQGQb3zb",
"vendorCreditId" : "vcr01YDNBXVWKSUN2lga",
"amount" : 5.00,
"createdTime" : "2016-11-24T08:33:40.000+0000",
"updatedTime" : "2016-11-24T08:33:44.000+0000"
} ]
}
}
Resources
Parameters