My Products
Help

Connecting your Visma.Net Financials company to the API

27-01-2020 10:29 (Updated 25-11-2021)
  • 0 Replies
  • 1 kudos
  • 6631 Views

Setup up your user rights

To be able to use Visma.Net API you need to make sure your visma user have the correct roles on the Financials company you want to use it for.

Login with your Visma.Net Account : https://signin.visma.net and g
o to Admin Panel.

1- Visma.Net Admin

1.A- To be able to edit the access rights you need to be logged in with a user with “Customer administrator” role.

 

1.B- To set your rights, click on Visma.Net Financials in the top left corner and choose Admin.

 

Magnus Johnsen_0-1580212853728.png

2-User and roles

2.A- When you have accessed Visma.net Admin click on “User and roles”. 
2.B- Head to the “User” tab.

2.C- Search for your username and click your name.

con1.png

3-Company access and rights

3.A- If the company you want to edit roles for does not exist in the list under your username, click the “Add access to” menu and look for the company you wish to add. 

 

Magnus Johnsen_2-1580212853630.png

 

3.B- Find the company you want to edit roles for.

 

con2.png

 

3.C- On the line for the desired company, press the field for “Financials” and add the roles “Financial Administrator” & “Financials User”.

 

abc132.png

Swagger

Our Swagger is a good point for you to start using the API.

 

Magnus Johnsen_5-1580212853636.png

Connect to your Visma.Net account

Authorize and get a VNF token to use in Swagger.

Click “Authorize” on the right side of the interface.

 

abc130.png

 

Tick the box for “financialstasks” and press “Authorize”

 

abc129.png

 

You will be directed to a Visma.net login, enter your credentials and sign in.(If you are not asked to enter your credentials but get directed to the next step straight away, please clear your cookies in your browser and retry)

 

abc128.png

 

Allow Visma.net Integrations to connect to your account.

 

abc127.png

 

When you have allowed the connection you see that you are now authorized in Swagger. Close the window and proceed to use Swagger.

 

abc126.png

Start using Swagger

The first thing you need to do is check what companies your visma.net financials user have access to. You can find the names and Ids via the “Context” endpoint.

Scroll down to the “Context” endpoint and expand it.

 

abc215.png

 

Expand the first GET method - Get the companies available for this token, and press “Try it out”.

 

abc125.png

 

You will now see a button, “Execute”, press it and you’ll notice the result below will have updated to show your available companies. You’ll also see the request URL.

 

abc124.png

 

In the list, decide which company you want to use and copy the “id:”, this is the Id you will add to your “ipp-company-id” header when you are making requests. For now scroll back up to the top and paste the ID in the field “ipp-company-id”. When you have filled this field, the requests you execute via Swagger will target that company.

 

abc123.png

 

We also recommend taking a look at :
OAuth 2.0 Authorization Flow