Retrieve a list of expenses
Get all your expenses, or use the query parameters to filter the results.
The expenses are sorted by the expense_date value in reverse chronological order, and they're paginated. The maximum number of expenses returned per page is specified by the count parameter. To get the next page of results, make a new request and use the expense_date value from the last item of the previous page as the value for the to parameter.
The data enriched by the user, for example, VAT and cost centre, is returned under splits[].tax_rate and splits[].labels, respectively.
:::note
- The API returns a maximum of 500 expenses per request.
- This feature is not available in Sandbox. :::
For more information, see the guides: Retrieve expenses and receipts.
Request
- Base URLhttps://b2b.revolut.com/api/1.0
- AuthHTTP bearer
Query parameters
The date and time to retrieve the expenses from, including this date-time. Corresponds to the value of expense_date. Provided in ISO 8601 format.
Used also for pagination. To get back to the previous page of results, make a new request and use the expense_date value from the first item of the current page as the value for the from parameter.
The date and time to retrieve the expenses to, excluding this date-time. Corresponds to the value of expense_date. Provided in ISO 8601 format. The default value is the date and time at which you're calling the endpoint.
Used also for pagination. To get back to the next page of results, make a new request and use the expense_date value from the last item of the previous (current) page as the value for the to parameter.
The maximum number of the expenses to retrieve per page. To get the next page of results, make a new request and use the expense_date value from the last item of the previous page as the value for the to parameter.
Retrieves the expenses in the specified state.
The type of the transaction related to the expense. If provided, only expenses with transactions of this type are returned.
Response
List of expenses
Example response
[
{
"labels": {
"Office supplies": [
"Photocopying"
],
"Department": [
"HR"
]
},
"splits": [
{
"labels": {
"Office supplies": [
"Photocopying"
]
}
}
]
}
]Changes
No recorded changes to this operation across all 1 revision of this API.