My Products
Help
KOVnet_Iryna
CONTRIBUTOR **

Customer location (wrong localisation)

by KOVnet_Iryna

If I create a customer via API https://integration.visma.net/API/controller/api/v1/customer then the Customer gets the location like:

"locationId": "Main",
"locationName": "Primary location"

if the Customer created manually by the client it gets Dutch-translated names of locations:

"locationId": "Primair",
"locationName": "Hoofdlocatie"



The problem is that if I'm trying to export the invoice to this Customer (the debtor) via https://integration.visma.net/API/controller/api/v2/customerinvoice then I get an ERROR "location was not found" because it should be sent with the default value set up by a client "Primiar"

Can you please advise how to fix this?

Best regards,
Iryna


 

1 REPLY 1
KOVnet_Iryna
CONTRIBUTOR **

by KOVnet_Iryna

Additionally:
If I add the location to the Customer via https://integration.visma.net/API/controller/api/v1/location
then I see it on the Customer but it's not default and I can make it default even manually.

Screenshot 2023-06-08 at 13.33.39.png