It is a large fee for the Brazilian, who was only purchased from Corinthians in January for €6.5m.
He proved instrumental in keeping Salernitana in Serie A, scoring two goals and providing one assist in 15 appearances for the club.
According to Tuttomercatoweb, the deal is now done for €15m cash plus ownership of defender Lovato, who is valued at €10m.
Salernitana will also get Okoli on loan without an option to buy at the end of the season.
The player turns 23 next month.
— TUTTOmercatoWEB (@TuttoMercatoWeb) June 24, 2022