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
- Create a customer if the buyer is new
- Create an invoice with the order lines
- Bookkeep an invoice
With Shopify
Create Fortnox orders from closed HubSpot deals
When
A deal closes in HubSpot
Then
- Create an order with the deal's products
- Create invoice from order
With HubSpot
Send Fortnox supplier invoices to Slack for approval
When
On a schedule
Then
- List supplier invoices awaiting approval
- Post an approval request in Slack
- 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
How Tray.ai makes this work
Fortnox plugs into the whole Tray.ai platform
Tray iPaaS
Integrate and automate across 12,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn moreTray Helix agents
Agents in the apps your teams run on Tray Helix that read, write, and act in Fortnox, with a person's approval on any tool you choose.
Learn moreAgent Gateway for MCP
Expose Fortnox actions as governed MCP tools: observable, rate-limited and authenticated.
Learn moreTray Helix
Build apps on Fortnox data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn moreMore finance apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every finance connector →
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.
Thanks. Someone from our team will be in touch soon.