What does the Fortnox API accept? Our test in a Fortnox test company
We added 9 suppliers and 23 supplier invoices with planted errors to a Fortnox test company through the Fortnox API and looked at what the API accepted. Then we ran our own checks against the same company.
The short answer
Through the API, Fortnox rejected a bankgiro with a wrong check digit. A changed bankgiro on a supplier card was accepted with no warning in the response. The other planted errors were also accepted through the API: three duplicates, 30 percent VAT, an invoice from a supplier that was then made inactive and the same bankgiro for two different companies. This says nothing about the Inkomna fakturor flow, where Fortnox since summer 2026 flags duplicates when OCR, amount and date match. We did not test that flow. Cegona's checks, the same as in the invoice check, raised 8 alerts and none on a correct invoice.
How we did it
- Test company. An empty test company in the Fortnox developer portal, with fiscal year 2026 and the accrual method.
- Test data through the Fortnox API. 9 made-up suppliers with bankgiro and 23 supplier invoices from August to November, including recurring rent, subscriptions and ordinary purchases, and 7 planted errors, one of which Fortnox rejected. After the first check, the bankgiro on one supplier card was changed and a new invoice was added.
- The check. Our checks read the supplier register and supplier invoices through the Fortnox API and changed nothing in the company. The check ran twice: before and after the bankgiro change.
The result
| Planted error | Fortnox through the API | Cegona's checks |
|---|---|---|
| Bankgiro with a wrong check digit on the supplier card | Rejected: "not a valid bankgiro" | Also checked |
| Same invoice number and amount twice, 18 days apart | Accepted | Found, high priority |
| 0004711 when 4711 already exists, same amount | Accepted | Found, high priority |
| Same OCR and amount under a new invoice number | Accepted | Found, high priority |
| Invoice from a supplier that was then made inactive | Accepted (deactivated afterwards) | Found, high priority |
| Same bankgiro on two different companies' supplier cards | Accepted | Found, medium priority |
| 30 percent VAT, above the highest Swedish rate | Accepted | Found, medium priority |
| Bankgiro changed on a supplier card | Accepted, no warning in the response | Found, high priority |
| New invoice from that supplier with the new bankgiro | Accepted | Found, high priority |
No false alarms: rent with the same amount three months in a row, the subscriptions and the ordinary purchases raised no deviations.
What the deviation email looked like
Every deviation comes with a reason, so the approver knows what to check. Excerpt from the email after the first run (translated):
What the test does not show
- Incoming invoices and invoice interpretation were not tested. The invoices were added through the API. Fortnox describes a duplicate filter in Inkomna fakturor that flags invoices where OCR, amount and date match. Our duplicates had different dates, but we have not tried that flow.
- The web interface was not tested. Whether Fortnox warns at approval or payment, or when someone changes a bankgiro in the interface, the test does not show.
- Made-up data. The company, suppliers and invoices are made up. This is not a result at a customer.
More on what the Fortnox documentation says in Does Fortnox stop duplicate supplier invoices?, and on changed bankgiros in Bankgiro fraud.
The checks are now a service: the invoice check runs them against your Fortnox every hour, SEK 590 a month up to 300 invoices, first month free.
Want to see what the checks find at your company? Send three invoices and you will get an assessment within two working days, free of charge. You can also run the duplicate invoice check, the VAT check and the supplier register check on an export yourself; the file stays on your computer.
Frequently asked questions
Does Fortnox stop the same invoice number twice?
We do not know for the Inkomna fakturor flow, where Fortnox describes a duplicate filter for OCR, amount and date. We did not test that flow. Through the Fortnox API, two invoices with the same invoice number and amount from the same supplier were accepted 18 days apart.
Does Fortnox warn when the bankgiro on a supplier card changes?
The change was accepted through the API with no warning in the response. Whether the web interface warns, we have not tested. Cegona's checks flagged the change and the next invoice from the same supplier.
Does Fortnox stop an invalid bankgiro?
Yes. A bankgiro with a wrong check digit was rejected with a message that it is not a valid bankgiro. A valid bankgiro that belongs to someone else is not stopped by that check.
Was the test done at a real customer?
No. It was done in a test company in the Fortnox developer portal with made-up suppliers and invoices.
Sources
- Fortnox Developer, Integration Checklist (test companies): https://www.fortnox.se/developer/checklist
- Fortnox API, Suppliers and Supplier Invoices: https://apps.fortnox.se/apidocs
- Fortnox Developer, Scopes: https://www.fortnox.se/developer/guides-and-good-to-know/scopes
- Fortnox, Produktnyheter sommaren 2026 (the duplicate filter, in Swedish): https://www.fortnox.se/produktnyheter/produktnyheter-sommaren-2026
The test ran on 3 November 2026 against Fortnox as it was then.