to get a personalized navigation.
to get a personalized navigation.
In Visma.net, there is a checkbox on the Customer screen (AR303000) to automatically set the billing or delivery address to 'Same as Main':
(the tab Delivery Settings is similar)
However, on the Customer/POST and Customer/PUT API calls, there is no way to supply this parameter.
This means that the (new) Customers we supply ('we' is my company, our system that integrates with Visma.net through the API) are invalid if we only supply a main address (occurs frequently in our business case), and need to be manually corrected in Visma.net before they can be used, since a missing billing address raises a validation error. This is undesirable.
I would recommend identifying this as a bug and add the parameters BillToAddressSameAsMain (bool) and ShippingAddressSameAsMain (bool) to the Post/Put DTO.
Solved! Go to Solution.
Hi,
The default behaviour of the "same as main" checks are that they are set to true:
POST Customer:
There is an "Ideas" part of the forum?
OK, I will communicate this back to my stakeholder and request a re-test. Will post here if we can reproduce this behaviour and then accept the solution.
I can confirm, this was an implementation issue on our side. The Visma.net API works correctly as Magnus reported above.
Copyright © 2022 Visma.com. All rights reserved.