POST Sales Order V1 & V2 endpoints return a vague error message when trying to create a Sales Order with an already existing Sales Order: Document Number via the API.
HTTP Status Code: 500
"Error creating salesOrder. Object reference not set to an instance of an object."
This has been reported to the development team to improve the error message as per the following exception.
The Sales Order with Order Number "XXX" already exists. Please use another Sales Order number or update the existing document.
Updates will be provided as they become available.(Please subscribe to the News section for release/version information)
Copyright © 2019 Visma.com. All rights reserved.