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
Cost Center → Get Many
AI-generatedSummary
Retrieves a list of cost centers from Fortnox with optional filtering and pagination.
Inputs
- Return All — When true, returns all cost centers; when false, limits the result set using the Limit field (default: false).
- Limit — Maximum number of cost centers to return when Return All is false (minimum 1, default 50). Shown only when Return All is false.
- Filters — Collection of filter options to narrow the result set.
- Filters.Last Modified — Retrieve only cost centers modified after this date-time (format: YYYY-MM-DD HH:MM:SS).
- Filters.Sort Order — Sort direction for the returned cost centers (options: Ascending, Descending; default: Ascending).
Output shape
Array of cost center objects as returned by the Fortnox API.
Each element corresponds to a cost center record; when Return All is true, the array contains all matching records; otherwise it contains up to Limit records.
Examples
Example 1: Fetch the 100 most recent cost centers
Set Return All to false, Limit to 100, keep default Sort Order (Ascending).
Example 2: Get all cost centers modified after 2024-01-01
Set Return All to true, set Filters.Last Modified to '2024-01-01 00:00:00'.