Tullverket

EDI – Application procedure for TVEDI

EDI stands for Electronic Data Interchange and means that your company can communicate electronically, system to system, with Swedish Customs. To send and receive EDI-messages to Swedish Customs your company must apply for a Registration for electronic communication via EDI (TVEDI) and obtain technical approval from us.

Here you will find information about how to apply and how to use the TVEDI when you receive the decision of registration.

Name: TVEDI

In order to send and receive EDI-messages to Swedish Customs you must have a registration for electronic communication via EDI (TVEDI) and get technical approval to connect your EDI-system to Swedish Customs. Here you will find information about how to apply and how to use the TVEDI when you receive the decision of registration.

Who can apply for TVEDI?

In order for Swedish Customs to grant a registration for TVEDI the company should meet the following conditions:

  • The company must have an EORI number.
  • The company conducts or plans to start import, export or warehouse business or to develop a customs system.

How to apply

In the application the technical conditions for the company’s EDI communication are defined. The instructions for filling out the form are found in the application.

The application should be signed by an authorised signatory of the company and the original version should be sent by post to us. A company based outside Sweden should also submit a copy of the Official Registration of the Company with your business identification number and a legal certification that the person is authorised to make signatures for the company.

When applying for TVEDI your company should also register one or several contact person(s) authorised to administer signature certificates.

When your company have been granted TVEDI

The technical information for the company’s EDI communication is defined in the decision on registration for electronic communication via EDI (TVEDI). Furthermore these terms and conditions apply:

  • In order to send and receive EDI-messages to Swedish Customs your company will carry out necessary final tests of the software and Swedish Customs must approve the test results.
  • The registration applies only for the economic operator that is stated as the decision holder. The decision holder should fulfil the conditions which are stated in the registration.
  • The software should generate and transmit messages according to our technical specifications.
    EDI – Technical specifications (in Swedish)
  • The decision holder should continuously keep informed about changes in relevant standards for electronic communication, codes and messages.
  • The decision holder is always responsible to ensure that all technical requirements and security requirements are fulfilled.
  • If there are changes affecting the condition for your registration you should notify Swedish Customs and apply for an amendment.
  • Irrespectively if services in your system are administered by a third party, the decision holder is always responsible for these services towards Swedish Customs.
  • The decision holder should download the messages which Swedish Customs send.
  • It is important that the decision holder should be aware of the general terms and conditions which applies to all authorisations and registrations.
    General terms and conditions for all authorisations (in Swedish) 

Before you begin tests

The technical information for the company’s EDI communication is defined in the decision in a so called technical appendix. You are also allocated a LRN series (also called tull-id series) which is used to generate a unique reference number for declarations both in the test and production environments.

You will also receive two separate documents called “Confirmation of registration for EDI-communication with Swedish Customs” which includes security passwords. These are sent by post. One letter is addressed to the decision holder (contact person for EDI issues). The other is sent to your stated communication party. In order to set up communication with Swedish Customs these passwords must be installed the company's customs system.

Your appointed contact person for signature certificates should ensure that the necessary signature certificates are installed in your EDI system. The certificate needs to be renewed at a regular basis otherwise you risk disrupting your transaction flow both for test and production.

During the test process

In the Swedish Customs company test environment you can test all the EDI messages that Swedish Customs provides. Some messages require additional test data to be registered before tests can proceed.

Once the passwords and signature certificates are installed you may begin to test. Contact the EDI Test team when all relevant final tests have been performed with the expected result. When contacting EDI Test always refer to the reference number (EDI-xx) that is stated in your decision.

Approved tests and start sending messages in the production environment

When your final tests are approved you receive a Decision on approved tests. An approved test means that Swedish Customs has approved that the final test for the current message was correct at the time of the test.

After approved tests Swedish Customs you can send and receive messages in the production environment. Some messages require additional authorisations and/or registrations.

For subscription messages (CWPR, CWRA, IFFP, TSGP, TSPR) to be activated in production you need to separately apply for registration of supplementary data. If these messages will be handled by a third party you must provide a power of attorney.

If the conditions for your EDI registration change, your company must notify us and apply for an amendment. This could be, for example, if there are changes in the communication method or functionality of the system or if you develop a new system solution.

If your company no longer will use your EDI communication with Swedish Customs you should contact us to request revocation of the registration.

Personal data

Applicable rules

  • Europaparlamentets och Rådets förordning (EU) nr 952/2013
  • Tullagen (SFS 2016:253)
  • Tullförordningen (SFS 2016:287)
  • Tullordningen (TFS 2016:2)
  • Konventionen om ett gemensamt transiteringsförfarande