Skip to main content
Fortnox is available on request. Contact us to have it enabled for your workspace.
Connect your agent to Fortnox to read and update accounting data: invoices, customers, suppliers, supplier invoices, articles, vouchers and more. One agent can work across several Fortnox companies, which suits groups with many legal entities and accounting firms with many clients. You decide exactly what each agent can do:
  • Which companies it can work in
  • Read-only or read and write, chosen per company
  • Which permissions it has, such as invoices or suppliers
An agent starts with no access. Nothing is given until someone selects it.
Fortnox capability settings on an agent: four companies set to read and write, read-only or no access, a switch per permission, and the secret that sets the limit

Example use cases

  • Supplier setup across companies — “Every morning, look for new suppliers in our group companies and create each one in the other companies where it is missing”
  • Overdue invoices — “List invoices that became overdue yesterday in each company and email me one summary”
  • Supplier invoice intake — “When a supplier invoice arrives by email, upload the PDF to the right company’s Fortnox inbox and attach it to the supplier invoice”
  • Month-end checks — “On the 3rd of every month, report vouchers without an attached file, per company”
  • Read-only analysis — “Compare this month’s invoicing with the same month last year for all companies”

How access works

Access has two levels: An agent can be given less than the secret allows, never more. Several agents can share one secret and each have a different selection, so one secret is normally enough for a whole finance team of agents.

How to set up Fortnox

You need a Fortnox developer account and an administrator of each Fortnox company you want to connect.
1

Create an integration in the Fortnox Developer Portal

In the Fortnox Developer Portal, create an integration (or open an existing one). You do not need to publish it.
  • Under OAuth, turn on Enable authorization as a service account.
  • Under Permissions, enable what your agents will need. Company Information is required: it is how Abundly learns the name of each company you connect.
Keep the page open. You add a redirect URI in the next step.
2

Create a Fortnox secret in Abundly

Go to Workspace → Secrets, add a secret and choose the type Fortnox. The form shows the setup steps and the Redirect URI:
  • Copy the Redirect URI into your integration in the Developer Portal and save it there.
  • Paste the integration’s Client ID and Client Secret into the secret.
  • Under Scopes, tick the same permissions you enabled in the Developer Portal. They use the same names.
The scopes on the secret must also be enabled on the integration. If one is missing there, Fortnox refuses the connection.
3

Connect your companies

Open the secret and select Add a company. Fortnox asks you to approve the integration, and Abundly adds the company to the secret with its name and organisation number.Fortnox always connects the company you are logged in to. To add another company, switch company in Fortnox first, then select Add a company again. Repeat for each company.
The confirmation names the company that was added, so you notice right away if you were logged in to the wrong one. A company added by mistake can be removed with the bin icon.
4

Give an agent access

On the agent’s Capabilities page, enable Fortnox and choose the secret. Then:
  • Under Companies, set each company to No access, Read-only or Read and write.
  • Under Permissions, turn on what the agent may work with.
The card shows Setup needed until the agent has at least one company and one permission.

Controlling what an agent can do

  • Start read-only. Give a new agent read-only access, check what it does, and switch a company to read and write when you trust it. A natural order is a test company first, then a real one read-only, then read and write.
  • Read-only is enforced by Abundly. In a read-only company the agent can only fetch data. It cannot create, change or delete anything, cannot upload files, and cannot send or print documents such as invoices.
  • Permissions are enforced by Fortnox. The agent signs in to Fortnox with only its own permissions, so Fortnox itself refuses anything outside them. In Fortnox a permission covers both reading and changing, which is why read-only is a separate choice per company.
  • Different agents, different access. Two agents on the same secret can have different companies, access levels and permissions.

Reviewing access

Open the secret under Workspace → Secrets to see Agents using this secret: a table with one row per company and one column per agent, showing read-only or read and write, and how many permissions each agent has. Changes to an agent’s Fortnox access are recorded in the audit log, with the companies and permissions that changed.

Changing the setup later

  • Add a company — select Add a company on the secret. No agent can use the new company until someone gives it access on the agent.
  • Add a permission — enable it in the Developer Portal and tick it on the secret. Each company then needs to approve the integration again: log in to the company in Fortnox and select Add a company. Companies that still need this are marked on the secret. The new permission is off for every agent until you turn it on.
  • Remove a company — use the bin icon next to it on the secret. Every agent on the secret loses access to that company. The approval itself stays in Fortnox until you remove it there.

Frequently asked questions

No. One secret holds one Fortnox integration and all the companies that have approved it. Use a second secret only if you want a separate integration, for example with different permissions as the upper limit.
The capability is enabled but nothing is selected for the agent, or the secret has no connected company yet. Open Fortnox on the agent’s Capabilities page and choose at least one company and one permission.
The most common reasons are a scope on the secret that is not enabled on your integration, a missing Company Information permission, or a redirect URI that is not saved on the integration. The error message from Fortnox is shown when you return.
Yes. Type its technical name under Other scopes on the secret. It then works like the listed ones.
The people who manage the secret. Others who can edit an agent can choose from the companies already connected, and see who manages the secret.

Credentials and secrets

How workspace secrets are stored and who can use them

NetSuite

Connect an agent to NetSuite ERP