MADRID - Barcelona have agreed to sign Brazilian forward Keirrison from Palmeiras on a five-year contract for 14 million euros, the Spanish and European champions said on Thursday. The fee for the 20-year-old, who is due to have a medical on Friday, could rise to 16 million euros depending on how many matches he plays for the first team, Barca said on their website. He will be loaned out during the coming season to a club yet to be determined, they added. Barca said Keirrison was one of the sensations of the 2008 season in Brazil, during which he scored 21 league goals for his previous club Coritiba. He moved to Palmeiras in January and scored five goals in seven league matches, leading to speculation linking him with a summer switch to Liverpool, as well as Barca. "Many see in this young player the potential centre forward for the Brazilian national team at the 2014 World Cup," the Catalan club added.