Skip to main content
Glama
fortnox-mcp-server

fortnox-mcp-server

by Proviscale

Fortnox MCP Server

Connect AI agents to Fortnox — Sweden's largest cloud accounting platform (612,000+ customers).

Manage invoices, customers, suppliers, accounting entries, orders, and more through the Model Context Protocol.

Tools (20)

Category

Tools

Description

Invoices

list_invoices, get_invoice, create_invoice, send_invoice, get_invoice_payments

Create, send, and track invoices

Customers

list_customers, get_customer, create_customer

Manage your customer database

Suppliers

list_supplier_invoices, get_supplier, create_supplier_invoice

Track bills and expenses

Accounting

list_vouchers, create_voucher, get_accounts, get_financial_year

Journal entries and chart of accounts

Reports

get_company_info, list_projects, list_cost_centers

Company info and cost tracking

Orders

list_orders, create_offer

Sales orders and quotes

Related MCP server: fiken-mcp

Quick Start

1. Get a Fortnox Access Token

Sign up as a developer at developer.fortnox.se and create an integration to get your OAuth2 credentials.

2. Configure in Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "fortnox": {
      "command": "npx",
      "args": ["-y", "fortnox-mcp-server"],
      "env": {
        "FORTNOX_ACCESS_TOKEN": "your-access-token-here"
      }
    }
  }
}

3. Start Using

Ask Claude things like:

  • "List all unpaid invoices"

  • "Create an invoice for customer 1001 with 10 hours of consulting at 1500 SEK/hr"

  • "Show me the chart of accounts"

  • "What supplier invoices are overdue?"

  • "Create a quote for Acme AB"

Install from Source

git clone https://github.com/viggojohansson/fortnox-mcp-server.git
cd fortnox-mcp-server
npm install
npm run build

Then configure Claude Desktop to point to the local build:

{
  "mcpServers": {
    "fortnox": {
      "command": "node",
      "args": ["/path/to/fortnox-mcp-server/dist/index.js"],
      "env": {
        "FORTNOX_ACCESS_TOKEN": "your-access-token-here"
      }
    }
  }
}

Environment Variables

Variable

Required

Description

FORTNOX_ACCESS_TOKEN

Yes

OAuth2 access token from Fortnox

API Reference

This server wraps the Fortnox REST API v3. Rate limit: 25 requests per 5 seconds.

License

MIT

Available Tools

20 tools
create_customerB

Add a new customer to Fortnox.

Inputs: name (required), city, email, phone, +5 more.

create_invoiceB

Create a new invoice for a customer with line items.

Inputs: rows (required), customerNumber (required), dueDate, currency, +3 more.

create_offerC

Create a quote/offer for a customer.

Inputs: rows (required), customerNumber (required), offerDate, expireDate, +2 more.

create_supplier_invoiceC

Record a new supplier invoice (expense/bill).

Inputs: rows (required), supplierNumber (required), total, dueDate, +1 more.

create_voucherB

Create a manual journal entry (voucher). Rows must balance (total debit = total credit).

Inputs: rows (required), description (required), transactionDate (required), voucherSeries.

get_accountsA

Get the chart of accounts. Useful for finding account numbers for bookkeeping.

Inputs: financialyear.

get_company_infoB

Get company information and settings from Fortnox.

Inputs: no named parameters.

get_customerB

Get full details of a specific customer.

Inputs: customerNumber (required).

get_financial_yearB

Get information about financial/accounting years.

Inputs: id.

get_invoiceB

Get full details of a specific invoice by its document number.

Inputs: documentNumber (required).

get_invoice_paymentsA

Check payment status and history for a specific invoice.

Inputs: invoiceNumber (required).

get_supplierA

Get details of a specific supplier/vendor.

Inputs: supplierNumber (required).

list_cost_centersC

List cost centers for allocating expenses across departments or projects.

Inputs: page, limit.

list_customersC

Search and filter the customer database.

Inputs: name, page, limit, filter.

list_invoicesB

List and filter invoices. Supports filtering by status, date range, and pagination.

Inputs: page, limit, filter, todate, +1 more.

list_ordersB

List and filter sales orders.

Inputs: page, limit, filter, todate, +1 more.

list_projectsC

List all projects for tracking time and costs.

Inputs: page, limit.

list_supplier_invoicesC

List incoming supplier invoices (bills/expenses).

Inputs: page, limit, filter.

list_vouchersC

List journal entries/vouchers. Optionally filter by financial year.

Inputs: page, limit, financialyear.

send_invoiceC

Send an invoice to the customer via email.

Inputs: documentNumber (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 20 tools

    Disambiguation5/5

    Every tool targets a distinct resource-action combination. Invoices, customers, suppliers, accounting entries, projects, cost centers, orders, and offers are clearly separated with no overlap.

    Naming Consistency5/5

    All tools use a consistent verb_noun pattern in snake_case (e.g., get_invoice, list_customers, create_voucher). Variations like 'get_accounts' vs 'get_customer' follow the same pattern.

    Tool Count5/5

    20 tools cover a broad ERP domain (invoicing, customers, suppliers, accounting, projects, orders, offers) without being excessive. Each tool earns its place.

    Completeness3/5

    Core operations are present (create, read, list for key entities), but notable gaps exist: no update or delete for invoices, customers, suppliers, or orders. Offers lack list/get/update. The surface is functional but incomplete for full lifecycle management.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Enables AI assistants to interact with the Tripletex accounting API to manage time tracking, projects, and timesheet approvals through natural language. It also supports searching and managing outgoing invoices and processing supplier invoice approvals.
      31
      2
      ISC
    • A
      license
      C
      quality
      C
      maintenance
      Enables AI assistants to manage invoices, contacts, purchases, journal entries, and other accounting operations via the Fiken API.
      100
      20 npm
      8
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to manage Zoho Books accounting tasks such as invoices, contacts, expenses, and sales orders through natural language.
      38
      MIT