Skip to content
English
  • There are no suggestions because the search field is empty.

Digitoll - Integrasjon mot Maskinporten

🔧 Veileder: Sette opp Integrasjon mot maskinporten

 

Guide fra toll: https://toll.github.io/api/maskinporten/maskinporten.html

Viktig: husk å fylle ut bruksvilkår og ha de nødvendige rettighetene fra Altinn.

For English click here

1. 📥 Logg inn på Samarbeidsportalen


2. 🆕 Opprett en ny integrasjon i Test/Prod

  • Logg inn i selvbetjeningen med organisasjonsnummer
    Snag_649dffd
  • Logg inn med BankID, og velg så opp rett klient

    Snag_649e00d
  • Opprett klient fir Maskinporten:
    Snag_649e02c
  • Fyll inn feltene for navn og beskrivelse.

  • Legg til følgende scopes etter behov:

    • toll:movement/road/v2
    • toll:movement/air
    • toll:movement/rail
    • toll:movement/maritime
    •  toll:movement/entry
    • toll:goodsdeclaration/document.write


    Snag_649e05b
  • Til slutt velger Opprett, kopier KlientID og send til support@emmasys.com
    Snag_649e08a

    Snag_649e0a9

    Installasjon kan gjøres av Boss user i Emma:
  • Gå til Send/Hent
  • Under Setting og Kurermanifest/E-tollmanifest
  • Velg miljø Test eller Prod og legg inn IntegrasjonsID for digitoll for manifester og for dokument sending

velg Save settings, nede til høyere.


📚 Forklaring av relevante scopes

toll:movement/road, /Air, /rail, /maritime

  • Beskrivelse: Brukes for innsending og henting av data knyttet til varebevegelser , inkludert deklarasjoner og spørringer på eksisterende forsendelser.

toll:movement/entry

  • Gjelder API-er: movement/presentation, movement/routing

  • Beskrivelse: Brukes for å melde inn og styre varebevegelser ved innpassering i Norge. Dekker presentasjon av varer og ruting etter ankomst.

toll:goodsdeclaration/document.write

  • Gjelder API: Dokumentopplasting

  • Beskrivelse: Gir tilgang til å laste opp støttedokumentasjon (som fakturaer og transportdokumenter) til tolldeklarasjoner.

 

 

English guide:

 

Guide from the Norwegian Customs (Toll): Machine-to-Machine Authentication - Maskinporten API

1. 📥 Access the Collaboration Portal

To gain access to the production environment, an administrator in your organization must assign you the Self-service for integrations in ID-porten/Maskinporten role via Altinn.

Once the correct role is assigned, you’ll see the option to access the production environment in the portal.


2. 🆕 Create a New Integration

    • Log in to the self-service portal using your organization number.Snag_649dffd
    • Log in with BankID, then select Create client.

      Snag_649e00d
    • Create a client for Maskinporten:
      Snag_649e02c
    • Enter both the name and description for the client in the corresponding fields.

Add the following scopes as needed:

    • toll:movement/road/v2
    • toll:movement/air
    • toll:movement/rail
    • toll:movement/maritime
    •  toll:movement/entry
    • toll:goodsdeclaration/document.write

Once complete, click Create, then copy the Klient ID and send it to support@emmasys.com.

Snag_649e08a

Snag_649e0a9

Installation can be performed by a Boss user in Emma:

  • Go to Send/Hent.

  • Under Settings and Kurermanifest/E-tollmanifest:

  • Select environment (Test or Prod) and enter the Integration ID for Digitoll for both manifests and document sending.

Click Save setting.

📚 Explanation of Relevant Scopes

toll:movement/road, /Air, /rail, /maritime


  • Description: Used for submitting and retrieving data related to cargo movements, including declarations and queries on existing shipments.

toll:movement/entry

  • Applies to APIs: movement/presentation, movement/routing

  • Description: Used for notifying and managing goods movements at the point of entry into Norway. Covers goods presentation and routing after arrival.

toll:goodsdeclaration/document.write

  • Applies to API: Document Upload

  • Description: Grants access to upload supporting documentation (such as invoices and transport documents) for customs declarations.