EDI – System developers
Here you will find information needed for system developers that are developing a customs EDI-system or companies developing an in-house system.
When developing an EDI system, ensure that you have the needed business and technical knowledge of the customs process and the customs procedures.
A system that will communicate with the Swedish Customs’ EDI system needs to meet the technical requirements specified in the technical specifications as well as in our guidelines for security, communication and EDI messages. We also recommend that you have knowledge of the customs procedure when starting the development process.
Prerequisites for EDI communication
Before you may gain access to the Swedish Customs' test environment and send test transactions following our technical specifications your company should:
- apply for Registration for electronic communication via EDI (TVEDI)
- register a contact person for signature certificates
- receive Technical specifications for EDI-communication with Swedish Customs and install the passwords for the EDI party and communication party
- order and install signature certificates.
In the spring of 2022 Swedish Customs will implement the first phase of the new import system for standard customs declarations. By the end of 2022 all economic operators should be using this system.
Approved tests for system developers
Once the final tests are approved you will receive a Decision on approved tests. An approved test means that Swedish Customs has approved that the system developers' final test for the current message was correct at the time of the test. This does not mean that Swedish Customs has examined whether the system in question has any limitations. Neither has Swedish Customs examined any other features of the system than the fact that the system is able to send and receive messages according to current technical specifications.
On request, your approved test results may be published on tullverket.se. A company is able to go through simplified tests if they conduct final tests with a system that has a decision of approved tests.
EDI –Test environment and final tests
Support when developing a system
When you need advice or troubleshooting during the development phase, we recommend that:
- a system description of the system configuration and communication solution is available
- the system has exchange logs
- the system applies the terms and definitions used in the technical specifications and guidelines for declarations
- statuses, symbols etc. used in the system are clearly defined that those who buy the system can easily explain their problems in the event of contact with Swedish Customs.
Guidelines for declarations
The Guidelines for declarations provide information on how to correctly fill in electronic documents. This is to be used in combination with the technical specifications.
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. The system your company develops must follow RFC5024 that describes the protocol for OTFP version 2.
How to calculate Tull-id number series (LRN)
Information about ENS/ICS
In order to be able to control whether a specific electronic message is to be sent to the Swedish Customs' production environment or the test environment, the test indicator must be used correctly. Even when receiving messages, the system must take into account the test indicator so that no confusion can occur. An omitted test indicator or the value "0" means production environment. Other valid values mean test environment (currently only the value "1" is used. For more information see the technical specification in question.
Swedish Customs recommend that you develop a system that can simultaneously handle transactions in the test and production environment on the same EDI party.
Questions or problems?
For questions or problems during the test process, contact EDI Test at firstname.lastname@example.org.
We recommend that you subscribe to our news feed in order to receive up-to-date information about our EDI system.
Subscribe to the newsletter Tullnytt (in Swedish).
Subscribe to information for system developers (in Swedish).
Subscribe to information about EDI communication (in Swedish).
What is updated: New page