The deal includes a clause that will provide Chelsea with a portion of the original €50m they were seeking, according to reports.
Both parties have now reached an agreement, and contracts are being prepared.
Felix joined Chelsea a year ago after transferring from Atletico Madrid. He spent the second half of last season on loan with AC Milan and was also a target for his former club Benfica.