EDI – Communication 

Swedish Customs provides the possibility to submit data electronically with TCP/IP over Internet. In order to do so the OFTP version 2 is used which is the latest version of OFTP.

OFTP 2 is adapted to communication over Internet, for example through enhanced functionality for file compression, larger file sizes and TLS session security. To communicate with Swedish Customs, it is not necessary to buy a certificate or get a permanent connection with associated infrastructure and high availability requirements. This is possible since session is initiated by the client but the encrypted connection is based on the Swedish Customs public certificate.


Change communication method

There are two options for changing method of communication. Both require an application to amend your EDI registration. Option 1 is recommended.

Option 1

Apply for changes to existing technical appendix. State on the application form: "changing communication party".

This option means:

  • Unchanged sender identification and reverse routing address
  • New OFTP EDI code
  • Transfers via the production environment can continue as before, while the new communication can be verified through the company test environment
  • Communication tests will be needed before the transition of production traffic occurs. Contact Customs' IT department
  • Message flow must be stopped during the transition of production traffic
  • Transition must be completed within 3 months of the application

Option 2

Apply for a new technical appendix. State on the application form: "new communication party".

This option means:

  • New reverse routing address
  • New OFTP EDI code
  • Regular routines for testing a new technical appendix will be followed
  • Transition to the new solution for production traffic is made at an optional time after approved tests . If the company has subscription messages you must inform Customs beforehand about a specific date for transferring these to the new technical appendix

When the old technical appendix is no longer in use the company should notify Customs of its removal.

New server certificate for Swedish Customs’ OFTPv2 server on September 15, 2020

The server certificate used for tmf01.tullverket.se will be replaced September 15, 2020 at 11.00 AM UTC.

The new server certificate has the same supplier as the previous but with changes in the trust chain. In many computer environments, there is still no need to make any changes as Swedish Customs’ server returns intermediate certificates leading to the same trusted root certificate as before.

More information about the replacement of the server certificatePDF

Further information about EDI communication is available in Swedish.

Last updated:

What is updated: Quality assured