Actions110
- Absence Transaction Actions
- Access Token Actions
- Account Actions
- Article Actions
- Attendance Transaction Actions
- Company Information Actions
- Contract Actions
- Cost Center Actions
- Customer Actions
- Employee Actions
- Expense Actions
- Financial Year Actions
- Invoice Actions
- Invoice Accrual Actions
- Invoice Payment Actions
- Offer Actions
- Order Actions
- Price Actions
- Price List Actions
- Project Actions
- Salary Transaction Actions
- Schedule Time Actions
- Supplier Actions
- Supplier Invoice Accrual Actions
- Supplier Invoice Payment Actions
- Tax Reduction Actions
- Voucher Actions
Expense → Get Many
AI-generatedSummary
Retrieves a list of expense records from Fortnox, with optional filtering by last‑modified date and sort order, and optional pagination.
Inputs
- Return All — When enabled, returns all matching expenses; otherwise limits the result set to the value of Limit. Default: false.
- Limit — Maximum number of expense records to return when Return All is disabled. Minimum 1. Default: 50.
- Filters — Collection of optional filters applied to the request.
- Filters.Sort Order — Direction in which results are sorted. Options: Ascending (default), Descending.
- Filters.Last Modified — ISO‑like timestamp (YYYY‑MM‑DD HH:MM:SS); only expenses modified after this date are returned. Empty string disables the filter.
Output shape
json
Returns an array of expense objects as provided by the Fortnox API. Each object contains the fields defined by the Expense resource (e.g., ID, description, amount, dates, etc.). If no expenses match, an empty array is returned.
Examples
Example 1: Fetch the 10 most recently modified expenses
Return All: false; Limit: 10; Filters → Sort Order: Descending; Last Modified: left blank (or set a specific date).
Example 2: Retrieve all expenses created after 2024‑01‑01
Return All: true; Filters → Sort Order: Ascending; Last Modified: 2024-01-01 00:00:00.