> ## Documentation Index
> Fetch the complete documentation index at: https://www.spacebring.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Fortnox

> Connect Fortnox to automatically sync issued invoices and credit notes from Spacebring, understand the key prerequisites for successful synchronization, how the integration works, and fix sync errors

Sync issued invoices from Spacebring to Fortnox to cut manual accounting work. Invoices land in Fortnox unbookkept, ready for you to review and bookkeep, and credit notes follow once you have bookkept the invoice there.

> [!NOTE]
>
> Fortnox is a distinct company not affiliated with Spacebring. For any inquiries regarding Fortnox's solutions, services, or pricing, reach out to Fortnox directly. We do not have the authority to provide information or support on behalf of Fortnox.

## Prerequisites

1. Have your Fortnox account ready, with a user who can manage customers, invoices, and bookkeeping in the company you want to connect.
2. Set up the same [tax rates](https://www.spacebring.com/docs/billing/taxes.md) in Fortnox as in Spacebring. Every VAT rate you charge must exist among the company's VAT rates in Fortnox.
3. Make sure the currency you invoice in is registered in Fortnox.
4. Set up the revenue accounts in Fortnox, in the 3000 range, where Spacebring should post invoice items.

## Connect the Fortnox integration

1. Click the menu **(...)** next to the location's name > go to **Integrations**.

![Location menu open in the left panel with Integrations highlighted on Spacebring's coworking space management platform](https://mintcdn.com/spacebring/EoXqL0krIeX5lJ8K/images/integrations-connect-a-location-level-integration.png?fit=max\&auto=format\&n=EoXqL0krIeX5lJ8K\&q=85\&s=59910549be2afb079049dadf53f7e2b9)

2. Open the **Fortnox** integration page and click **Connect**.

![The Fortnox integration page with the Connect button on Spacebring's coworking space management platform](https://mintcdn.com/spacebring/F5NqoMG7Ok9pqh12/images/integrations-accounting-fortnox-connect-the-fortnox-integration-fortnox-page.png?fit=max\&auto=format\&n=F5NqoMG7Ok9pqh12\&q=85\&s=2ee942423531e20c702da01a8ce75c45)

3. Log in to Fortnox and grant Spacebring access to your company. You return to Spacebring, and the page shows the connected **Company**.
4. **Accounts for invoice item sync** — for each invoice item type, select the Fortnox account where Spacebring should post invoice items of that type: **Bookings**, **Event tickets**, **Shop products**, **Packages**, **Subscription items**, and **Custom**.

> [!NOTE]
>
> Only active revenue accounts in the 3000 range are available to select.

> [!WARNING]
>
> Select an account for **all** invoice item types, even the ones you don't sell. The connection stays incomplete and invoices don't sync until every type has an account.

![The connected Fortnox integration page with a Fortnox account selected for every invoice item type on Spacebring's coworking space management platform](https://mintcdn.com/spacebring/F5NqoMG7Ok9pqh12/images/integrations-accounting-fortnox-connect-the-fortnox-integration-accounts-for-invoice-item-sync.png?fit=max\&auto=format\&n=F5NqoMG7Ok9pqh12\&q=85\&s=b3e733871bfeaa4e6b53bac559017b9e)

## How Fortnox integration works

Once connected, Spacebring syncs newly issued invoices to Fortnox in real time as unbookkept invoices, and credit notes for unpaid invoices once you have bookkept the invoice in Fortnox.

> [!WARNING]
>
> Spacebring only creates the invoice in Fortnox. It doesn't bookkeep it, send it to the customer, or register its payment, even after the invoice is paid in Spacebring. Bookkeep and send each invoice in Fortnox yourself, and register its payment there.

> [!NOTE]
>
> Voiding an invoice in Spacebring doesn't sync to Fortnox. To correct an invoice, issue a [credit note](https://www.spacebring.com/docs/billing/invoices/credit-notes.md) in Spacebring, which syncs once the invoice is bookkept in Fortnox.

To sync an invoice issued before you connected Fortnox, or one that failed to sync, open it and click **Sync to Fortnox** in the **(...)** menu. To sync several, select their checkboxes on the **Billing** > **Invoices** page, then press **Actions** > **Sync to Fortnox**. The sync covers the invoice and its credit notes, and skips what Fortnox already has.

### How invoices sync

The integration maps Spacebring invoice data to Fortnox as follows:

| **Data in Spacebring** | **Data in Fortnox** |
| - | - |
| Customer legal business name (or name) and tax ID | Spacebring matches an existing Fortnox customer by organisation number, using the customer's tax ID. If there is no match, it creates a customer with that name, address, email, and organisation number, and reuses it for later invoices |
| Customer email | ✓ on the customer Spacebring creates |
| Currency | ✓ |
| Issue date | Invoice date |
| Due date | ✓ |
| Invoice number | Fortnox gives the invoice the next invoice number in your Fortnox series. Spacebring also syncs its own invoice number into the Your order number field in Fortnox separately, so you can match the two invoices |
| Invoice item name | Description, shortened to 50 characters |
| Invoice item quantity | ✓ |
| Invoice item price | ✓ — gross when your location's prices include tax, net otherwise, and the invoice is marked accordingly |
| Invoice item discount | ✓ as a percentage |
| Tax | VAT rate per invoice item |
| Invoice item type | Posted to the account you selected for it |
| Invoice status | ✗ — always created unbookkept, regardless of the invoice's status in Spacebring |
| Invoice PDF | ✗ — Fortnox generates its own invoice PDF |

An issued invoice in Spacebring:

![An issued invoice with its items, tax, and payment on Spacebring's coworking space management platform](https://mintcdn.com/spacebring/F5NqoMG7Ok9pqh12/images/integrations-accounting-fortnox-how-invoices-sync-1.png?fit=max\&auto=format\&n=F5NqoMG7Ok9pqh12\&q=85\&s=597dc58310bc1df8b6a20558b0d9115f)

The same invoice in Fortnox, created unbookkept, with each item posted to the account you selected for its type. This location's prices include tax, so the item prices sync gross:

![The customer invoice in Fortnox synced from Spacebring's coworking space management platform, with each item posted to its revenue account and VAT rate](https://mintcdn.com/spacebring/F5NqoMG7Ok9pqh12/images/integrations-accounting-fortnox-how-invoices-sync-2.png?fit=max\&auto=format\&n=F5NqoMG7Ok9pqh12\&q=85\&s=40455b54fb8900276b221151708e7cfb)

### How credit notes sync

Spacebring syncs a credit note issued for an unpaid invoice as a full credit of that invoice in Fortnox. Fortnox creates the credit from the invoice, gives it the next number in your Fortnox series, copies its rows, and links the two documents. The credit note syncs only when both conditions hold:

* The invoice is already bookkept in Fortnox, since Fortnox can only credit a bookkept invoice. Otherwise the credit note fails to sync, and the notification asks you to bookkeep the invoice and create the credit note in Fortnox yourself.
* The credit note covers the whole invoice, since Fortnox credits an invoice in full. A credit note for part of an invoice fails to sync. Create the partial credit in Fortnox yourself.

> [!WARNING]
>
> Applied balance, partial payments, credit notes for paid invoices, and refunds don't sync to Fortnox.

## Disconnect the Fortnox integration

1. Click the menu **(...)** next to the location's name > go to **Integrations**.
2. Select **Fortnox** > press **Disconnect** and confirm your choice.

> [!NOTE]
>
> Disconnecting stops the sync but doesn't revoke Spacebring's access in Fortnox. To revoke it, remove Spacebring from your company's integrations in Fortnox.

## Troubleshoot Fortnox sync errors

When an invoice or a credit note fails to sync, administrators get a [notification](https://www.spacebring.com/docs/account/notifications.md) that ends with the error in quotes. Spacebring doesn't retry it on its own, so once you fix the cause, open the invoice and click **Sync to Fortnox**.

> [accordion] "A Fortnox account is not selected for every invoice item type."
>
> **What it means:** The connection is incomplete, because at least one invoice item type has no Fortnox account.
>
> **How to fix it:** Go to **Integrations** > **Fortnox** and select an account for every invoice item type, including the types you don't sell.

> [accordion] "Fortnox has no \[rate]% VAT rate. Add it in the Fortnox invoice settings, or change the tax rate on the location."
>
> **What it means:** An invoice item uses a VAT rate that isn't among your Fortnox company's VAT rates.
>
> **How to fix it:** Do one of the following:
>
> * In Fortnox, add the rate in the invoice settings.
> * In Spacebring, change the [tax rate](https://www.spacebring.com/docs/billing/taxes.md) to one that exists in Fortnox.

> [accordion] "The currency \[currency code] is not set up in Fortnox. Add it in the Fortnox currency settings."
>
> **What it means:** The invoice's currency isn't registered in your Fortnox company.
>
> **How to fix it:** Add the currency in the Fortnox currency settings.

> [accordion] "Invoice \[invoice number] is not bookkept in Fortnox, and Fortnox credits only a bookkept invoice. Bookkeep it and issue the credit note in Fortnox."
>
> **What it means:** A credit note was issued in Spacebring before its invoice was bookkept in Fortnox, and Fortnox credits only a bookkept invoice.
>
> **How to fix it:**
>
> 1. Bookkeep the invoice in Fortnox.
> 2. Create the credit note in Fortnox yourself.

> [accordion] "Fortnox credits an invoice in full, and this credit note covers \[amount] of \[invoice total] \[currency code]. Credit the lines in Fortnox instead."
>
> **What it means:** The credit note covers only part of the invoice, and Fortnox credits an invoice only in full.
>
> **How to fix it:** Create the partial credit in Fortnox yourself.

## FAQs

> [accordion] Why is nothing syncing after I connected Fortnox?
>
> The connection stays incomplete, and nothing syncs, until an account is selected for every invoice item type on the **Integrations** > **Fortnox** page: **Bookings**, **Event tickets**, **Shop products**, **Packages**, **Subscription items**, and **Custom**. Missing even one stops invoices syncing, including item types you don't sell.
>
> If a specific invoice fails rather than everything, the notification names [the cause](#troubleshoot-fortnox-sync-errors). The most common ones are a VAT rate or a currency on the invoice that isn't set up in your Fortnox company.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.