v1
latestOpenAPI 3.1.02026-07-242735131.1 MBExpenses
List expenses
Lists all expenses records
Scopes
| Category | Read only Scope | Write only Scope (read access implicit) |
|---|---|---|
| Manage expenses (employment_payments) | View expenses (expense:read) | Manage expenses (expense:write) |
get/v1/expenses
Query parameters
pageinteger
Starts fetching records after the given page
page_sizeinteger
Change the amount of records returned per page, defaults to 20, limited to 100
Headers
Authorizationstring required
Requires a Company-scoped access token obtained through the Authorization Code flow or the Refresh Token flow.
The refresh token needs to have been obtained through the Authorization Code flow.
Response
Success
Example response
{
"current_page": 1,
"expenses": [
{
"amount": 8000,
"converted_amount": 8000,
"converted_currency": {
"code": "CZK",
"name": "Czech Koruna",
"symbol": "Kč"
},
"converted_tax_amount": 0,
"currency": {
"code": "CZK",
"name": "Czech Koruna",
"symbol": "Kč"
},
"employment_id": "ba9ead59-e471-4043-a7ea-07dbb105e72c",
"expense_date": "2020-12-11",
"id": "123e4567-e89b-12d3-a456-426614174000",
"status": "pending",
"tax_amount": 0,
"title": "New keyboard"
}
],
"total_count": 1,
"total_pages": 1
}