We programmatically sync orders that come in on our website into Acumatica. It seems that tax and discount recalculation is not triggered automatically. Is there a way to trigger these calculations via the REST API?
2 Answers
You need to extend the Web Service Endpoint to include the RecalculateDiscounts action
-
1To extend a web service endpoint, you can check out this blog post: acumatica.com/blog/extending-acumatica-web-service-endpoints– KulvirDec 16, 2021 at 0:24
Actually, RecalculateDiscounts action does basically the same as defaulting mechanisms which should have been triggered upon insertion of document lines. So, probably, it requires investifation why taxes (external or built-in?) were not caclulated automatically upon import