Liverpool have agreed to sell Sadio Mane to Bayern Munich for £35.1million.
Having already rejected two offers because of unrealistic bonuses, Liverpool will receive £27.4m with an additional £5.1m based on appearances and £2.6m on individual and team achievements.
Bayern sporting director Hasan Salihamidzic, who led negotiations, was aware that Mane was committed to joining the German champions and determined to get a deal done under the £42.5m asking price.
It still represented a profit for Liverpool, having signed Mane from Southampton in 2016 for £31m plus £2.