List expenses
Retrieve a paginated list of expenses with optional date range and search filters.
Request
- Base URL: https://api.frihet.io
- URL: https://api.frihet.io/v1/expenses
- Auth: API key in header X-API-Key
Query parameters
Number of items to return (default 50, max 100)
Number of items to skip for pagination (max 10000)
Cursor for cursor-based pagination. Use the nextCursor value from a previous response to fetch the next page. When provided, offset is ignored. The cursor is a base64url-encoded JSON string.
Start date filter in ISO format (YYYY-MM-DD)
End date filter in ISO format (YYYY-MM-DD)
Full-text search query. Searches across relevant fields per resource type (e.g., clientName, documentNumber for invoices; name, email for clients). Case-insensitive.
Comma-separated list of fields to include in the response. The id field is always included. Example: fields=id,name,total
Filter expenses by vendor ID
Filter expenses by category
Response
A paginated list of expenses
Example response
{
"data": [
{
"description": "Office supplies",
"amount": 45.99,
"date": "2026-03-09",
"paidDate": "2026-03-12",
"category": "office",
"vendor": "Office Depot",
"taxDeductible": true,
"currency": "EUR",
"functionalCurrency": "EUR",
"recurring": {
"enabled": true,
"frequency": "monthly",
"nextDate": "2026-04-01",
"endDate": "2027-03-31",
"maxOccurrences": 12
}
}
],
"nextCursor": "eyJpc3N1ZURhdGUiOiIyMDI2LTAzLTIwIiwiX19pZCI6ImFiYzEyMyJ9",
"truncated": true
}Changes
No recorded changes to this operation across all 1 revision of this API.