Skip to main content
Glama

Fortnox MCP

An MCP server for day-to-day work in Fortnox from an AI assistant such as Claude, ChatGPT or Cursor. It covers articles and prices, stock and stock corrections, purchase orders and goods receipt, customers, suppliers, offers, orders, invoices, credit notes and payments: 78 tools in all.

Quick start: let your AI agent install it

Paste this into Claude Code, Codex, Cursor or another agent that can run commands. It does the technical parts and tells you the few steps only you can do in Fortnox.

Install the Fortnox MCP server from https://github.com/Elegant-Lift-Sweden-AB/fortnox-mcp and connect it to my
Fortnox. Read the repository's README first and follow it. Answer me in the language I write in.

1. Make sure `uv` is installed (install it if not). Check that the server starts with
   `uvx --from git+https://github.com/Elegant-Lift-Sweden-AB/fortnox-mcp fortnox-mcp`, then stop it.
2. Walk me through creating the Fortnox integration (README section "1. Fortnox: create the integration"),
   one step at a time, and wait for me after each step: an app in the Fortnox Developer Portal with service
   account enabled, the scopes, and activation by our Fortnox system administrator.
3. Add the server to your own MCP configuration: stdio, command `uvx`, args
   `--from git+https://github.com/Elegant-Lift-Sweden-AB/fortnox-mcp fortnox-mcp`, with the environment
   variables FORTNOX_CLIENT_ID, FORTNOX_CLIENT_SECRET and FORTNOX_TENANT_ID. Put placeholders there and tell me
   exactly which file and line to open so I can paste the real values in myself. Do not ask me to paste the
   client secret into this chat, and never print it, commit it or copy it to any other file. Ask me whether we
   have more than one stock point or use another price list than A, and set FORTNOX_STOCK_POINT /
   FORTNOX_PRICE_LIST if so.
4. If you support skills, install skills/fortnox/SKILL.md from the repository as a skill.
5. After reloading the MCP server, test with read-only tools only: company_info, then search_articles and
   get_stock for one article. Do not create or change anything in Fortnox.
6. Show me the Swedish note about bookkeeping accounts ("Bokföringskonton") in the README and ask whether I want to set
   FORTNOX_ARTICLE_DEFAULTS now.

Do everything you can yourself. Tell me in short, plain steps only what I have to do myself.

Related MCP server: fiken-mcp

Why we built it

We built it at Elegant Lift Sweden AB (Lift-Spares) because we needed an AI assistant to do the real work in our Fortnox, stock and purchasing included, and the servers we found only covered bookkeeping. We use it every day and are sharing it as it is.

Status: provided as-is under the MIT licence. We update it when we have time and don't offer support. Issues and pull requests are welcome, but answers may take a while or never come.

Know what you're getting: the code was written with an AI coding assistant, and we haven't read it line by line ourselves. What we can vouch for is that we use it every day in our own Fortnox.

IMPORTANT

Bokföringskonton – läs detta innan du börjar

Servern väljer inga bokföringskonton själv. En ny artikel får de standardkonton och den moms som är inställda i ert Fortnox. Har ni aldrig ändrat dem är det Fortnox grundinställningar, och de passar inte alltid er verksamhet.

  • Gå igenom med er redovisningskonsult vilka konton era affärer ska bokföras på: försäljning i Sverige, till andra EU-länder, export utanför EU, inköp och lager.

  • Ställ in dem i Fortnox, eller ange dem i FORTNOX_ARTICLE_DEFAULTS så att varje ny artikel får rätt konton, t.ex. {"VAT": 25, "SalesAccount": 3001, "EUAccount": 3108, "EUVATAccount": 3106, "ExportAccount": 3105, "PurchaseAccount": 4000}. Siffrorna är bara ett exempel ur BAS-kontoplanen, ingen rekommendation för just er.

  • Fakturor bokförs på artikelns konton och inbetalningar på betalsättets konto. Fel konto på en artikel ger alltså fel bokföring på varje faktura där artikeln finns med.

  • Kontrollera kundens land, momsregistreringsnummer och momstyp i Fortnox. De avgör om fakturan får svensk moms, omvänd skattskyldighet eller exportmoms.

  • Prova nya flöden med dry_run=true först. Då visar servern exakt vad den skulle skicka utan att ändra något.

What is different about it

  • Warehouse work, not only bookkeeping. Stock balances, the low-stock list, stock corrections (stocktaking), manual in/outbound deliveries, order points, purchase orders, goods receipt and supplier entries on articles, using Fortnox's warehouse API (/api/warehouse).

  • Every write tool has dry_run. With dry_run=true it returns the exact request(s) it would send to Fortnox and changes nothing.

  • Guards for the mistakes Fortnox lets you make:

    • Titles are cleaned of the characters Fortnox silently deletes ("(±1%)" would otherwise be stored as "(1%)").

    • EANs are checked (GS1 check digit, not already used on another article).

    • A webshop article can't be published without a price, so it never shows up at 0.

    • New customers are checked against every existing one by VAT/organisation number first.

    • Sent invoices are credited, never cancelled.

    • Supplier entries are read, changed and written back, so one change doesn't wipe the other suppliers.

  • Optional role files. If you want staff to see less (for example no purchase prices for sales, no selling prices for purchasing), you write a role file and the server enforces it: it removes tools, refuses fields and hides keys from every answer. Without one, everything is available.

  • Parallel reads. Read-only tools carry readOnlyHint, so clients can run several of them at once.

  • api_request reaches any Fortnox endpoint the named tools don't cover.

Requirements

  • A Fortnox subscription. The stock and purchasing tools need Fortnox Lager (the warehouse module).

  • A Fortnox integration (an app in the Fortnox Developer Portal) that uses a service account with the client-credentials flow. There are no refresh tokens to keep alive.

  • Python 3.10+ and uv (or pip).

1. Fortnox: create the integration

  1. In the Developer Portal, create an app and enable service account for it.

  2. Give it the scopes for the parts you will use: companyinformation (required for service accounts), article, price, customer, supplier, offer, order, invoice, payment, supplierinvoice, currency, print (PDFs), bookkeeping (vouchers), settings (modes of payment) and warehouse (Lager). Check the names against Fortnox's current scope list.

  3. A system administrator of your Fortnox company activates the integration with account_type=service.

  4. Note the client ID, the client secret and your tenant ID. The tenant ID is your company's Fortnox database number. Fortnox sends it when the integration is activated (consent webhook) and returns it as DatabaseNumber from the company information endpoint; its client-credentials guide below shows both.

Fortnox's own guides: client credentials · service accounts.

2. Add it to your AI client

Claude Desktop, Cursor and other stdio clients (in claude_desktop_config.json or the client's MCP settings):

{
  "mcpServers": {
    "fortnox": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/Elegant-Lift-Sweden-AB/fortnox-mcp", "fortnox-mcp"],
      "env": {
        "FORTNOX_CLIENT_ID": "...",
        "FORTNOX_CLIENT_SECRET": "...",
        "FORTNOX_TENANT_ID": "..."
      }
    }
  }
}

Claude Code:

claude mcp add fortnox \
  -e FORTNOX_CLIENT_ID=... -e FORTNOX_CLIENT_SECRET=... -e FORTNOX_TENANT_ID=... \
  -- uvx --from git+https://github.com/Elegant-Lift-Sweden-AB/fortnox-mcp fortnox-mcp

As an HTTP server (Docker):

docker build -t fortnox-mcp .
# fortnox.env holds FORTNOX_CLIENT_ID=..., FORTNOX_CLIENT_SECRET=..., FORTNOX_TENANT_ID=... (one per line)
docker run --env-file fortnox.env -p 127.0.0.1:8000:8000 fortnox-mcp
# MCP endpoint: http://localhost:8000/mcp

HTTP mode has no authentication of its own. Anyone who can reach the port can use your Fortnox, so keep it on localhost (as above) or put an authenticating proxy or MCP gateway in front of it. The server only accepts requests addressed to localhost/127.0.0.1 (this stops web pages from reaching it through DNS rebinding). Behind a proxy under another name, list that name in MCP_ALLOWED_HOSTS.

Configuration

Variable

Default

Meaning

FORTNOX_CLIENT_ID, FORTNOX_CLIENT_SECRET, FORTNOX_TENANT_ID

(required)

The service-account credentials.

FORTNOX_ROLE_FILE

(none)

Path to a role file that narrows what this server offers. See Restricting access.

FORTNOX_PRICE_LIST

A

The sales price list the tools read and write; offers, orders and invoices use the customer's own price list when it has one.

FORTNOX_STOCK_POINT

the only active one

Stock point code (e.g. LAGER). Needed only if you have several stock points.

FORTNOX_ARTICLE_DEFAULTS

(none)

JSON fields every new article gets on top of Type: STOCK and StockGoods: true, e.g. {"VAT": 25, "SalesAccount": 3001}. Without it Fortnox uses the company defaults.

MCP_TRANSPORT

stdio

stdio or http.

HOST, PORT

127.0.0.1, 8000

HTTP mode only.

MCP_ALLOWED_HOSTS

localhost, 127.0.0.1

HTTP mode only: comma-separated host names the server answers to (* turns the check off).

Restricting access (optional)

By default the server offers every tool to whoever connects to it. Who may do what in your company is your decision, so the server ships with no built-in roles.

If you want someone to have less, write a role file (JSON) and run a separate server for them with FORTNOX_ROLE_FILE=/path/to/role.json. The server then enforces the file, not the AI:

  • only the tools listed in "tools" exist for that server;

  • "params" refuses arguments per tool: "forbid" (may not be given), "only" (allowed values) and "writable" (allowed keys in free-form fields and rows);

  • keys in "hide_fields" are removed from every answer, and CSV columns matching "hide_csv_columns" are dropped;

  • Fortnox error text is replaced by a reference number (the full text goes to the server log), so hidden values can't leak through an error message.

Two tools can't be narrowed by a role file, so leave them out of a restricted role unless you mean to give that access: api_request reaches any Fortnox endpoint with any body, and get_document_pdf returns the PDF exactly as your Fortnox print template prints it (a PDF can't have fields removed; "only" can limit which document types).

examples/roles/ has two examples of the format: a sales file (no costs, margins or suppliers) and a sourcing file (no selling prices or customers). Copy and change them, or write your own. The format is described at the top of roles.py. A file the server can't fully understand stops it from starting.

Tools

Articles and prices

Tool

What it does

get_article

Everything about one article (SKU): register data, stock (in stock / available / reserved), sales price, order point + max stock, and supplier entries (supplier, supplier part number, purchase price).

search_articles

Search the article register.

get_price

Sales price of an article on a price list (default: the server's price list, FORTNOX_PRICE_LIST).

create_article

Create a stock article.

update_article

Change article fields.

set_price

Set the sales price (company currency, ex VAT) on a price list (default: the server's price list, FORTNOX_PRICE_LIST).

set_webshop_article

Tick/untick 'Webbshopsartikel'.

set_order_point

Set 'Beställningspunkt' (order point) and max stock on the server's stock point.

set_article_supplier

Add/update/remove one supplier entry on an article ('Leverantörsinformation': supplier part number, purchase price in the supplier's currency, lead time, MOQ).

deactivate_article

Retire an article (articles that were ever used can't be deleted): webshop off, inactive, EAN cleared so it can move to a new article, description prefixed 'UTGÅTT' (plus 'ersatt av X' with replaced_by).

Stock

Tool

What it does

get_stock

Current stock per article on the server's stock point: inStock and availableStock (= in stock minus reservations, what a webshop should show).

stock_warnings

The 'Lågt saldo' stock warning list (Lager → Lagerlista): supplier, article, in stock, on order, reserved, available, order shortage, order point, stock warning.

article_movements

Stock history for one article, rebuilt from its documents (Fortnox has no movement log): goods receipts, manual in/outbound deliveries, stock corrections and purchase orders.

start_stock_correction

Step 1 of correcting a stock balance (= a stocktaking with one counted row).

release_stock_correction

Apply a started stock correction: stock is set to the counted quantity and bookkept.

cancel_stock_correction

Throw away a stock correction that has not been released (no effect on stock).

list_stock_corrections

Stocktakings / stock corrections, optionally for one article.

get_stock_correction

One stocktaking / stock correction with its rows (counted vs current balance).

create_manual_inbound

Goods in WITHOUT a purchase order (found stock, sample, warranty return, SKU swap).

create_manual_outbound

Goods out WITHOUT a sale (scrap, damage, loss, SKU swap).

release_manual_delivery

Apply a manual inbound/outbound delivery: stock and value change and are bookkept.

void_manual_delivery

Void a manual inbound/outbound delivery.

list_manual_deliveries

Manual inbound/outbound deliveries (and transfers).

get_manual_delivery

One manual inbound/outbound delivery with rows.

Customers and suppliers

Tool

What it does

search_customers

Find customers.

get_customer

One customer.

create_customer

Create a customer.

update_customer

Change customer fields (Fortnox field names, e.g. {"Address1": "...", "VATNumber": "...", "Email": "..."}).

search_suppliers

Find suppliers by name, organisation number, e-mail or supplier number.

get_supplier

One supplier.

create_supplier

Create a supplier (checks name / org number for an existing one first).

update_supplier

Change supplier fields (Fortnox field names).

Offers, orders, invoices

Tool

What it does

list_offers

List offers (quotes).

get_offer

One offer with rows.

create_offer

Create an offer (quote).

update_offer

Change an offer: fields = Fortnox header fields (e.g. {"ExpireDate": "2026-11-30"}); rows replaces ALL rows.

cancel_offer

Cancel an offer (it stays in the list, marked cancelled, total zeroed).

offer_to_order

Confirm an offer: creates an order from it.

send_offer_email

E-mail the offer PDF to the customer from Fortnox (customer-facing).

list_orders

List orders.

get_order

One order with rows and delivery/warehouse state.

create_order

Create an order.

update_order

Change an order (Fortnox header fields; rows replaces ALL rows).

cancel_order

Cancel an order.

order_to_invoice

Create the invoice from an order (gets the next invoice number in the books).

send_order_email

E-mail the order confirmation PDF to the customer from Fortnox (customer-facing).

list_invoices

List invoices.

get_invoice

One invoice with rows, payment and booking state.

get_document_pdf

The PDF of an offer, order or invoice (as Fortnox prints it).

create_invoice

Create an invoice (unbooked).

update_invoice

Change an UNBOOKED invoice (Fortnox header fields; rows replaces ALL rows — include RowId in extra to keep rows).

bookkeep_invoice

Book an invoice in the ledger (Fortnox only credits booked invoices).

cancel_invoice

Cancel (makulera) an invoice that was NEVER sent and is not booked.

credit_invoice

Create a FULL credit note for an invoice (refund/return).

send_invoice_email

E-mail the invoice from Fortnox to the address on the invoice (customer-facing).

mark_invoice_sent

Mark an invoice as sent without e-mailing it (external print), e.g. when the PDF is sent another way.

set_invoice_warehouse_ready

Mark an invoice as delivered/done in the warehouse.

register_invoice_payment

Register an incoming customer payment on an invoice (amount in SEK; amount_currency for foreign-currency invoices).

get_invoice_payment_evidence

Payments and the vouchers linked to ONE invoice: payment method, amounts, and the VAT / receivable / bank / revenue rows of each voucher.

Purchasing and goods receipt

Tool

What it does

list_purchase_orders

Purchase orders (rows not included — use get_purchase_order).

get_purchase_order

One purchase order with rows (ordered / received / remaining) and its matched goods receipts / supplier invoices.

create_purchase_order

Create a purchase order (not sent).

update_purchase_order

Change purchase-order head fields (partial update, e.g. {"deliveryDate": "2026-10-20", "internalReference": "..."}).

send_purchase_order

E-mail the purchase order to the supplier (supplier-facing).

set_purchase_order_response

Record the supplier's answer (e.g. when the order was placed by e-mail, phone or a web shop rather than sent from Fortnox).

complete_purchase_order

Close a purchase order manually (nothing more will arrive).

void_purchase_order

Void a purchase order.

list_goods_receipts

Goods receipts (incoming goods).

get_goods_receipt

One goods receipt with rows.

create_goods_receipt

Book a delivery against a purchase order (draft; stock goes up on release_goods_receipt).

release_goods_receipt

Put a goods receipt in stock: stock and value are booked, the PO's received quantities update.

complete_goods_receipt

Finalise a goods receipt's bookkeeping.

void_goods_receipt

Void a goods receipt (only while not completed and not matched to a supplier invoice).

list_supplier_invoices

Supplier invoices (bills we have to pay).

get_supplier_invoice

One supplier invoice.

Other

Tool

What it does

get_currency_rate

Fortnox's current exchange rate for a currency (SEK per Unit units).

company_info

Company settings in Fortnox (name, org number, address).

api_request

Any Fortnox API call the other tools don't cover.

Using it well

skills/fortnox/SKILL.md is a short skill for Claude (or any agent) with the standard Fortnox workflows: receiving goods, quote to invoice, refunds, stock corrections. Add it to your agent so it uses the tools in the right order.

Writes go straight into your live Fortnox. Try new workflows with dry_run=true first, or in a Fortnox test company.

Development

uv venv && uv pip install -e '.[test]'
.venv/bin/pytest

The tests run the real server against a fake Fortnox client: no network, no credentials.

Licence

MIT, see LICENSE. Not affiliated with or endorsed by Fortnox AB.

Available Tools

78 tools
api_requestA

Any Fortnox API call the other tools don't cover. path starts with /3/ (classic API: bodies wrapped in the resource key, e.g. {"Article": {...}}) or /api/warehouse/ (bare JSON). Non-GET calls change live data, and so do some GETs (e.g. /3/invoices/{n}/email sends the invoice). With dry_run=true nothing is sent, GETs included.

Inputs: path (required), method (required), body, params, +1 more.

article_movementsA
Read-only

Stock history for one article, rebuilt from its documents (Fortnox has no movement log): goods receipts, manual in/outbound deliveries, stock corrections and purchase orders. Sales are on invoices (list_invoices).

Inputs: article_number (required).

bookkeep_invoiceB

Book an invoice in the ledger (Fortnox only credits booked invoices). A booked invoice can no longer be edited.

Inputs: document_number (required), dry_run.

cancel_invoiceA

Cancel (makulera) an invoice that was NEVER sent and is not booked. A sent invoice is in the customer's hands, so it is credited instead (credit_invoice); this tool refuses it.

Inputs: document_number (required), dry_run.

cancel_offerB

Cancel an offer (it stays in the list, marked cancelled, total zeroed).

Inputs: document_number (required), dry_run.

cancel_orderD

Cancel an order.

Inputs: document_number (required), dry_run.

cancel_stock_correctionB

Throw away a stock correction that has not been released (no effect on stock).

Inputs: stock_correction_id (required), dry_run.

company_infoB
Read-only

Company settings in Fortnox (name, org number, address).

Inputs: no named parameters.

complete_goods_receiptA

Finalise a goods receipt's bookkeeping. Do this only after the supplier invoice is matched — afterwards it can't be matched or voided.

Inputs: goods_receipt_id (required), dry_run.

complete_purchase_orderC

Close a purchase order manually (nothing more will arrive).

Inputs: purchase_order_id (required), dry_run.

create_articleB

Create a stock article. Applies the server's article defaults (FORTNOX_ARTICLE_DEFAULTS; Type STOCK, StockGoods). The description is cleaned of characters Fortnox would silently delete, and an EAN is checked (GS1 check digit, not already used). If sales_price is given it is set on the price list BEFORE the webshop flag, so a webshop never shows the product at 0. Articles can't be deleted once used on any document.

Inputs: description (required), article_number (required), ean, note, +9 more.

create_customerB

Create a customer. Checks VAT / org number against every existing customer first and returns the existing account(s) instead, unless allow_duplicate=true. email = the customer's main e-mail address. EU companies: give the VAT number (drives reverse-charge VAT).

Inputs: name (required), country_code (required), city, email, +11 more.

create_goods_receiptA

Book a delivery against a purchase order (draft; stock goes up on release_goods_receipt). received: [{article_number, quantity}] — what physically arrived. rest_still_expected=false closes the remaining quantity (supplier short-shipped for good). delivery_note = the supplier's delivery-note/invoice number.

Inputs: received (required), purchase_order_id (required), note, dry_run, +3 more.

create_invoiceC

Create an invoice (unbooked). rows: [{article_number, quantity, price, description?}]. Invoice quantities are delivered quantities and take the goods out of stock.

Inputs: rows (required), customer_number (required), dry_run, freight, +8 more.

create_manual_inboundA

Goods in WITHOUT a purchase order (found stock, sample, warranty return, SKU swap). rows: [{article_number, quantity, unit_cost (in currency, default 0), freight_cost, other_cost}]. Created as a draft; stock changes on release_manual_delivery. Real purchases belong on a purchase order + goods receipt.

Inputs: note (required), rows (required), dry_run, currency, +1 more.

create_manual_outboundA

Goods out WITHOUT a sale (scrap, damage, loss, SKU swap). rows: [{article_number, quantity}]. Draft until release_manual_delivery.

Inputs: note (required), rows (required), dry_run, delivery_date.

create_offerA

Create an offer (quote). rows: [{article_number, quantity, price (per unit, ex VAT, in the offer currency), description?, discount?}] — use the final prices you were given, never a formula. Defaults: valid 1 month, Swedish for Swedish customers else English, the customer's price list (else the server's), customer's currency. Freight goes in freight; other Fortnox header fields (e.g. OfferDate) in extra_fields.

Inputs: rows (required), customer_number (required), dry_run, freight, +7 more.

create_orderC

Create an order. rows: [{article_number, quantity, price, description?}]. delivery_state: registration (no stock effect), reservation (reserves stock), delivery (takes stock out).

Inputs: rows (required), customer_number (required), dry_run, freight, +8 more.

create_purchase_orderA

Create a purchase order (not sent). rows: [{article_number, quantity, price (in the PO currency), description?}]; every article must exist (create_article first). Currency defaults to the supplier's, the rate comes from Fortnox. internal_reference = your own reference (e.g. the supplier's order number). language = Fortnox language code for the PO document (GB = English). Delivery address = the stock point's address, else the company address from Fortnox.

Inputs: rows (required), supplier_number (required), dry_run, currency, +7 more.

create_supplierC

Create a supplier (checks name / org number for an existing one first).

Inputs: name (required), country_code (required), city, email, +8 more.

credit_invoiceA

Create a FULL credit note for an invoice (refund/return). Fortnox only credits BOOKED invoices; set bookkeep_first=true to book it first. Booking a full credit note puts the goods back in stock — don't add a manual inbound as well. Partial refund: credit, then update_invoice on the credit note to trim its rows.

Inputs: document_number (required), dry_run, bookkeep_first.

deactivate_articleA

Retire an article (articles that were ever used can't be deleted): webshop off, inactive, EAN cleared so it can move to a new article, description prefixed 'UTGÅTT' (plus 'ersatt av X' with replaced_by). Move any stock first (manual outbound/inbound).

Inputs: article_number (required), dry_run, clear_ean, replaced_by.

get_articleB
Read-only

Everything about one article (SKU): register data, stock (in stock / available / reserved), sales price, order point + max stock, and supplier entries (supplier, supplier part number, purchase price).

Inputs: article_number (required).

get_currency_rateB
Read-only

Fortnox's current exchange rate for a currency (SEK per Unit units).

Inputs: currency (required).

get_customerC
Read-only

One customer. Email is the customer's main e-mail; Fortnox also has EmailInvoice / EmailOffer / EmailOrder for where each document type is sent.

Inputs: customer_number (required).

get_document_pdfB
Read-only

The PDF of an offer, order or invoice (as Fortnox prints it).

Inputs: document_type (required), document_number (required).

get_goods_receiptC
Read-only

One goods receipt with rows.

Inputs: goods_receipt_id (required).

get_invoiceC
Read-only

One invoice with rows, payment and booking state.

Inputs: document_number (required).

get_invoice_payment_evidenceA
Read-only

Payments and the vouchers linked to ONE invoice: payment method, amounts, and the VAT / receivable / bank / revenue rows of each voucher. No ledger browsing beyond this invoice. Accounting entries are not bank receipts.

Inputs: document_number (required).

get_manual_deliveryC
Read-only

One manual inbound/outbound delivery with rows.

Inputs: type (required), delivery_id (required).

get_offerC
Read-only

One offer with rows.

Inputs: document_number (required).

get_orderC
Read-only

One order with rows and delivery/warehouse state.

Inputs: document_number (required).

get_priceB
Read-only

Sales price of an article on a price list (default: the server's price list, FORTNOX_PRICE_LIST).

Inputs: article_number (required), price_list.

get_purchase_orderB
Read-only

One purchase order with rows (ordered / received / remaining) and its matched goods receipts / supplier invoices.

Inputs: purchase_order_id (required), include_matches.

get_stockA
Read-only

Current stock per article on the server's stock point: inStock and availableStock (= in stock minus reservations, what a webshop should show). Articles missing from the answer have 0. Omit article_numbers for every non-zero balance.

Inputs: article_numbers.

get_stock_correctionB
Read-only

One stocktaking / stock correction with its rows (counted vs current balance).

Inputs: stock_correction_id (required).

get_supplierC
Read-only

One supplier.

Inputs: supplier_number (required).

get_supplier_invoiceD
Read-only

One supplier invoice.

Inputs: given_number (required).

list_goods_receiptsC
Read-only

Goods receipts (incoming goods). unmatchedValue = received value not yet matched to a supplier invoice.

Inputs: search, released, completed, delivery_note, +2 more.

list_invoicesC
Read-only

List invoices. your_order_number = the customer's or webshop's order number (YourOrderNumber) — how the invoice for a webshop order is usually found.

Inputs: page, limit, filter, to_date, +3 more.

list_manual_deliveriesC
Read-only

Manual inbound/outbound deliveries (and transfers).

Inputs: type, state, article_number.

list_offersC
Read-only

List offers (quotes).

Inputs: page, limit, filter, to_date, +2 more.

list_ordersD
Read-only

List orders.

Inputs: page, limit, filter, to_date, +3 more.

list_purchase_ordersB
Read-only

Purchase orders (rows not included — use get_purchase_order). DELAYED = past delivery date, not fully received.

Inputs: limit, state, offset, search, +2 more.

list_stock_correctionsC
Read-only

Stocktakings / stock corrections, optionally for one article.

Inputs: state, article_number.

list_supplier_invoicesD
Read-only

Supplier invoices (bills we have to pay).

Inputs: page, limit, filter, to_date, +2 more.

mark_invoice_sentA

Mark an invoice as sent without e-mailing it (external print), e.g. when the PDF is sent another way.

Inputs: document_number (required), dry_run.

offer_to_orderC

Confirm an offer: creates an order from it.

Inputs: document_number (required), dry_run.

order_to_invoiceC

Create the invoice from an order (gets the next invoice number in the books).

Inputs: document_number (required), dry_run.

register_invoice_paymentB

Register an incoming customer payment on an invoice (amount in SEK; amount_currency for foreign-currency invoices). bookkeep=true books the payment as well.

Inputs: amount (required), document_number (required), dry_run, bookkeep, +3 more.

release_goods_receiptB

Put a goods receipt in stock: stock and value are booked, the PO's received quantities update.

Inputs: goods_receipt_id (required), dry_run.

release_manual_deliveryC

Apply a manual inbound/outbound delivery: stock and value change and are bookkept.

Inputs: type (required), delivery_id (required), dry_run.

release_stock_correctionA

Apply a started stock correction: stock is set to the counted quantity and bookkept. Completed corrections cannot be voided (a wrong count needs a new correction).

Inputs: stock_correction_id (required), dry_run.

search_articlesB
Read-only

Search the article register. text searches description. Rows include stock, prices, EAN, webshop flag. Always filtered on active/inactive (the unfiltered list hides which is which).

Inputs: ean, page, text, limit, +7 more.

search_customersA
Read-only

Find customers. vat_number / organisation_number scan ALL customers (registers often hold the same company under several customer numbers), so you find every existing account before creating a new one.

Inputs: name, email, vat_number, customer_number, +2 more.

search_suppliersC
Read-only

Find suppliers by name, organisation number, e-mail or supplier number.

Inputs: name, email, supplier_number, organisation_number.

send_invoice_emailB

E-mail the invoice from Fortnox to the address on the invoice (customer-facing).

Inputs: document_number (required), dry_run.

send_offer_emailC

E-mail the offer PDF to the customer from Fortnox (customer-facing).

Inputs: document_number (required), dry_run.

send_order_emailB

E-mail the order confirmation PDF to the customer from Fortnox (customer-facing).

Inputs: document_number (required), dry_run.

send_purchase_orderC

E-mail the purchase order to the supplier (supplier-facing).

Inputs: purchase_order_id (required), dry_run.

set_article_supplierA

Add/update/remove one supplier entry on an article ('Leverantörsinformation': supplier part number, purchase price in the supplier's currency, lead time, MOQ). Reads the full list first and writes it back with only this supplier changed. Fortnox answers a random 404 now and then; if the list can't be read at all, the write is refused unless article_has_no_supplier_entries=true (otherwise other suppliers would be wiped).

Inputs: article_number (required), supplier_number (required), price, remove, +7 more.

set_invoice_warehouse_readyC

Mark an invoice as delivered/done in the warehouse.

Inputs: document_number (required), dry_run.

set_order_pointB

Set 'Beställningspunkt' (order point) and max stock on the server's stock point. -1 = not stocked, order when sold. (This is not the article's StockWarning/'Lagervarning' field.)

Inputs: order_point (required), article_number (required), dry_run, max_stock.

set_priceA

Set the sales price (company currency, ex VAT) on a price list (default: the server's price list, FORTNOX_PRICE_LIST). Creates the price row if the article has none on that list.

Inputs: price (required), article_number (required), dry_run, price_list.

set_purchase_order_responseC

Record the supplier's answer (e.g. when the order was placed by e-mail, phone or a web shop rather than sent from Fortnox).

Inputs: response (required), purchase_order_id (required), dry_run.

set_webshop_articleB

Tick/untick 'Webbshopsartikel'. Webshop integrations use this flag to publish the article, so ticking it is refused while the article has no price on the server's price list (it would go live at 0).

Inputs: on (required), article_number (required), dry_run.

start_stock_correctionA

Step 1 of correcting a stock balance (= a stocktaking with one counted row). Creates and starts it and returns the current balance next to the counted one. Nothing changes until release_stock_correction. Use when the count is wrong; for a real physical event (scrap, found goods) use a manual delivery.

Inputs: reason (required), article_number (required), counted_quantity (required), dry_run, +1 more.

stock_warningsC
Read-only

The 'Lågt saldo' stock warning list (Lager → Lagerlista): supplier, article, in stock, on order, reserved, available, order shortage, order point, stock warning.

Inputs: status.

update_articleB

Change article fields. Description is cleaned of characters Fortnox would silently delete; EAN is checked (valid + unique). Never changes stock quantities (use goods receipt / stock correction). Price: use set_price. Webshop flag: use set_webshop_article.

Inputs: article_number (required), ean, note, active, +11 more.

update_customerA

Change customer fields (Fortnox field names, e.g. {"Address1": "...", "VATNumber": "...", "Email": "..."}). Existing documents keep the e-mail address they were created with.

Inputs: fields (required), customer_number (required), dry_run.

update_invoiceA

Change an UNBOOKED invoice (Fortnox header fields; rows replaces ALL rows — include RowId in extra to keep rows). Re-pointing to another customer does NOT update the e-mail address (EmailInformation.EmailAddressTo) — set it in fields too.

Inputs: document_number (required), rows, fields, dry_run.

update_offerC

Change an offer: fields = Fortnox header fields (e.g. {"ExpireDate": "2026-11-30"}); rows replaces ALL rows.

Inputs: document_number (required), rows, fields, dry_run.

update_orderB

Change an order (Fortnox header fields; rows replaces ALL rows). DeliveryState changes move stock.

Inputs: document_number (required), rows, fields, dry_run.

update_purchase_orderB

Change purchase-order head fields (partial update, e.g. {"deliveryDate": "2026-10-20", "internalReference": "..."}).

Inputs: fields (required), purchase_order_id (required), dry_run.

update_supplierC

Change supplier fields (Fortnox field names).

Inputs: fields (required), supplier_number (required), dry_run.

void_goods_receiptA

Void a goods receipt (only while not completed and not matched to a supplier invoice).

Inputs: goods_receipt_id (required), dry_run.

void_manual_deliveryC

Void a manual inbound/outbound delivery.

Inputs: type (required), delivery_id (required), dry_run.

void_purchase_orderC

Void a purchase order.

Inputs: purchase_order_id (required), dry_run.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    C2.6/5.0

    Scored across 78 tools

    Disambiguation3/5

    Most tools target distinct Fortnox resources/actions, and descriptions actively clarify boundaries such as manual deliveries vs. goods receipts vs. stock corrections. However, the huge surface includes overlapping paths (create_invoice vs. order_to_invoice, release_manual_delivery vs. release_goods_receipt vs. release_stock_correction) and the catch-all api_request can duplicate any other tool, increasing misselection risk.

    Naming Consistency4/5

    The dominant convention is clear verb_noun naming (search_customers, create_order, release_goods_receipt, send_invoice_email), which is predictable across most domains. Minor deviations such as company_info, stock_warnings, article_movements, and api_request keep it from being fully consistent.

    Tool Count1/5

    With 78 tools, the surface is far too large for an agent to navigate efficiently, even for an ERP domain. Many tools are useful individually, but the count creates a heavy selection burden and invites use of the generic api_request fallback.

    Completeness3/5

    Coverage is broad across customers, suppliers, articles, stock, offers, orders, invoices, purchase orders, and goods receipts, and api_request provides an escape hatch. Notable first-class gaps remain around supplier invoice creation/update/payment and broader accounting/ledger operations, so it is not a fully complete ERP surface.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    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
      B
      quality
      D
      maintenance
      Enables AI agents to manage invoices, customers, suppliers, accounting entries, orders, and more through Fortnox's cloud accounting platform via natural language.
      20
      68 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to read and write accounting data in PowerOffice Go, including bookkeeping, sales, purchases, payroll, time tracking, and read-only bank access, with support for multiple companies and strict isolation.
      MIT