(CNN) Russian President Vladimir Putin said Friday he is ready to go to Washington and has invited US President Donald Trump to Moscow, but there "has to be necessary conditions."

"We are ready for such meetings, we are ready to invite President Trump to Moscow. He has this invitation already and I told him about it," said Putin, speaking at the BRICs summit in Johannesburg.

White House press secretary Sarah Sanders said in a statement that Trump is "open to visiting Moscow," but suggested he has yet to receive a formal invitation from his Russian counterpart.

"President Trump looks forward to having President Putin to Washington after the first of the year, and he is open to visiting Moscow upon receiving a formal invitation," Sanders said in a statement Friday morning.

But Putin's comments come days after Trump invited Putin to meet in Washington later this year, before quickly backtracking and pushing a potential meeting until next year.

Read More