Order API refers to bug about total_amount
Created by: artfulrobot
Remove/update the following in
total_amountmust equal the sum of all the
line_totalvalues. This is a current bug - once fixed you will be able to omit the
total_amountkey and the total will be calculated.
once that bug is fixed. https://lab.civicrm.orog/dev/financial/issues/73