Real Madrid have reached an agreement with Palmeiras for Endrick.
The 16 year-old will move officially to Real Madrid in 2024 when he turns 18.
Cataluyna's Sport reports Palmeiras have accepted a €40m offer from Real Madrid for the striker.
Real officials had reached personal terms with Endrick's family earlier this week ahead of negotiating a fee with Palmeiras president Leila Pereira.
Only minor details need to be signed off, with both clubs aiming to make an official announcement on Sunday.