Burti Posted October 5, 2018 Share Posted October 5, 2018 Hello, How can I recalculate it invoice total ? $postData = [ 'invoiceid' => $invoiceId, 'taxrate' => '0.00', ]; if($paymentMethod == 'xMethod'){ $postData['taxrate'] = '18'; } $command = 'UpdateInvoice'; $results = localAPI($command, $postData); Its updated invoice but it does not calculate & update the total.. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.