How the integration works
Fortnox Payments (Fortnox betalningar) fetches the payments registered on customer invoices in Fortnox, and registers them on the same invoices in Project Flow. The invoice is then shown as paid in Project Flow, without anyone registering the payment by hand. It also disappears from the overdue list and from payment reminders.
- One direction. Payments go from Fortnox to Project Flow. Nothing is sent back to Fortnox.
- Requires the Fortnox integration. The invoices must have been transferred from Project Flow to Fortnox with the Fortnox integration, so that they have the same invoice number in both systems. See the article Fortnox integration.
- Its own authorization. Fortnox Payments is a separate integration with its own authorization to Fortnox, even if the Fortnox integration is already authorized.
What is imported
For each payment registered on an invoice in Fortnox, Project Flow fetches:
| From Fortnox | Used for |
|---|---|
| Invoice number | Finding the invoice in Project Flow |
| OCR number | Finding the invoice if the invoice number isn't found, and checking that it is the right invoice |
| Payment date | The date of the payment in Project Flow |
| Amount and currency | The amount of the payment in Project Flow |
| Payment number | Making sure the same payment is never imported twice |
Where payments appear. In Project Flow, the payments show up as Registered from Fortnox in the invoice's Payments and write off tab, and in Finances → Payments and write off.
Partial payments. If an invoice is paid in several parts in Fortnox, each part becomes its own payment in Project Flow. The invoice is settled when they add up to the total.
Set up the integration
Before you start
- Fortnox integration enabled. Fortnox Payments only appears in the list of integrations after that.
- Permissions in Fortnox. The person who authorizes needs access to invoices and payments in Fortnox. You can also use a Fortnox service account instead (see step 2).
- OCR numbers. If you don't use OCR numbers in Project Flow, turn off OCR on customer invoices in Fortnox. Fortnox would otherwise give the invoice an OCR number that Project Flow doesn't know, and the payments on that invoice aren't imported (see How payments are matched).
Step 1: Add the integration
- Go to Setup → Settings → Integrations. You need administrator access.
- Click + Create integration and choose Fortnox Payments.
The form shows: "To use this integration, you must first authorize it to your Fortnox account. When the integration is saved, you will be redirected to Fortnox to authorize." The Enabled checkbox can't be ticked yet.
Step 2: Authorize with Fortnox
- Optional: turn on Authorize with a service account (Auktorisera med ett servicekonto). The integration then doesn't depend on a specific person. Only system administrators in Fortnox can authorize with a service account, and you must choose it before you authorize.
- Click Save. You are sent to Fortnox.
- Log in to Fortnox and approve the access Project Flow asks for.
- You come back to Project Flow and see "Authorization is completed successfully." The button now shows Authorized (Auktoriserad).
You must come back to Project Flow as the same user who started the authorization. To switch between a user and a service account later, delete the integration and add it again.
Step 3: Choose how far back to start, and turn it on
| Field (EN / SV) | Description |
|---|---|
| Number of days back to import on first run / Antal dagar tillbaks till import vid första körningen | How many days back the first import fetches payments, from 0 to 100. The field disappears after the first import. |
| Coworkers to notify / Emails to notify | Who gets an e-mail when the import fails, or when Fortnox must be authorized again. |
Tick Enabled and save.
Choose the first-run days carefully. The first import only runs once, so set the number of days to cover payments since your oldest unpaid invoice in Project Flow, up to 100 days. Payments older than that must be registered manually.
When payments are imported
- Once a day. Project Flow fetches payments from Fortnox every evening, at 23:00 CET.
- First run: payments changed in Fortnox during the number of days you chose.
- Later runs: payments changed in Fortnox since the previous day.
- Payment registered today: it appears in Project Flow the next morning.
Older payments. If payments are missing from a longer period, for example because the integration was turned off or had to be authorized again, contact Project Flow support. Support can run the import again from a chosen date.
How payments are matched
- By invoice number. Project Flow looks for the invoice with the same invoice number as the payment in Fortnox.
- By OCR number. If no invoice has that number, Project Flow looks for an invoice with the payment's OCR number (KID).
- OCR check. If the invoice is found but the payment's OCR number in Fortnox is different from the OCR number on the Project Flow invoice, the payment isn't registered.
Payments that don't match aren't saved. If Project Flow can't find the invoice, the payment isn't registered, and it doesn't appear as Unmatched in Project Flow either. Check that the invoice numbers are the same in both systems, and register such payments manually on the invoice.
Invoices created directly in Fortnox don't exist in Project Flow, so their payments aren't imported.
Verify the integration
- Pick an invoice that was finalized in Project Flow and transferred to Fortnox.
- Register a payment on it in Fortnox.
- The next morning, open the invoice in Project Flow and check the Payments and write off tab for a payment Registered from Fortnox.
Check the log
Go to Company → Logs and choose the category Fortnox Payments:
| Message | Meaning |
|---|---|
| "Integration FortnoxPayments activated" / "… deactivated" | The integration was turned on or off. |
| "Error importing payments from Fortnox: …" | The import failed, for example because the authorization has expired. An e-mail is also sent to the people to notify. |
Unmatched payments aren't logged. A payment that didn't match an invoice isn't shown in the log.
When the authorization expires or is withdrawn:
- Project Flow turns the integration off automatically.
- Project Flow sends an e-mail titled "Integration to Fortnox requires reauthorization" to the people to notify.
- To fix it, open the integration, click Authorize, log in to Fortnox again, then tick Enabled and save.
Payments registered in Fortnox while the integration was off may need to be fetched by support (see Older payments).
Q&A
Q: A payment made in Fortnox doesn't show up in Project Flow.
A: Check these things:
- The integration is enabled and authorized.
- The invoice was transferred from Project Flow, so the invoice number is the same in both systems.
- The OCR number in Fortnox matches the OCR number in Project Flow, or OCR is turned off in Fortnox.
- The payment was registered before 23:00 CET. Otherwise it arrives with the next day's import.
Payments that don't match aren't imported, so register them manually.
Q: Is a payment counted twice if I also register it manually?
A: Yes. Project Flow doesn't compare imported payments with manual ones. If you register a payment manually and Fortnox Payments imports it later, delete the manual payment.
Q: The field "Number of days back to import on first run" is gone.
A: It is only shown until the first import has run. To fetch payments further back, contact Project Flow support.
Q: Can I enable Fortnox Payments without the Fortnox integration?
A: No. It only appears once the Fortnox integration is enabled, and it relies on the invoices having been transferred from Project Flow.
Q: Do payments of invoices in another currency come through?
A: Yes, with the amount and currency from Fortnox. Check the amount on foreign-currency invoices after the first imports.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article