Options
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Anonymous
Not applicable
I get this error message when I try to create a invoice (customerinvoice) in Visma Net
Error Message:
IntegrationErrorException: {"message":"Error: Inserting 'Sales invoice/note' record raised at least one error. Please review the errors.\r\nError: 'Location' is not found.\r\n"}
The company I run this for has locationID "main" and "MAIN" but I still get the error message
I have run the same code at for a test company before and it worked without any problems
Code:
customerInvoice.LocationId = new LocationId5() { Value = "MAIN" }
Someone who has an idea what it could be ?
Solved! Go to Solution.
2 REPLIES 2
Hi,
Could you please try to create the same invoice in the UI?
This should allow you to see what is triggering the error.
We have cases in the backlog to improve the error handling.
Thank you.
