to get a personalized navigation.
to get a personalized navigation.
During last few days, starting from 17.10.2024 and still continuing, API sales orders V3 has been returning error "(0005-InvalidState) Currency rate not found for to EUR with rate type SPOT." with some of the sales orders, total of 10-12 orders, within thousands of valid V3 sales orders.
As we diagnosed it, portal has only one currency which is set up as it should and this error came out of the blue. Is something changed in the v3 sales orders API, but not documented or did we find a new issue, or would it be possible to be lucky for thousands of successful sales orders and we’ve been missing something critical from sales order messages so far? We also tried setting the currency ID with the sales order, but it was not accepted "Currency Id can not be overridden (1408-OverrideCurrencyIdProhibited)." but as said, portal has only one currency. Is there something we’ve missed?
Please find attached example, anonymized, sales order;
{"type":"xx","status":"Hold","date":"2024-10-23T10:49:50.0000","requestOn":"2024-10-23T10:49:50.0000","customer":{"id":"00000","refNo":"00000"},"billing":{"contact":{"name":"xxx","attention":"xxx","email":"x.x@x.x","phone1":"000"},"address":{"line1":"x","postalCode":"00000","city":"x","countryId":"FI"}},"shipping":{"contact":{"name":"xxx","attention":"xxx","email":"x.x@x.x"},"address":{"line1":"x","postalCode":"00000","city":"xx","countryId":"FI"},"shipViaId":"xxx"},"orderLines":[{"inventoryId":"1","quantity":2},{"inventoryId":"1a","quantity":1},{"inventoryId":"2","quantity":1},{"inventoryId":"3","quantity":10},{"inventoryId":"2a","quantity":5},{"inventoryId":"4","quantity":2},{"inventoryId":"5","quantity":4},{"inventoryId":"4a","quantity":2}]}
Copyright © 2022 Visma.com. All rights reserved.