src/Upwork/API/Routers/Reports/Finance/Earnings.php
public function getByBuyersTeam($buyerTeamReference, $params)
    {
        ApiDebug::p(__FUNCTION__);

        $report = $this->_client->get('/finreports/v2/buyer_teams/' . $buyerTeamReference . '/earnings', $params);
        ApiDebug::p('found report info', $report);

        return $report;
    }
public function getByBuyersTeam($buyerTeamReference, $params)
    {
        ApiDebug::p(__FUNCTION__);

        $report = $this->_client->get('/finreports/v2/buyer_teams/' . $buyerTeamReference . '/earnings', $params);
        ApiDebug::p('found report info', $report);

        return $report;
    }
Generate Earning Reports for a Specific Buyer's Team

@param   integer $buyerTeamReference Buyer team reference
@param   array $params Parameters
@return  object