What does the Fortnox API accept? Our test in a Fortnox test company

Cegona, 3 November 2026, updated 10 November 2026 · 4 min read

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

  1. Test company. An empty test company in the Fortnox developer portal, with fiscal year 2026 and the accrual method.
  2. 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.
  3. 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 errorFortnox through the APICegona's checks
Bankgiro with a wrong check digit on the supplier cardRejected: "not a valid bankgiro"Also checked
Same invoice number and amount twice, 18 days apartAcceptedFound, high priority
0004711 when 4711 already exists, same amountAcceptedFound, high priority
Same OCR and amount under a new invoice numberAcceptedFound, high priority
Invoice from a supplier that was then made inactiveAccepted (deactivated afterwards)Found, high priority
Same bankgiro on two different companies' supplier cardsAcceptedFound, medium priority
30 percent VAT, above the highest Swedish rateAcceptedFound, medium priority
Bankgiro changed on a supplier cardAccepted, no warning in the responseFound, high priority
New invoice from that supplier with the new bankgiroAcceptedFound, 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):

Invoice check: 6 deviations, 4 of them important 1. Same invoice number (high priority) Invoice 2026144 from Mälar IT-konsult AB has the same invoice number as an earlier invoice (2026144, dated 2026-10-04, SEK 47,500). Likely duplicate: do not pay until it has been checked. 2. Almost the same invoice number (high priority) Invoice 0004711 from Tryckeriet Fyren AB has almost the same invoice number and the same amount as invoice 4711, dated 2026-10-06; only the format differs. Likely duplicate. [...] 6. Unusual VAT rate (medium priority) Invoice 2026151 from Mälar IT-konsult AB has VAT of SEK 3,000 on SEK 10,000, which is 30.0 percent. That is more than 25 percent, the highest Swedish rate.

What the test does not show

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

The test ran on 3 November 2026 against Fortnox as it was then.

Want to know what gets through at your company?

Start the free month