Last updated: 2025-11-05
Reporting hazardous waste to the Swedish Environmental Protection Agency’s Waste Register
In this Price item
Businesses that transport hazardous waste are obliged to record and report data about hazardous waste to the Swedish Environmental Protection Agency’s Waste Register.
For waste carriers, the record must be made before starting to transport the waste. The report to the Waste Register must be made no later than two working days after the time when the record must be made.
The following information must be recorded for each type of hazardous waste transported:
-
From whom and from what location the waste is to be transported.
-
Date of shipment.
-
Mode of transport.
-
Weight of the waste in kilograms.
-
Waste code.
-
To whom and to what location the waste is to be transported.
If the waste is transported by several carriers, the above records should only cover the carrier’s part of the shipment.
A list of all the different types of waste can be found in Appendix 3 of the Swedish Waste Ordinance. Waste codes marked with an asterisk (*) indicate that the waste type is hazardous waste.
Businesses can submit data to the Swedish Environmental Protection Agency’s Waste Register via an API. Opter is integrated with the Waste Register via this API, so data about hazardous waste can be entered in Opter and this will be automatically reported to the Swedish Waste Register when the order is saved in Opter. For this to work, you first need to obtain a client certificate, an agreement and an API key with the Swedish Environmental Protection Agency, then contact the Opter EDI team at and request a connection between your Opter and the Swedish Environmental Protection Agency.
Once everything is set up, check that each order containing hazardous waste packages has the correct information relating to the sender, receiver, date of shipment, as well as the package’s weight and waste code. When the order is saved, the data is sent from Opter to the Swedish Environmental Protection Agency via the EDI link and the API. If the data is received correctly, the Swedish Environmental Protection Agency returns a waste ID to Opter for each package of hazardous waste. Once Opter has received the waste ID, it is displayed on the package row in the waste ID column in order reception. This waste ID is a kind of serial number used by Opter and the Swedish Environmental Protection Agency to update records on a certain amount of waste.
For more information, see the Swedish Environmental Protection Agency’s web pages:
Conditions
Waste codes and types of waste
The waste code must be entered for each package containing hazardous waste. Waste codes for all types of waste can be found in the list in Appendix 3 of the Swedish Waste Ordinance (scroll to the middle of the document to find the list). A six-digit waste code is provided for each type of waste, e.g. the waste code “05 01 11*” refers to the waste type “Wastes from cleaning of fuels with bases”. Waste codes marked with an asterisk (*) indicate that the waste type is hazardous waste. If you need help identifying the correct waste code, see the Swedish Environmental Protection Agency’s Classification and coding of waste.
Obtaining a client certificate
A certificate acts as an e-identification between systems and is a prerequisite for encrypted traffic, which prevents information from being tampered with or intercepted as it is sent between systems. A client certificate allows the Swedish Environmental Protection Agency, which offers the API service, to be sure that the data has been sent from a trusted party, which is governed by an agreement and qualified by testing.
Your organisation needs to obtain a Qualified Website Authentication Certificate (QWAC). The client certificate should be held on the company server, so that several computers can use the same certificate. See the Swedish Environmental Protection Agency’s instructions on how to obtain client certificates, Reporting to the Waste Register via API.
Concluding an agreement with the Swedish Environmental Protection Agency
Your organisation needs to conclude a production connection agreement with the Swedish Environmental Protection Agency to enable data to be submitted to the Waste Register via API. See the Swedish Environmental Protection Agency’s instructions on how to draw up the agreement, Reporting to the Waste Register via API.
API key
When you send the client certificate and the agreement to the Swedish Environmental Protection Agency (via email) and when the Swedish Environmental Protection Agency has approved the client certificate and the agreement, you will receive login details and an API key (access key) in return. In order for your organisation to receive the API key digitally, you need to be connected to a digital mailbox, otherwise the API key will be sent via registered mail. See the Swedish Environmental Protection Agency’s information on digital mailboxes, Reporting to the Waste Register via API.
Step 1: Contact Opter’s EDI team
What to do when you have a client certificate, an agreement and an API key with the Swedish Environmental Protection Agency:
-
Request an EDI link between your Opter and the Swedish Environmental Protection Agency by contacting the EDI team at . For information about the cost of EDI work, see your agreement with Opter.
In order to set up the EDI link to the Waste Register, the EDI team needs information about the mode of transport, corporate ID number and contact details etc., since this information needs to be sent to the Swedish Environmental Protection Agency’s Waste Register when reporting records about hazardous waste.
In order to set up the EDI link to the Waste Register, the EDI team needs the following information from you:
-
Your corporate ID number.
-
Your company name.
-
Your contact person’s name (first and last names).
-
Your contact person’s email address.
-
Your contact person’s telephone number (including the country code in front of the number, e.g. +46 70 732 xx xx).
-
Mode of transport (e.g. transport by road and/or sea).
-
The receiver’s corporate ID number (i.e. the corporate ID number of the company receiving the waste after shipment).
-
-
When the EDI link is ready, you and someone from the Opter EDI team will jointly test that the link with the Swedish Environmental Protection Agency is working.
Step 2: Add columns for the waste code and waste ID in Opter
How to add new columns for waste code and waste ID in the Packages section in order reception:
-
In Opter, click on Settings > Offices > Terminology. There are extra ID columns here for the waste code and waste ID.
-
Give the columns names, such as “Waste code” and “Waste ID”. We recommend using ExtraID1 (package) for the waste code and ExtraID2 (package) for the waste ID, because these are used in the default implementation.
-
Click on
to save all changes. -
Click on Settings > Order reception > Order settings > Control. Click on the configuration to change in the list on the left, for example High resolution.
-
In the Control settings box next to the Packages field, click on
. Click on the Columns tab. Drag and drop the waste code (ExtraID1 (package)) and waste ID (ExtraID2 (package)) columns from Excluded to Included. -
Choose the order of the columns in the Packages section in order reception by moving the waste code and waste ID columns up or down in the Included list, which is done by dragging and dropping them where you want to have them.
Make sure that the Weight column is also included in the Included list.
-
Click on
to save all changes. -
Close the Package settings window. Click on
in the Order entry settings window and close the window.The new waste code and waste ID columns should now be displayed in the Packages section in order reception.
Step 3: To display the waste code and waste ID in Opter Driver
You can set whether the waste code and/or waste ID are to be displayed in the Opter Driver app. The waste code and waste ID can be displayed in the following two places in Opter Driver:
-
In the detail view/shipment view in the Packages section. The waste code and waste ID cannot be changed here, only displayed.
-
In the package view.
The package view is displayed when a shipment is opened, the menu in the top right corner is tapped, Packages is tapped and then a package is tapped.
The waste code and/or the waste ID can be changed in the package view in Opter Driver, once the (ExtraID1 (package) and ExtraID2 (package)) fields have been added. It is possible to define whether or not the changes need to be manually approved by dispatch before they are saved, see Step 4 below.
If someone accidentally changes the waste ID number, future updates about the waste in the waste register will be reported to the wrong waste ID at the Swedish Environmental Protection Agency. To reduce the risk of this problem, there is an option not to display the field with the waste ID number and/or to set it up so that changes have to be manually approved in dispatch before they are saved, i.e. before any updates are sent to the Swedish Environmental Protection Agency.
Follow the instructions:
If you choose to add all possible package fields, not all of them will fit in the app (widthwise). We recommend that you choose to display the fields/columns that are most relevant for you.
If you use the App.OpterDriver.Design or App.Design XML file, the width of each column can also be adjusted, thus allowing you to maximise the information displayed about each package in the Packages section of the app.
There are two ways to define the fields and columns that are displayed in the detail view/shipment view in Opter Driver for iOS. For Opter Driver for Android only App.Design works, i.e. the first option below. Choose the way that suits you best:
-
Edit the App.OpterDriver.Design or App.Design XML file.
If the App.OpterDriver.Design or App.Design XML file is used, the fields/columns can be given their own names, such as “Waste code” (ExtraID1 (package)) and “Waste ID” (ExtraID2 (package)). For example, if you do not choose your own name, it will show “Ex. ID 1” and “Ex. ID 2”, which is not particularly clear. The width of each column can also be adjusted, thus making it possible to maximise the information displayed about each package in the Packages section of the app.
For information on how to choose whether to use App.OpterDriver.Design and/or App.Design, see Customising the layout and features of Opter Driver.
For instructions on how to display fields and columns, name fields and columns and adjust the column width, see App.OpterDriver.Design or App.Design.
Specific instructions for App.Design
Proceed as follows to add columns for the waste code and/or waste ID so that they are displayed in the detail view/shipment view in the package columns in Opter Driver:
-
In Opter, click on Settings > Mobile data > Settings mobile data.
-
Click on Edit to the right of App.Design to open the XML file.
In the XML file there is a section called expandedrows, in that section you choose what to display in the mission view in Opter Driver and in what order it should be displayed.
We recommend using PACKAGE.EXTRAID1 for the waste code and PACKAGE.EXTRAID2 for the waste ID.
-
To add a column for the waste code, add the following two lines to the XML file so that the “WASTE CODE” column is displayed in the shipment view under Package:
If the new columns are to be located on the far right, see the code example below. If the columns are to be on the left instead, add the rows to the top of the relevant code section under Package.
-
To add a column for the waste ID, add the following two rows to the XML file so that the “WASTE ID” column is displayed in the shipment view under Package:
If the new columns are to be located on the far right, see the code example below. If the columns are to be on the left instead, add the rows to the top of the relevant code section under Package.
Kodexemplet visar kollikolumnerna i App.Design-filen<row>
<item itemname="'Kollin:'" condition="PACKAGECOUNT" width="100" font="LARGEBOLD" />
</row>
<row>
<item itemname="'A'" condition="PACKAGECOUNT" width="5" font="NORMAL" />
<item itemname="'KT'" condition="PACKAGECOUNT" width="12" font="NORMAL" />
<item itemname="'VIKT'" condition="PACKAGECOUNT" width="18" font="NORMAL" />
<item itemname="'L'" condition="PACKAGECOUNT" width="11" font="NORMAL" />
<item itemname="'B'" condition="PACKAGECOUNT" width="11" font="NORMAL" />
<item itemname="'H'" condition="PACKAGECOUNT" width="11" font="NORMAL" />
<item itemname="'KLI ID'" condition="PACKAGECOUNT" width="11" font="NORMAL" />
<item itemname="'AVFALLSKOD'" condition="PACKAGECOUNT" width="9" font="NORMAL" />
<item itemname="'AVFALLS-ID'" condition="PACKAGECOUNT" width="11" font="NORMAL" />
</row>
<row>
<item itemname="PACKAGE.QUANTITY" width="5" font="SMALL" />
<item itemname="PACKAGE.PACKAGETYPE" width="12" font="SMALL" />
<item itemname="PACKAGE.WEIGHT" width="18" font="SMALL" />
<item itemname="PACKAGE.DEPTH" width="11" font="SMALL" />
<item itemname="PACKAGE.WIDTH" width="11" font="SMALL" />
<item itemname="PACKAGE.HEIGHT" width="11" font="SMALL" />
<item itemname="PACKAGE.PACKAGEID" width="11" font="SMALL" />
<item itemname="PACKAGE.EXTRAID1" width="9" font="SMALL" />
<item itemname="PACKAGE.EXTRAID2" width="11" font="SMALL" />
</row>It is difficult to fit many column columns in Opter Driver, so we recommend to include only the most important ones and to adjust the width of the columns (width) as needed.
It is probably more important to display a waste code in Opter Driver than a waste ID. Waste codes are seven characters long, but may contain two spaces, therefore they may need to be set to 9 (width=”9”). For more information about waste codes, see Waste codes and types of waste above.
-
-
Close the XML file by clicking on the checkmark in the top right corner. Then click on Save to save your updates in the XML file. Click on Close.
-
Check that the columns fit into the shipment view in Opter Driver. If they do not fit, the columns on the far right will not be visible.
-
-
Using the Design field for mobile window.
This only works for Opter Driver for iOS and Opter Driver Labs for Android, not for Opter Driver (classic) for Android.
The Design field for mobile window is easier to use than the App.OpterDriver.Design XML file, but neither the names of the fields/columns nor the width of the columns can be changed in the Design field for mobile window.
For instructions, see Setting which fields are displayed in Opter Driver.
To display waste codes and/or waste IDs in the package view, proceed as follows:
-
In Opter, click on Settings > Mobile data > Settings mobile data.
-
Click on an empty row in the Name column and then on the down arrow in the row being added. For example, select SPA_ExtraId1Permission from the list.
-
Enter one of the following in the cell to the right:
-
“True”: if the “Waste code” (ExtraID1 (package)) should be displayed in the package view.
All SPA_Permission settings are “true” by default, which means that they are all displayed if no setting is applied at all.
If SPA_ExtraId1Permission is set to “true” then all the other SPA_Permission settings that should be displayed in Opter Driver must be set to “true”, for example SPA_WeightPermission, SPA_VolumePermission and SPA_QuantityPermission
-
“False”: if the “Waste code” (ExtraID1 (package)) should not be displayed in the package view.
If SPA_ExtraId1Permission is set to “false” then all the other SPA_Permission settings that should be displayed in Opter Driver must be set to “true”, for example SPA_WeightPermission, SPA_VolumePermission and SPA_QuantityPermission.
-
-
To change the name of the field, click on an empty row in the Name column and then on the down arrow in the row being added. Select SPA_ExtraId1Name from the list.
-
In the cell on the right, enter the name that the field should be given in the package view, for example “Waste code”.
-
To set where the “Waste code” (ExtraID1 (package)) should be located in the package view list, click on an empty row in the Name column and then on the down arrow in the row that is being added. Select SPA_ExtraId1Order from the list.
In the cell on the right, enter a number to indicate where in the package view list the “Waste code” (ExtraID1 (package)) should be located. For example, enter the number “1” if the field should be at the top of the list. Enter the number “2” if the field should be the second field in the list. For more information, see Mobile data settings (window).
The field with the lowest number appears at the top. This means that setting one of the SPA_Order settings to "2" is not enough for it to appear in second place. If "2" is the lowest number, that field will be at the top anyway. In that case, you need to set another field to "1".
-
Click on Save.
-
If we want the waste ID to be displayed in the package view, repeat steps 2-7 above for the “Waste ID” (ExtraID2 (package), SPA_ExtraId2Permission, SPA_ExtraId2Name and SPA_ExtraId2Order).
The waste code and waste ID can be changed when the field has been clicked in the package view in Opter Driver. It is possible to define whether or not the changes need to be manually approved by dispatch before they are saved, see Step 4 below.
Step 4: If it should be mandatory for changes made to the waste code field in Opter Driver to be approved
It is possible to choose whether or not changes to the waste code field made in Opter Driver have to be manually approved in dispatch before the changes are saved. Proceed as follows:
-
Follow the instructions in Setting how changes made in Opter Driver are approved.
-
If App.ApproveChanges has been set to “true”, exceptions can be made for certain changes, which do not then have to be manually approved in dispatch.
If changes to the “Waste code” field (ExtraID1 (package)) should not have to be approved in dispatch, click on Settings > Mobile data > Shipment Change Elements. Select Extra ID 1 (package) from the list on the left and deselect the Require Approval checkbox. Click on Save.
Each time the order is saved, Opter checks whether anything has changed on any package row with hazardous waste. Regardless of whether the weight, waste code or any other information has changed on the package row, the information about the package is sent to the Swedish Environmental Protection Agency’s Waste Register in accordance with one of the following scenarios:
-
If it has been defined that, for example, changes to the Extra ID 1 (package) or Weight (package) waste code fields in Opter Driver do not need to be approved manually in dispatch, the data about the package is sent to the Waste Register when the Opter Driver user clicks on Save.
-
If it has been defined that, for example, changes to the Extra ID 1 (package) or Weight (package) waste code fields in Opter Driver do have to be approved manually in dispatch, the data about the package is sent to the Waste Register when the dispatcher has approved the changes in dispatch. If the dispatcher does not approve the changes, no new data is sent to the Waste Register.
-
Step 5: Record and report data about hazardous waste
Record the data about the hazardous waste before the shipment begins. When the order is saved in Opter, the data is reported to the Swedish Environmental Protection Agency’s Waste Register via the EDI link and the API. Proceed as follows:
-
Check that the order has the correct details (especially the name, address and date) in the Sender and Receiver boxes in order reception.
-
Check that the weight of the package is indicated on the package row in the Weightcolumn in the Packages section in order reception for each package containing hazardous waste.
-
Enter the waste code on the package row in the Waste code column (or whatever you have chosen to call it) in the Packages section in order reception for each package containing hazardous waste.
For more information about waste codes, see Waste codes and types of waste above.
-
Save the order by clicking on
. When the order is saved, all the data about packages containing hazardous waste is sent from Opter to the Swedish Environmental Protection Agency. If the data is received correctly, the Swedish Environmental Protection Agency returns a waste ID to Opter for each package of hazardous waste. Once Opter has received the waste ID, it will be visible in the package row in the waste ID column in order reception.
If the data has not been received correctly by the Swedish Environmental Protection Agency, this can be seen in the EDI log, see the EDI log tab in the Order log section in order reception.
Each time the order is saved, Opter checks whether anything has changed on any package row with hazardous waste. Regardless of whether the weight, waste code or any other information has changed on the package row, the information about the package is sent to the Swedish Environmental Protection Agency’s Waste Register.
It is also possible to record data about hazardous waste data in Opter Driver if it has been set up to allow this, see Step 3 and Step 4 above.
Step 6: Check that the data has been reported to the Swedish Environmental Protection Agency
How to check that the data about hazardous waste has been received correctly by the Swedish Environmental Protection Agency’s Waste Register:
-
There is a waste ID on the package row in the Packages section in order reception. The waste ID can also be displayed in Opter Driver if it has been set up to allow this, see Step 3 above.
If there is a waste ID, the data has been received correctly at least once, but the fact that there is a waste ID is no guarantee that the latest updates to the data, if there are any, have been received correctly. To check this, it is necessary to open the EDI log, see below.
-
More detailed information is available in the EDI log on the EDI log tab in the Order log section in order reception.
If the data has been correctly received by the Swedish Environmental Protection Agency, this can be seen in the EDI log, because “ACCEPTED” is indicated in the Response column. If the data has not been received correctly, “FAILED” is indicated in the Response column.
Step 7: Change data that has already been reported, if necessary
To change data that has already been reported to the Swedish Environmental Protection Agency’s Waste Register via Opter as described in the instructions in Record and report data about hazardous waste above, proceed as follows:
-
Open the order in Opter and edit the data you want to change, such as the weight or waste code for one or more packages of hazardous waste. It is also possible to amend the data in Opter Driver if it has been set up to allow this, see Step 3 and Step 4 above.
To undo the reported entry for a specific package, change the weight of the package to 0 kilograms.
If you delete an order, all of the order’s packages and waste IDs will be reported to the Swedish Environmental Protection Agency's Waste Register with a weight of 0 kilograms.
-
Save the order by clicking on
. When the order is saved, Opter sends the waste ID and the updated data to the Swedish Environmental Protection Agency. If the data is received correctly, the data will be updated at the Swedish Environmental Protection Agency.
If the data has not been received correctly by the Swedish Environmental Protection Agency, this can be seen in the EDI log, see the EDI log tab in the Order log section in order reception.
Each time the order is saved, Opter checks whether anything has changed on any package row with hazardous waste. Regardless of whether the weight, waste code or any other information has changed on the package row, the information about the package is sent to the Swedish Environmental Protection Agency’s Waste Register.