Open source for n8n

Connect Fortnox to your n8n automations.

A community node for n8n that talks directly to the Fortnox REST API — fetch customers and invoices in a flow, without writing your own integration code. Built by Klarar, shared free under the MIT licence.

Open source·MIT licence·Free

What the node can do today

A read-only first step towards Fortnox — v1, deliberately small.

The node is in its first version. It covers the most common read operations against Fortnox, with more resources and write operations on the roadmap.

Get customer

Look up a customer by customer number and get address, email and phone — for example from the customer number on an invoice.

Get invoice

Fetch a single invoice by its document number, with full invoice data from Fortnox.

List invoices

List invoices with filters — unpaid, overdue, paid or cancelled — plus customer number and date range.

OAuth2 authentication

Standard OAuth2 flow against Fortnox, built on top of n8n's generic OAuth2 credential. Fortnox rotates the refresh token on every use — n8n handles that automatically.

How it works

Three steps to your first Fortnox flow.

Requires a Fortnox Developer account and your own n8n instance (self-hosted or n8n Cloud).

01

Install the node

In n8n: Settings → Community Nodes → Install, enter @peterhelge/n8n-nodes-fortnox.

02

Create OAuth2 credentials

Register an app in the Fortnox Developer Portal, enable the Invoice, Company Information and Customer permissions, and create a Fortnox OAuth2 credential in n8n with the Client ID and Client Secret.

03

Build the flow

Add the Fortnox node, choose a resource and operation, and connect it into the rest of your automation flow.

Examples of what you can build

Flows the node fits.

Concrete examples of automations that become possible once Fortnox data is available in n8n. You'll need to build the rest of the flow yourself with n8n's other nodes.

Invoice monitoring

List unpaid invoices

Run "List invoices" with the Unpaid filter every morning, and send the list on to Slack, email or a Google Sheet for follow-up.

Nodes: n8n-Fortnox + Slack/Email
Customer data

Look up customer details automatically

Trigger on an event in another system, fetch the customer's contact details via their customer number, and write them into your CRM or support tool.

Nodes: n8n-Fortnox + CRM
Reporting

Compile invoice data

Fetch invoices for a period and compile them into a spreadsheet or dashboard — without logging into Fortnox manually.

Nodes: n8n-Fortnox + Sheets
FAQ

Questions about n8n-nodes-fortnox.

What is n8n-nodes-fortnox?

It's a community node for n8n that lets you talk to the Fortnox REST API directly in an n8n flow — without writing your own code against the API. The node is open source (MIT licence) and published on npm as @peterhelge/n8n-nodes-fortnox.

Which Fortnox operations are supported today?

The current version (v1) is read-only: fetch a single customer, fetch a single invoice, and list invoices with filters on status, customer number and date range. Write operations, more resources (payments, vouchers) and a polling trigger for new invoices haven't been built yet — see the roadmap in the README on GitHub.

Does it cost anything to use the node?

The node is free and open source under the MIT licence. You'll need an n8n instance (self-hosted or n8n Cloud) and a Fortnox account with API access to use it.

What do I need to get started?

A Fortnox Developer account with an app registered in the Fortnox Developer Portal, and an n8n instance where you install the node via Community Nodes. In n8n you then create an OAuth2 credential with the app's Client ID and Client Secret and connect it to the node. Full instructions are in the README.

Can I contribute to the project?

Yes, the code is open on GitHub under the MIT licence. Bug reports, suggestions and pull requests are welcome there.

Get started

Install the node and connect Fortnox.

Free, open source, done in a couple of minutes if you already run n8n.

Install from npm

Or contact us at hej@klarar.se if you'd like help building and deploying an automation flow against Fortnox.