Lists all charges
Changed onPages card or out-of-pocket employee charges awaiting policy review, subsidiary allocation, or conversion into reimbursable payables. Filter by subsidiary_id or updated.gt when syncing corporate card feeds into downstream expense automation.
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 charges updated after this timestamp
Response
OK
Example response
{
"charges": [
{
"items": [
{
"description": "API Charge",
"account_code": "11112",
"amount": {
"amount": "1.01",
"currency": "USD"
},
"tax_rate": {
"percentage": "0",
"tax_amount": {
"amount": "1.01",
"currency": "USD"
},
"country": "US"
}
}
],
"credit_card_account_code": "11112",
"funding_account_code": "11112",
"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 property
//////became optional for the status - breaking
the
//////response's property type changed fromstringto no type for status - 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 write-only property
charges/items/allOf[ChargeRequest]/funding_account_codeto the response with the status - info
added to the
//////response propertyallOflist for the response status - info
the response required property
//////became write-only for the status
- breaking