Skip to content
Fortnox logo

Connectors / Finance · HTTP Connector

Fortnox integration and API

Create an invoice, create a customer and create a supplier invoice in Fortnox. Connect Fortnox to the rest of your finance stack with Tray.ai.

What can you do with Fortnox on Tray.ai?

Fortnox is a Swedish cloud accounting and business system for invoicing, bookkeeping, supplier invoices, orders, inventory and payroll used by small and mid-sized companies. Tray.ai connects to Fortnox through the HTTP Connector, so your workflows can call the Fortnox API alongside the rest of your stack. API access comes through Fortnox's partner program or API plan, so you need approved credentials first.

  • When a deal is won in your CRM, create an invoice for the customer.
  • Create a customer for each new account signed in your CRM so billing is ready on day one.
  • When a supplier bill is approved in your spend tool, create a supplier invoice to record the cost.
  • When an order ships from your warehouse system, create invoice from order to bill it.
Connects through
HTTP Connector
Authentication
OAuth 2.0
Base URL
https://api.fortnox.se/3

Set it up

Connect Fortnox to Tray.ai

Each step uses Fortnox's own API details, from its documentation.

Sign in to Fortnox with OAuth 2.0

Ask Fortnox for API access. Once it's approved, set up an OAuth 2.0 authentication with the client ID and secret of an OAuth app you register with Fortnox. Sign in once and every step reads the token from there.

Point the HTTP Client at the API

Add an HTTP Client step and use https://api.fortnox.se/3 as the base URL. Or paste a cURL example from Fortnox's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List invoices”

It's one of 23 documented actions, under Invoices. The response comes back as data the next step can map into your other apps.

Hand it to an AI agent

Wrap “Create an invoice” and “Bookkeep an invoice” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

Workflows to build with Fortnox

Connect Fortnox with Shopify, HubSpot and Slack

Each one uses actions and events from Fortnox's own API documentation.

Create Fortnox invoices from Shopify orders

When

An order is placed in Shopify

Then

  1. Create a customer if the buyer is new
  2. Create an invoice with the order lines
  3. Bookkeep an invoice

With Shopify

Create Fortnox orders from closed HubSpot deals

When

A deal closes in HubSpot

Then

  1. Create an order with the deal's products
  2. Create invoice from order

With HubSpot

Send Fortnox supplier invoices to Slack for approval

When

On a schedule

Then

  1. List supplier invoices awaiting approval
  2. Post an approval request in Slack
  3. Approve a payment once approved in Slack

With Slack

Apps you can build on Fortnox data

Internal tools your team can build with an AI assistant, each one using Fortnox calls from its API documentation.

Supplier invoice approval board

Lists supplier invoices and lets a finance manager approve the payment or cancel an invoice that is wrong.

Order to invoice queue

Lists open orders and lets a sales admin create the invoice from an order once it ships.

Customer invoice review

Lists invoices by customer and lets accounting bookkeep an invoice or credit one that was disputed.

Give your AI agents Fortnox tools

Build an MCP server on Fortnox in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List invoices
  • List customers
  • List supplier invoices
  • List orders
  • List articles
  • Create a voucher
  • Create an invoice
  • Bookkeep an invoice

What the Fortnox API covers

6 resources and 23 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Fortnox gives API access on request, so approved credentials come first. Connecting it takes a few clicks: here's how.

Invoices

  • List invoices
  • Create an invoice
  • Bookkeep an invoice
  • Credit an invoice
  • Cancel an invoice

Customers

  • List customers
  • Create a customer
  • Retrieve a customer
  • Delete a customer

Supplier invoices

  • List supplier invoices
  • Create a supplier invoice
  • Approve a payment
  • Cancel a supplier invoice

Orders

  • List orders
  • Create an order
  • Create invoice from order
  • Cancel an order

Articles

  • List articles
  • Create an article
  • Delete an article

Vouchers

  • Create a voucher
  • Create a voucher series
  • List voucher series

Checked against Fortnox's own documentation on 2026-10-22

apps.fortnox.se/apidocs

Frequently asked questions

What can a Tray.ai workflow do in Fortnox?

The Fortnox API documents 23 actions across 6 resources (Invoices, Customers, Supplier invoices, Orders, Articles, Vouchers). For example: List invoices; List customers; List supplier invoices. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Fortnox?

The Fortnox API uses OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Do I need special access to the Fortnox API?

Yes. Fortnox gives API access on request, so you need approved credentials before a Tray.ai workflow can call it.

See Fortnox working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.