This guide covers connecting and configuring Fortnox inside the Junipeer app. It assumes you have already completed all preparation steps in Fortnox itself — if not, start with Prepare Fortnox for integration first.
Step 1 — Activate flows
The first step is to turn on the flows you need. Go to Dashboard → Integrations → (your integration) → Get Started → Select flows and switch on each flow you want to sync, for example Orders, Payouts, Refunds and Order Statuses (Shopify → Fortnox).
What a Shopify + Fortnox integration syncs
A basic setup for bookkeeping: everything goes from Shopify to Fortnox.
- Ordersorders and invoices
- Refundscredit invoices
- Payoutsinvoices marked as paid
Stock and products can also be synced, but aren't needed for the bookkeeping.

This step is highly dependant on the business requirements around the integration and constitutes a foundation of the next steps.
Step 2 — Connect Fortnox via OAuth
Junipeer connects to Fortnox using OAuth. You will be redirected to Fortnox to authorize the connection.
In the Junipeer app, open your integration (from Dashboard -> Integrations) and navigate to Get Started → Connect Systems

Click the Connect to Fortnox button
You will be redirected to Fortnox — log in with the dedicated integration user you created during preparation (not your personal admin account)
Approve the connection
You are redirected back to Junipeer with a green Connected status
If you manage multiple Fortnox companies, make sure you are logged into the correct one before approving the OAuth connection.
Step 3 — Configure settings
Navigate to Configure → Settings in the Junipeer app. Work through each section.
The rule of thumb is to go through the settings that are labeled as required — they show the message This setting is required and must be saved.

Other settings can be considered miscellaneous, unless tests or specific business requirements will prove otherwise. There is plenty of possible settings between systems and it's not a good practice to consider each of them. The main objective of early configuration is to produce testing environment.
Recommended filters can be disregarded unless you want to filter out specific entities from the integration. The Filters section shows how many recommended filters are unused, and Manage filters lets you decide which orders are sent to Fortnox.

Apart from the settings labeled as required, here are some relevant sections to consider:
Add order number to Fortnox
Under General settings, Add Order number to Fortnox decides which Fortnox fields get which Shopify value: DocumentNumber (ID) → Order ID, ExternalInvoiceReference1 → Order ID, ExternalInvoiceReference2 → Payment Reference and YourOrderNumber → Order Number.

This is a recommended schema for Shopify -> Fortnox configuration.
Invoice settings
Under Invoice Settings you choose how invoice creation is automated, for example with Transform new orders to Invoice in Fortnox and Mark order as Warehouse Ready / Delivered before creating invoice.

Transform new orders to Invoice in Fortnox is one of the most important settings in this section. When enabled, Junipeer creates and books a Fortnox invoice as soon as an order arrives, whether or not it has been paid or shipped. A booked invoice can't be changed, so any change to the order after that needs a credit invoice.
We recommend invoicing at capture instead. Set this setting to No and turn on the flow Transform Fortnox orders to Invoices with a filter on Payment Status = paid. The invoice is then created when the payment is captured, usually when the order ships. It gets the amount that was actually charged, and it matches the payout. See When to create the invoice: at capture.
In short:
Transform new orders to Invoice off + Transform Fortnox orders to Invoices filtered on Payment Status → invoice created when the payment is captured. Recommended for B2C.
The same flow filtered on Shipment Status → invoice created when the order has shipped. For B2B on invoice terms, where there is no payment to capture.
Transform new orders to Invoice on → invoice created as soon as the order arrives. Only if your integration doesn't have the Transform Fortnox orders to Invoices flow.
If you take payments through methods that Junipeer has no payout integration for (such as PayPal or Amazon), map them under Specify the methods that we should consider the order paid AND automatically mark as paid the invoice: enter the Shopify payment method (for example paypal) and choose the Fortnox mode of payment. Invoices with these methods are then marked as paid, as long as Automatically mark Invoices as Paid is enabled.

OSS sales account mapping
If you sell to consumers in other EU countries under the OSS scheme, map each country/VAT rate combination to the correct Fortnox sales account here: Configure → Settings → Sales Account mapping & OSS VAT.

You prepared these accounts in Fortnox during preparation. If you made a spreadsheet of account numbers per country, this is where you enter them.
For stores selling across many EU markets, this can involve 20+ mappings. Take your time here — errors in OSS mapping lead to incorrect VAT bookkeeping.
Key principle:
Use 3000-series accounts (sales accounts), not 2000-series accounts (VAT accounts).
Setting up OSS Mapping
You create an entry per country in the Sales Account Mapping section and assign:
Country Code
Default Account Number (e.g., 3000, 3001, 3002…)
You can also set different sales accounts per VAT rate. Ex 25%, 12%, 6% etc.
Please mind that mapping your own VAT Numbers to specfic country is impossible, since there is no such field/function in Fortnox invoices. This is something that comes further down the accounting process (Fortnox settings, reporting process), not a direct setting in Junipeer.
For VAT settings in Fortnox itself, see Fortnox's guide Inställningar moms.
Configuring Sales Account mapping

Booking Accounting Settings for Settlements
This section tells Junipeer which Fortnox accounts to book each part of a PSP settlement to. When a payout arrives from your payment provider, the total is rarely a single clean amount — it comes bundled with fees, taxes, rounding differences, and sometimes currency conversion effects. Each of these has to land in the right accounting bucket in Fortnox, or your books drift out of sync.

Order exclusion date
Under Configure → Settings → Order Settings, you can set a start date for order sync. Junipeer will only process orders placed on or after this date — preventing it from attempting to retroactively sync your entire order history on the first run.
This is particularly useful if you are going live mid-month or have a large backlog of historical orders you do not want to import.

B2B and B2C in the same integration
If you are using Shopify's native B2B functionality, Junipeer can use the Company External ID field in Shopify to map a B2B company directly to its counterpart in Fortnox. This gives you a stable, one-to-one company mapping. If Company External ID is not set, Junipeer falls back to VAT number, organisation number, or email — which is less reliable. We recommend using native Shopify B2B over third-party B2B apps (such as BSS), as third-party apps can cause incomplete order data to reach Junipeer.
Step 4 — Test the integration
Before going live, run at least one test sync:
Create a test order/customer in your e-commerce platform
Enter the order ID in the Junipeer test panel
Verify the result in Fortnox — check that the invoice is created correctly, VAT is applied as expected, and the payment method is booked to the right account
If a test fails, check Logs in Junipeer for the error. The most common causes are missing article numbers, an incorrect VAT account, or a currency that is not enabled in Fortnox.
Step 5 — Start syncing
Once testing is complete, configure your sync schedule under Get Started → Start Syncing. This is your go-live step.
Run a test sync with a single order before enabling scheduling. It is much easier to catch mapping errors upfront than after bulk syncing has started.
A standard setup: Export Orders to Fortnox runs every 5 minutes and triggers Transform Fortnox orders to Invoices, which in turn triggers Export Refunds to Fortnox. Export Payouts to Fortnox runs every day at 23:00.

Known limitations
Warehouse module — if you use the Fortnox warehouse module (lagermodul), enable Mark order as Warehouse Ready / Delivered before creating invoice under Invoice Settings and Use Warehouses for stock under Stock. See Warehouse module for Stock for all related settings. Skipping the delivery step is the most common cause of warehouse workflow issues.
Booked invoice immutability — once an invoice is booked in Fortnox, it cannot be edited or deleted. Corrections require a credit note. This is standard Fortnox behavior.
Order number format — the original e-commerce order number is stored in a reference field in Fortnox. You can look up the mapping on the References page in Junipeer.
For troubleshooting, see the Error Codes reference or contact support@junipeer.io.
