Fortnox icon

Fortnox

Consume the Fortnox API

Actions110

Contract → Get Many

AI-generated

Summary

Fetch multiple contracts from Fortnox

Inputs

  • returnAll — If true, return all matching contracts; otherwise limit results by the Limit field
  • limit — Maximum number of contracts to return when Return All is false (minimum 1)
  • filters.filter — Filter contracts by status: active, inactive, or finished
  • filters.sortorder — Sort order of results: ascending or descending
  • filters.lastmodified — Filter by last modified date (format YYYY-MM-DD HH:MM:SS)
  • filters.financialyear — Filter by financial year (numeric)
  • filters.financialyeardate — Filter by financial year date (format YYYY-MM-DD)

Output shape

array

Each element is a contract object returned by the Fortnox API

Examples

Example 1: Get the 10 most recent active contracts

{ returnAll: false, limit: 10, filters: { filter: 'active', sortorder: 'descending' } }

Example 2: Retrieve all contracts from financial year 2023

{ returnAll: true, filters: { financialyear: 2023 } }

Links

Discussion