The clubs have agreed a fee for the 24-year-old which could rise to 30.6 million euros and includes Inter midfielder Pele going in the opposite direction.

The deal puts an end to months of speculation linking Quaresma with a move to the San Siro.