[T1600] fix _compute_amount and _compute_tax_totals_json methods.

Merged Joel Maglioni requested to merge T1600 into 15.0-stage

Merge request reports