Bill GET
GET /api/account/{account}/accounting/{platform}/{id}/bill
Gets a list of all Bills for a date range.
URL Parameters
account* | Account | |
---|---|---|
platform* | Connection Platform | |
id* | Connection ID |
Query Parameters
from | string | |
---|---|---|
to | string | |
filter | string | |
page | integer | |
pageSize | integer |
Responses
200 OK
page | integer | |
---|---|---|
pageSize | integer | |
resultsSize | integer | |
results | array[object] | |
date | string | |
amount | number | |
amountDue | number | |
currency | string | |
reference | string | |
billId | string | |
debtorId | string | |
updatedDate | string | |
dueDate | string | |
status | string | |
items | array |
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
500 Internal Server Error
Example Success Response
{
"page": 0,
"pageSize": 0,
"resultsSize": 0,
"results": [
{
"date": "string",
"amount": 1,
"amountDue": 1,
"currency": "string",
"reference": "string",
"billId": "string",
"debtorId": "string",
"updatedDate": "string",
"dueDate": "string",
"status": "string",
"items": []
}
]
}