Fortnox icon

Fortnox

Consume the Fortnox API

Actions110

Voucher → Get Many

AI-generated

Summary

Retrieve a list of vouchers from Fortnox, with optional filtering by financial year, last modified timestamp, voucher series, and sort order.

Inputs

  • returnAll — Whether to fetch all matching vouchers automatically or cap the total at a specified limit.
  • limit — Maximum number of vouchers to return when Return All is disabled. Defaults to 50.
  • filters — Optional search parameters including Financial Year ID, Last Modified timestamp (YYYY-MM-DD HH:MM:SS), Sort Order (ascending/descending), and Voucher Series code.

Output shape

a list of items

Returns an array of voucher summary objects from Fortnox matching the filter parameters.

Examples

Example 1: Fetch all vouchers for a given series

Set Return All to true and set Filters -> Voucher Series to 'A'.

Example 2: Get recent vouchers sorted in descending order

Set Return All to false, Limit to 20, and set Filters -> Sort Order to 'Descending'.

Links

Discussion