Lists all bills
Changed onReturns AP bills with pagination plus filters for vendor, subsidiary, approval state, and balances due. Use bill ids with retrieve-a-bill before performing full updates or attaching documents.
Request
- Base URLhttps://api.rillet.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Maximum number of rows to return in the page.
If defined, a cursor to retrieve the next page.
Pagination cursor to navigate through the full response.
Subsidiary to be used when filtering data
Filter bills updated after this timestamp
Filter bills by vendor.
Filter bills by payment status.
Response
OK
Example response
{
"bills": [
{
"expense_number": "B123",
"items": [
{
"description": "API Bill",
"account_code": "11112",
"amount": {
"amount": "1.01",
"currency": "USD"
},
"tax_rate": {
"percentage": "0",
"tax_amount": {
"amount": "1.01",
"currency": "USD"
},
"country": "US"
}
}
],
"external_references": [
{
"type": "xyzSystemId",
"id": "234",
"url": "https://xyzsystempage.com/ids/234"
}
],
"exchange_rate": {
"base": "USD",
"target": "USD"
}
}
],
"pagination": {
"next_cursor": "iLQvkEj3sh3UiweC"
}
}Changes
- breaking
the
/////////////////response's property type changed fromnumbertostring, and format from no format tonumberfor status - breaking
the
//////////////////response's property type changed fromnumbertostring, and format from no format tonumberfor status - warning
added the new
DRAFTenum value to the///response property for the response status - info
added the optional property
//////to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status
- breaking