Fortnox
MCP server for Fortnox Swedish accounting API integration
Connector by jakobwennberg · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/jakobwennberg-fortnox
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
- Tools
- 34 read · 13 write · 4 delete
- Secrets
- 3 (API keys, tokens or passwords)
- Install scripts
- Not scanned yet
- Runs as
- Node.js package
Tools by what they do 51
Read from the source code; the running server may list different tools.
Read 34 · Look things up without changing anything.
fortnox_account_activityfortnox_cash_flow_forecastfortnox_cost_center_analysisfortnox_customer_growthfortnox_expense_analysisfortnox_get_accountfortnox_get_company_infofortnox_get_customerfortnox_get_invoicefortnox_get_supplierfortnox_get_supplier_invoicefortnox_get_voucher
Show 22 more tools
fortnox_gross_margin_trendfortnox_invoice_summaryfortnox_list_accountsfortnox_list_customersfortnox_list_financial_yearsfortnox_list_invoicesfortnox_list_offersfortnox_list_ordersfortnox_list_supplier_invoicesfortnox_list_suppliersfortnox_list_voucher_seriesfortnox_list_vouchersfortnox_order_pipelinefortnox_payables_reportfortnox_period_comparisonfortnox_product_performancefortnox_project_profitabilityfortnox_sales_funnelfortnox_search_vouchersfortnox_top_customersfortnox_unpaid_reportfortnox_yearly_comparison
Write 13 · Create, change, send or run things.
fortnox_approve_supplier_invoicefortnox_bookkeep_invoicefortnox_create_accountfortnox_create_customerfortnox_create_invoicefortnox_create_supplierfortnox_create_voucherfortnox_credit_invoicefortnox_send_invoice_emailfortnox_update_accountfortnox_update_customerfortnox_update_invoice
Show 1 more tools
fortnox_update_supplier
Delete 4 · Delete, drop, revoke or wipe things.
fortnox_cancel_invoicefortnox_delete_accountfortnox_delete_customerfortnox_delete_supplier
Secrets and settings it asks for
Secrets: values you paste in that let it act as you.
FORTNOX_CLIENT_IDFORTNOX_CLIENT_SECRETFORTNOX_REFRESH_TOKEN
Tools (51)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
fortnox_account_activityAccount Activity Reportread-onlyShow all voucher transactions affecting specific account(s). 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. Common use cases: - Rent expenses: account_number=5010 (or 5010-5099 range) - Salary costs: account_range={ from: 7000, to: 7999 } - Bank transactions: account_number=1930 - Revenue analysis: account_range={ from: 3000, to: 3999 } Note: This tool fetches voucher details and filters client-side since the Fortnox API doesn't support native account fi…
fortnox_approve_supplier_invoiceApprove Supplier Invoice for PaymentApprove a supplier invoice for payment. This approves the invoice and marks it ready for payment processing. Args: - given_number (string): The supplier invoice given number to approve (required) - response_format ('markdown' | 'json'): Output format Returns: Confirmation that the invoice has been approved for payment.
fortnox_bookkeep_invoiceBookkeep Fortnox InvoiceBookkeep an invoice, creating the accounting entries. Once booked, the invoice cannot be edited. Args: - document_number (string): Invoice document number to bookkeep (required) - response_format ('markdown' | 'json'): Output format Returns: Confirmation of bookkeeping with the created voucher reference.
fortnox_cancel_invoiceCancel Fortnox Invoicecan change or delete dataCancel an invoice. Booked invoices will have reversal entries created. Args: - document_number (string): Invoice document number to cancel (required) - response_format ('markdown' | 'json'): Output format Returns: Confirmation of cancellation.
fortnox_cash_flow_forecastCash Flow Forecastread-onlyGenerate cash flow forecast from unpaid receivables and payables. Shows expected inflows, outflows, net flow, and running balance grouped by week or month.
fortnox_cost_center_analysisCost Center Analysisread-only[LIMITED] Analyze costs by cost center/department. Returns cost center list only. For actual cost center data, use fortnox_account_activity with cost center filtering on vouchers.
fortnox_create_accountCreate Fortnox AccountCreate a new account in the chart of accounts. Args: - account_number (number): Account number 1000-9999 (required) - description (string): Account description (required) - vat_code (string): VAT code for the account - active (boolean): Whether the account is active (default: true) - cost_center_settings ('ALLOWED' | 'MANDATORY' | 'NOTALLOWED'): Cost center settings - project_settings ('ALLOWED' | 'MANDATORY' | 'NOTALLOWED'): Project settings - sru_code (number): SRU code for tax reporting Returns: The created account details.
fortnox_create_customerCreate Fortnox CustomerCreate a new customer in Fortnox. Args: - name (string): Customer name (required) - customer_number (string): Customer number (auto-generated if not provided) - organisation_number (string): Company registration number - email (string): Primary email address - phone (string): Primary phone number - address1, address2, zip_code, city, country, country_code: Address fields - currency (string): 3-letter currency code (e.g., 'SEK') - vat_number (string): VAT registration number - vat_type ('SEVAT' | 'EUVAT' | 'EUREVERSEDVAT' | 'EXPORT'): VAT type - terms_of_payment (string): P…
fortnox_create_invoiceCreate Fortnox InvoiceCreate a new invoice in Fortnox. Args: - customer_number (string): Customer number (required) - rows (array): Invoice line items (at least one required) - Each row: { description, quantity?, price?, article_number?, unit?, discount?, vat?, account_number? } - invoice_date (string): Invoice date YYYY-MM-DD (defaults to today) - due_date (string): Due date YYYY-MM-DD - our_reference (string): Our reference person - your_reference (string): Customer's reference - invoice_type ('INVOICE' | 'CASH' | 'CARD' | 'UNDEFINED'): Invoice type - currency (string): 3-letter currency code…
fortnox_create_supplierCreate Fortnox SupplierCreate a new supplier in Fortnox. Args: - name (string): Supplier name (required) - supplier_number (string): Supplier number (auto-generated if not provided) - organisation_number (string): Company registration number - email (string): Email address - phone (string): Phone number - address1, address2, zip_code, city, country, country_code: Address fields - currency (string): 3-letter currency code - vat_number (string): VAT registration number - bank_account (string): Bank account number - bg_number (string): Bankgiro number - pg_number (string): Plusgiro number - ter…
fortnox_create_voucherCreate Fortnox VoucherCreate a new voucher (manual accounting entry) in Fortnox. IMPORTANT: The sum of debits must equal the sum of credits (balanced entry). Args: - voucher_series (string): Voucher series (e.g., 'A', 'B') (required) - description (string): Voucher description (required) - transaction_date (string): Transaction date YYYY-MM-DD (required) - rows (array): Accounting rows, minimum 2 (required) - Each row: { account_number, debit?, credit?, description?, cost_center?, project? } - cost_center (string): Default cost center for all rows - project (string): Default project for all rows …
fortnox_credit_invoiceCredit Fortnox InvoiceCreate a credit note for an invoice. This creates a new credit invoice referencing the original. Args: - document_number (string): Invoice document number to credit (required) - response_format ('markdown' | 'json'): Output format Returns: The created credit invoice details.
fortnox_customer_growthCustomer Growth Analyticsread-onlyIdentify growing and declining customers by comparing revenue across periods. Shows growth rates and trends.
fortnox_delete_accountDelete Fortnox Accountcan change or delete dataDelete an account from the chart of accounts. WARNING: This action cannot be undone. The account must not have any transactions. Args: - account_number (number): Account number to delete (required) Returns: Confirmation of deletion.
fortnox_delete_customerDelete Fortnox Customercan change or delete dataDelete a customer from Fortnox. WARNING: This action cannot be undone. The customer must not have any invoices or orders. Args: - customer_number (string): Customer number to delete (required) Returns: Confirmation of deletion.
Show 36 more tools
fortnox_delete_supplierDelete Fortnox Suppliercan change or delete dataDelete a supplier from Fortnox. WARNING: This action cannot be undone. The supplier must not have any invoices. Args: - supplier_number (string): Supplier number to delete (required) Returns: Confirmation of deletion.
fortnox_expense_analysisExpense Analysisread-only[LIMITED] Analyze expenses by account class. Returns category structure only. For actual expense data, use fortnox_account_activity with account_range={from: 4000, to: 8999}.
fortnox_get_accountGet Fortnox Accountread-onlyRetrieve detailed information about a specific account. Args: - account_number (number): The account number to retrieve (1000-9999, required) - response_format ('markdown' | 'json'): Output format Returns: Complete account details including description, VAT settings, and balances.
fortnox_get_company_infoGet Fortnox Company Informationread-onlyRetrieve information about the company connected to this Fortnox account. Returns company name, organisation number, addresses, contact details, and other company information. Args: - response_format ('markdown' | 'json'): Output format Returns: Company details including name, organisation number, address, and contact information.
fortnox_get_customerGet Fortnox Customerread-onlyRetrieve detailed information about a specific customer. Args: - customer_number (string): The customer number to retrieve (required) - response_format ('markdown' | 'json'): Output format Returns: Complete customer details including contact info, addresses, payment terms, and VAT settings.
fortnox_get_invoiceGet Fortnox Invoiceread-onlyRetrieve detailed information about a specific invoice including all line items. Args: - document_number (string): The invoice document number to retrieve (required) - response_format ('markdown' | 'json'): Output format Returns: Complete invoice details including customer info, dates, amounts, line items, and payment status.
fortnox_get_supplierGet Fortnox Supplierread-onlyRetrieve detailed information about a specific supplier. Args: - supplier_number (string): The supplier number to retrieve (required) - response_format ('markdown' | 'json'): Output format Returns: Complete supplier details including contact info, addresses, bank details, and payment terms.
fortnox_get_supplier_invoiceGet Fortnox Supplier Invoiceread-onlyRetrieve detailed information about a specific supplier invoice including all line items. Args: - given_number (string): The supplier invoice given number to retrieve (required) - response_format ('markdown' | 'json'): Output format Returns: Complete supplier invoice details including supplier info, dates, amounts, line items, and payment status.
fortnox_get_voucherGet Fortnox Voucherread-onlyRetrieve detailed information about a specific voucher including all accounting rows. 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. Args: - voucher_series (string): Voucher series (e.g., 'A') (required) - voucher_number (number): Voucher number within the series (required) - financial_year (number): Fortnox financial year ID (use fortnox_list_financial_years to find) - response_format ('markdown' | 'json'): Output format Returns: Complete vouc…
fortnox_gross_margin_trendGross Margin Trend Analyticsread-only[LIMITED] Analyze gross margin trends. Returns formula and structure only. For actual margin data, use fortnox_account_activity with: - Revenue: account_range={from: 3000, to: 3999} - COGS: account_range={from: 4000, to: 4999}
fortnox_invoice_summaryInvoice Summary Analyticsread-onlyCalculate summary statistics for invoices over a period. Answers questions like: - "What was my total revenue this month?" - "How many invoices did we send last quarter?" - "What's the average invoice amount this year?" - "Show me revenue breakdown by customer" Args: - period ('today' | 'yesterday' | 'this_week' | 'last_week' | 'this_month' | 'last_month' | 'this_quarter' | 'last_quarter' | 'this_year' | 'last_year'): Date period to analyze - from_date (string): Start date YYYY-MM-DD (ignored if period specified) - to_date (string): End date YYYY-MM-DD (ignored if period specified) -…
fortnox_list_accountsList Fortnox Accountsread-onlyList accounts from the chart of accounts in Fortnox. Retrieves a paginated list of accounts with optional filtering. Args: - limit (number): Max results per page, 1-100 (default: 20) - page (number): Page number for pagination (default: 1) - search_description (string): Search accounts by description - from_account (number): Filter accounts from this number (1000-9999) - to_account (number): Filter accounts to this number (1000-9999) - response_format ('markdown' | 'json'): Output format Returns: List of accounts with account number, description, and active status. Examples: …
fortnox_list_customersList Fortnox Customersread-onlyList customers from Fortnox accounting system. Retrieves a paginated list of customers with optional filtering by status, name, or customer number. Args: - limit (number): Max results per page, 1-100 (default: 20) - page (number): Page number for pagination (default: 1) - filter ('active' | 'inactive'): Filter by customer status - search_name (string): Search customers by name (partial match) - customer_number (string): Filter by specific customer number - organisation_number (string): Filter by organisation number - response_format ('markdown' | 'json'): Output format Returns…
fortnox_list_financial_yearsList Financial Yearsread-onlyList all financial years configured in Fortnox. IMPORTANT: Voucher tools (fortnox_list_vouchers, fortnox_account_activity, etc.) use Fortnox sequential IDs (1, 2, 3...) NOT calendar years. Use this tool first to find the correct ID. Example: If ID 4 maps to 2025-01-01 to 2025-12-31, use financial_year=4 in voucher tools. Args: - response_format ('markdown' | 'json'): Output format Returns: List of financial years with ID, date range, and accounting method.
fortnox_list_invoicesList Fortnox Invoicesread-onlyList invoices from Fortnox accounting system. Retrieves a paginated list of invoices with optional filtering by status, customer, date range, or amount. Supports convenience period filters and can fetch all results for large datasets. Args: - limit (number): Max results per page, 1-100 (default: 20) - page (number): Page number for pagination (default: 1) - filter ('cancelled' | 'fullypaid' | 'unpaid' | 'unpaidoverdue' | 'unbooked'): Filter by invoice status - customer_number (string): Filter by customer number - from_date (string): Filter invoices from this date (YYYY-MM-DD) - t…
fortnox_list_offersList Fortnox Offersread-onlyList sales offers/quotes with filtering by status, customer, date range. Filter: cancelled, expired, ordercreated, ordernotcreated.
fortnox_list_ordersList Fortnox Ordersread-onlyList sales orders with filtering by status, customer, date range. Filter: cancelled, expired, invoicecreated, invoicenotcreated.
fortnox_list_supplier_invoicesList Fortnox Supplier Invoicesread-onlyList supplier invoices (accounts payable) from Fortnox. Retrieves a paginated list of supplier invoices with optional filtering by status, supplier, date range, or amount. Args: - limit (number): Max results per page, 1-100 (default: 20) - page (number): Page number for pagination (default: 1) - filter ('cancelled' | 'fullypaid' | 'unpaid' | 'unpaidoverdue' | 'unbooked' | 'pendingpayment'): Filter by invoice status - supplier_number (string): Filter by supplier number - from_date (string): Filter invoices from this date (YYYY-MM-DD) - to_date (string): Filter invoices to this dat…
fortnox_list_suppliersList Fortnox Suppliersread-onlyList suppliers from Fortnox accounting system. Retrieves a paginated list of suppliers with optional filtering. Args: - limit (number): Max results per page, 1-100 (default: 20) - page (number): Page number for pagination (default: 1) - filter ('active' | 'inactive'): Filter by supplier status - search_name (string): Search suppliers by name (partial match) - response_format ('markdown' | 'json'): Output format Returns: List of suppliers with supplier number, name, email, city, and organisation number.
fortnox_list_voucher_seriesList Fortnox Voucher Seriesread-onlyList available voucher series in Fortnox. Voucher series are used to categorize vouchers (e.g., 'A' for manual entries, 'B' for bank, etc.). Args: - response_format ('markdown' | 'json'): Output format Returns: List of voucher series with code, description, and whether manual entries are allowed.
fortnox_list_vouchersList Fortnox Vouchersread-onlyList vouchers (accounting entries) from Fortnox. Retrieves a paginated list of vouchers with optional filtering. 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. Args: - limit (number): Max results per page, 1-100 (default: 20) - page (number): Page number for pagination (default: 1) - voucher_series (string): Filter by voucher series (e.g., 'A', 'B') - financial_year (number): Fortnox financial year ID (use fortnox_list_financial_years to find) …
fortnox_order_pipelineOrder Pipeline Analyticsread-onlyAnalyze order pipeline and backlog. Shows pending vs invoiced orders grouped by status, customer, or month.
fortnox_payables_reportAccounts Payable Aging Reportread-onlyGenerate an accounts payable aging report for unpaid supplier invoices. Answers questions like: - "What supplier invoices are overdue?" - "How much do we owe each supplier?" - "Show me aging breakdown of payables" - "Which supplier invoices over 10,000 SEK are unpaid?" Args: - min_amount (number): Only include invoices >= this amount - supplier_number (string): Filter by specific supplier - group_by ('supplier' | 'age_bucket' | 'both'): How to group report (default: both) - include_details (boolean): Include individual invoice list (default: true) - response_format ('markdown' | 'j…
fortnox_period_comparisonPeriod Comparison Analyticsread-onlyCompare business metrics (revenue, invoice count, etc.) between two time periods with percentage changes.
fortnox_product_performanceProduct Performance Analyticsread-onlyAnalyze product/customer sales performance. Returns top performers ranked by revenue, quantity, or invoice count.
fortnox_project_profitabilityProject Profitability Analyticsread-only[LIMITED] Analyze profitability by project. Returns project list only. For actual project financials, use fortnox_account_activity with project filtering on vouchers.
fortnox_sales_funnelSales Funnel Analyticsread-onlyAnalyze sales funnel from offers to orders to invoices. Shows counts, values, and conversion rates at each stage.
fortnox_search_vouchersSearch Vouchersread-onlySearch 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 da…
fortnox_send_invoice_emailSend Fortnox Invoice by EmailSend an invoice to the customer via email. The invoice will be sent to the email address configured for the customer. Args: - document_number (string): Invoice document number to send (required) - response_format ('markdown' | 'json'): Output format Returns: Confirmation that the email was sent.
fortnox_top_customersTop Customers Analyticsread-onlyIdentify top customers by various metrics. Answers questions like: - "Who are my top 10 customers by revenue?" - "Which customers have the most invoices?" - "Who has the highest unpaid balance?" - "What's the average invoice size per customer?" Args: - metric ('total_amount' | 'invoice_count' | 'unpaid_amount' | 'average_invoice'): How to rank customers (default: total_amount) - period ('today' | ... | 'last_year'): Date period to analyze - from_date (string): Start date YYYY-MM-DD (ignored if period specified) - to_date (string): End date YYYY-MM-DD (ignored if period specified) -…
fortnox_unpaid_reportUnpaid Invoices Reportread-onlyGenerate an accounts receivable aging report for unpaid invoices. Answers questions like: - "What invoices are overdue?" - "How much is owed by each customer?" - "Show me aging breakdown of receivables" - "Which invoices over 10,000 SEK are unpaid?" Args: - min_amount (number): Only include invoices >= this amount - customer_number (string): Filter by specific customer - group_by ('customer' | 'age_bucket' | 'both'): How to group report (default: both) - include_details (boolean): Include individual invoice list (default: true) - response_format ('markdown' | 'json'): Output format…
fortnox_update_accountUpdate Fortnox AccountUpdate an existing account in the chart of accounts. Args: - account_number (number): Account number to update (required) - description (string): Account description - vat_code (string): VAT code - active (boolean): Whether the account is active - cost_center_settings ('ALLOWED' | 'MANDATORY' | 'NOTALLOWED'): Cost center settings - project_settings ('ALLOWED' | 'MANDATORY' | 'NOTALLOWED'): Project settings Returns: The updated account details.
fortnox_update_customerUpdate Fortnox CustomerUpdate an existing customer in Fortnox. Args: - customer_number (string): Customer number to update (required) - name, email, phone, address fields, etc.: Fields to update (only provided fields are changed) Returns: The updated customer details.
fortnox_update_invoiceUpdate Fortnox InvoiceUpdate an existing invoice in Fortnox. Only unbooked invoices can be updated. Args: - document_number (string): Invoice document number to update (required) - rows (array): Updated line items (replaces all existing rows) - Other fields: Same as create_invoice Returns: The updated invoice details.
fortnox_update_supplierUpdate Fortnox SupplierUpdate an existing supplier in Fortnox. Args: - supplier_number (string): Supplier number to update (required) - All other fields from create_supplier (only provided fields are updated) Returns: The updated supplier details.
fortnox_yearly_comparisonYearly Comparison Analyticsread-onlyCompare revenue and metrics across multiple years (2-5). Shows year-over-year growth trends.
Signals
- Stars
- 45
- Forks
- 31
- Open issues
- 1
- Contributors
- 1
- Last commit
- Apr 28, 2026 (6 months ago)
- Last release
- Jan 25, 2026 (9 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Registry name
io.github.jakobwennberg/fortnox- Version
- 1.0.0
- Auth
- API key
- Packages
- npm fortnox-mcp-server
- License
- MIT
- Repository
- github.com/jakobwennberg/fortnox-mcp
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
Cite this page
Fortnox MCP server. Agent Mart. https://agentmart.dev/connectors/jakobwennberg-fortnox (last updated 2026-10-24)