Barcelona have agreed a deal with Guangzhou Evergrande to sign midfielder Paulinho for 40 million euros, the Spanish club announced on Monday.
The 29-year-old Brazilian will sign a four-year contract with a 120 million euro release clause, undertaking medical tests on Thursday before being presented at Camp Nou.
Paulinho is Barcelona's first signing since selling Neymar to Paris St Germain for a world record 222 million euros.
The midfielder failed to make an impact in the Premier League with Tottenham after joining from Corinthians and departed to Guangzhou Evergrande in 2015.
While in the Chinese top flight Paulinho found his best form, scoring 25 goals in 95 games for Guangzhou, earning a recall to the Brazilian national side.
It comes after weeks of speculation over his future and marks an impressive revival in Paulinho's career.
Having struggled to convince at Tottenham following a move from Corinthians in 2013, he left to join Guangzhou two years later to link up with former Brazil boss Luiz Felipe Scolari.
The player will be unveiled on Thursday, the day after the second leg of the Spanish Supercopa which Barca trail 3-1 to Real Madrid after Sunday night's defeat at Camp Nou.