Implement into the API the appropriate calls for the to compute commissions from the API as we do in the Fusion desktop version.