Test & Production

Norwegian

Changelog

DateChanges
2022.03.09Updated documentation with Production and Test environments
2022.03.31Corrected typo for Altinn Instance API url in test environment
2022.05.11Added information about testusers from Tenor test data search
2022.15.11Removed Jupyter notebook demo, added reference to Python script
2022.09.05Updated information about testusers from Tenor test data search

Testing requirements

System providers are responsible for carrying out tests themselves. Focus should be to verify that the validation and submission services work as expected. The implementation guide is the essential guide for getting the solution in place for system providers.

The test environment and test data

System providers must have test environments which can make use of synthetic data

Connection to the test environment occurs through ID-porten and for the purpose of testing, Skatteetaten's ID-porten integration can be used. It is recommended that the providers order their own integration against ID-porten as soon as possible because the process is partly manual and can be time consuming. See more in implementation guide section 3. ID-porten integration.

The ERP system providers must find test users in Tenor test data search. The testdata are synthetic test users that should also be used to log into ID-porten and Altinn. These are the only test users that can be used to test VAT-return. Ordinary Digdir test users will not work for this purpose. Here is a guide to how to use Tenor test data search.

Skatteetaten's test environment will be available as long as it is needed, after the new VAT-return is launched in January 2022.

Summary of tests and moving into production

The system providers will, after the end of the test period and in advance of production, summarise their tests. The summary will show what has been tested, along with the status of the carried out tests, including a summary of bugs and inadequacies. The providers will, at Skatteetatens request, provide documentation on how the integration has been tested.

Test application - Python script

A Python script has been written in order to test the appliaction manually. For more information, please visit: Test application with Python script.

Test environment

Test URLS:

ServiceUrl
Validation Servicehttps://idporten-api-sbstest.sits.no/api/mva/grensesnittstoette/mva-melding/valider
Submission Servicehttps://skd.apps.tt02.altinn.no/skd/mva-melding-innsending-etm2/
Instance API-urlhttps://skd.apps.tt02.altinn.no/skd/mva-melding-innsending-etm2/instances
ID-porten integrationhttps://oidc-ver2.difi.no/idporten-oidc-provider/.well-known/openid-configuration
Altinn token exchange urihttps://platform.tt02.altinn.no/authentication/api/v1/exchange/id-porten

Production environment

The production environment is functionally equal to the test environment.

Production URLS:

ServiceUrl
Validation Servicehttps://idporten.api.skatteetaten.no/api/mva/grensesnittstoette/mva-melding/valider
Submission Servicehttps://skd.apps.altinn.no/skd/mva-melding-innsending-v1/
Instance API-urlhttps://skd.apps.altinn.no/skd/mva-melding-innsending-v1/instances
ID-porten integrationhttps://oidc.difi.no/idporten-oidc-provider/.well-known/openid-configuration
Altinn token exchange urihttps://platform.altinn.no/authentication/api/v1/exchange/id-porten