Talenom

Import tool package

System version

Unknown

Tool version

1.0

Tool files



Tool name

wmx2vismaeaccounting.exe



Visma e-accounting is a web-based solution, we can run this tool on our servers.

We have two versions of the tool - with and without order module (without means that the orders are automatically created as invoices in eAccounting)

Requirements and notes

Please note: Visma e-accounting API does not support purchase orders.

To set it up, use the following link to create a token (requires login to eaccounting).

https://identity.vismaonline.com/connect/authorize?client_id=datadesign&redirect_uri=https://localhost:44300/callback&scope=ea:api%20offline_access%20ea:sales%20ea:accounting%20ea:purchase&response_type=code

  • we need the response URL, for instance: 

https://localhost:44300/callback?code=123aa2857950a3c3a78e1d2b0fbab123

  • this link only works for 5 minutes (Since there's a 5-minute window, we're talking about some planning... as an alternative the client can send us the login/password and we set it up ourselves.)

  • we use it to create the refresh code



You need to create a file called settings.xml and place it in the same folder as the tool. You can define own log4net configuration — just place log4net.config in the same folder as the tool.

settings.xml

<?xml version="1.0" encoding="utf-8"?> <Settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Account> <!-- Visma e-accounting api service client id--> <ClientId>datadesign</ClientId> <!-- Visma e-accounting api service client secret code--> <ClientSecret></ClientSecret> <!-- Visma e-accounting api refresh token --> <RefreshToken></RefreshToken> </Account> <!-- ERP Web Service account provided by Webmercs --> <Email></Email> <Password></Password> <!-- Email for receiving error reports. Separate multiple emails with ; --> <AdminEmail></AdminEmail> </Settings>



ERP WebService can not be accessed from the FTP machine using default HTTPS scheme .
To fix it, the following line should be added to the Settings.xml:

<WebServiceUrl>http://secure.webmercs.com/erplinkservice/service.asmx</WebServiceUrl>



How to use the import tool