Last updated: 15.08.2024

Valid from: Opter 2023.12.00

Supplier bill export to Fortnox

Opter can be connected to the Fortnox accounting system, www.fortnox.se. Then it is possible to:

  • Export supplier bills from Opter to Fortnox. For instructions, see below.

    If both invoice and supplier bill export to Fortnox are being set up, we recommend first setting up the invoice export according to Invoice export to Fortnox, and then the supplier bill export.

  • Export invoices from Opter to Fortnox. For instructions, see Invoice export to Fortnox.

  • Importing payments from Fortnox to Opter. For instructions, see Payment import from Fortnox.

Each time supplier bills are exported, Fortnox checks whether there is anything to update in the supplier bills or the suppliers. Fortnox only updates supplier bills that have not yet been recorded in Fortnox.

Supplier bill and account coding amounts are sent including VAT.

Supplier bill information sent from Opter to Fortnox

In Fortnox there is no support for presenting all the details that you might want to include on a transport statement, such as the amount per vehicle/driver and date, service and fuel surcharge. The graphic supplier bill with all the details is therefore created in Opter and sent to Fortnox as a PDF file, if the relevant setting is set. (For instructions, see below).

When an supplier bill export is made to Fortnox, Opter sends a summary of each unique coding combination. This means that Opter sends one supplier bill row per combination of ledger account and economic unit.

The following information is sent to Fortnox in the supplier bill export:

  • Supplier bill number.

  • Supplier bill date.

  • Due date of supplier bill.

  • Supplier bill account coding.

  • Name, address, country, two telephone numbers, fax number, website, bank account number, IBAN, BIC, bankgiro number, plusgiro number, VAT number, company ID number and default currency of the supplier/subcontractor. The default currency of the supplier/subcontractor is set to the same default currency as Opter.

  • The supplier bill as a PDF attachment, if the Include PDF-copy checkbox is selected. (For instructions, see below).

It is not possible to export economic units.

Conditions

Integration licence and invoicing licence

To be able to connect (integrate) Opter to Fortnox, you need an integration licence. You also need to have a software licence for invoicing in Fortnox. These licences (also called "programs" and "add-ons") can be ordered in the Fortnox program. Contact Fortnox if you need more information about your licences.

Payment imports require the software licences for invoicing and accounting in Fortnox.

Invoice export requires the software licence for invoicing in Fortnox.

Web browser

In order to export to Fortnox, it is important that you use a modern standard browser, such as Edge, Firefox or Chrome.

Currency

For it to work well to export supplier bills from Opter to Fortnox, the default currency in Opter must be Swedish kronor (SEK).

Do not change the default currency as that would cause major problems in the system. If the standard currency is not Swedish kronor, it is not possible to export supplier bills to Fortnox.

Exchange rates

Note:

Note:

It is important to always have exactly the same exchange rates in Fortnox and Opter, to avoid problems such as exchange rate losses, and payments that do not exactly match the supplier bill in Opter.

To always have the same exchange rates in Fortnox and Opter, proceed as follows:

  • In Fortnox under Invoicing > Currency, set Automatic exchange rates to “NO”.

  • Set exactly the same exchange rates in Fortnox and Opter. When updating an exchange rate, change the exchange rate at the same time in both Fortnox and Opter. In Opter, exchange rates are set under Economy > Currencies on the Currency rates tab.

Accounts for accounts payable, input VAT and rounding

For Fortnox and Opter to work well together, make sure there are the same account number for accounts payable, input VAT and rounding in Opter and Fortnox. The default settings are as follows:

  • Account 2400 is the default for accounts payable in both Opter and Fortnox.

  • Account 2640 is the default for input VAT in Opter, but in Fortnox account 2641 is the default.

  • Account 3740 is the default for rounding in both Opter and Fortnox, and the account is called "Rounding" in Fortnox.

Supplier bills are called "supplier invoices" in Fortnox.

Authentication method

In Invoice export to Fortnox we stated that Fortnox has a new and an old method of authentication. For supplier bill exports, only the new (safer) method can be used.

If the Export and send button is pressed in Opter, a new window opens where it is possible to log in using a regular Fortnox username and password. It is not necessary to log in for each supplier bill export, as logging in is only needed when the access token expires or if something goes wrong with the export.

Step 1: Create a self-signed certificate

For instructions, see Invoice export to Fortnox.

If both invoice and supplier bill export to Fortnox are being set up, we recommend first setting up the invoice export according to Invoice export to Fortnox, and then the supplier bill export.

Step 2: Create a supplier bill export in Opter

  1. Click on EconomySupplier bills > Supplier bill export to create a new supplier bill export. The following fields must be filled in on the General tab:

    • Name: for example “Fortnox”.

    • Type: Fortnox.

    • Encoding: ISO-8859-1.

  2. Select the Include PDF-copy checkbox if the graphical supplier bill with all the information from Opter is to be sent to Fortnox as a PDF file.

  3. Click on to save all changes.

Step 3: Add the supplier bill export to a supplier bill export group

Click on Economy > Supplier bills > Supplier bill export settings and select “Fortnox” (or the name you gave the supplier bill export) for the groups that should be able to generate an export to Fortnox. A new export group can also be created. Since all supplier bills are to be recorded in the accounts, you should select the export for all export groups.

Step 4: Export supplier bills to Fortnox

Supplier bill information can be exported from Opter when closing a supplier bill period, or subsequently when it is possible to export entire supplier bill periods but not individual supplier bills.

When exporting, a supplier bill is created in Fortnox with supplier bill lines that correspond to the account coding in Opter.

To export supplier bill periods retrospectively, proceed as follows:

  1. In Opter, click on Economy > Supplier bills > Supplier bills.

  2. Right-click on a supplier bill period and select Export.

  3. Click on Export and send.

    A new window opens, where it is possible to log in with a regular Fortnox username and password. If authentication is successful, the export will start.

    The web window with the text “Close this window” can be closed at any time, it will not interfere with the supplier bill export.

    At the bottom of the Supplier bill export window in Opter, a progress bar is displayed. When the supplier bill export has been completed, the entire progress bar is green. If the supplier bill export fails, the progress bar turns grey and there is a statement indicating that the export failed.

Obs!

If not all supplier bills are exported during the first attempt, click on Export and send again. There will be no extra supplier bills if you export again. Each time an supplier bill is exported, Fortnox updates the supplier bill if it is not recorded in Fortnox.

Troubleshooting

If the transfer to Fortnox does not work, an error message is displayed. Error messages only appear if something goes wrong during export. Error messages are displayed in a popup window, and are not saved anywhere.

If a supplier bill cannot be exported in full, any remaining parts of the supplier bill are automatically deleted from Fortnox. The errors are usually due to one of the following:

  • The supplier’s or subcontractor's address is incorrect or missing (on the General tab in the relevant registry).

  • The Fortnox web service is currently down.

If the export to Fortnox does not work, it may be due to one of the following reasons:

  • If exports are done from several different computers, and they work on some computers but not on all of them, it is probably because the computer does not have a self-signed certificate. All computers that will be capable of exporting invoices and supplier bills to Fortnox must have a self-signed certificate to be authenticated. For instructions, see Invoice export to Fortnox.

  • Your browser is too old or Internet Explorer opens by default. In order to export to Fortnox, it is important that you use a modern standard browser, such as Edge, Firefox or Chrome.