Ferran Torres has completed the medical for his move to Barcelona, and will officially join the club soon. Many fans have been left wondering how the Spanish side managed to sign the Manchester City player in the wake of their financial crisis. 

The upfront transfer fee agreed for the forward is around €55 million, and he will be signing with the Blaugrana for five years. Here's how the Barcelona board agreed on a deal with Manchester City in spite of their financial situation. 

Ferran Torres' signing: How Barcelona made it happen 

The first point to note is that Barcelona don't have a lack of funds. La Liga's financial rules are the main problem, with the league applying spend limits on clubs based on their current situation. The support from sponsors has improved their financial condition and given them more money to work with. 

Sergio Aguero's retirement has played a part in the deal as well. With the Argentine's wages no longer on the books, Barcelona have managed to give Dani Alves a decent salary, and have agreed on a contract with Torres as well. 

The amortisation of the transfer means that Barcelona will be paying close to €10 million per season for Ferran Torres. His contract won't be too financially heavy for Barcelona either, which has made it possible for the club to register him. 

The final fee for the Spanish international could rise to €65 million, following the €10 million add-ons that Barcelona have agreed with Manchester City.