Search Vouchers
fortnox_search_vouchersSearch Fortnox vouchers by description text. Filter by financial year, date, and voucher series to pinpoint specific transactions.
Instructions
Search vouchers by description text.
IMPORTANT: The financial_year parameter uses Fortnox sequential IDs (1, 2, 3...), NOT calendar years. Use fortnox_list_financial_years first to find the correct ID for your target year.
Performs client-side text search across voucher descriptions.
Args:
search_text (string): Text to search for in voucher descriptions (min 2 chars)
financial_year (number): Fortnox financial year ID (use fortnox_list_financial_years to find)
period ('today' | ... | 'last_year'): Convenience date period filter
from_date (string): Filter vouchers from this date (YYYY-MM-DD)
to_date (string): Filter vouchers to this date (YYYY-MM-DD)
voucher_series (string): Filter by voucher series (e.g., 'A')
case_sensitive (boolean): Case-sensitive search (default: false)
include_rows (boolean): Include voucher row details (default: false)
max_vouchers (number): Max vouchers to scan, 10-500 (default: 500)
response_format ('markdown' | 'json'): Output format
Returns: Vouchers with descriptions matching the search text.
Examples:
First call fortnox_list_financial_years to find that ID 4 = 2025
Find salary vouchers: search_text="salary", financial_year=4, period="this_year"
Find rent payments: search_text="rent", financial_year=4, voucher_series="B"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Convenience date period filter (e.g., 'this_month', 'last_quarter'). Overrides from_date/to_date. | |
| to_date | No | Filter vouchers to this date (YYYY-MM-DD) | |
| from_date | No | Filter vouchers from this date (YYYY-MM-DD) | |
| search_text | Yes | Text to search for in voucher descriptions (min 2 chars) | |
| include_rows | No | Include full voucher row details in results | |
| max_vouchers | No | Maximum vouchers to scan (10-500). Use date filtering for larger datasets. | |
| case_sensitive | No | Whether search should be case-sensitive | |
| financial_year | No | Fortnox financial year ID (1, 2, 3...). NOT calendar year. Use fortnox_list_financial_years to find the correct ID. | |
| voucher_series | No | Filter by voucher series (e.g., 'A', 'B') | |
| response_format | No | Output format: 'markdown' or 'json' | markdown |