Brazil's Senate has voted to put suspended President Dilma Rousseff on trial for allegedly breaking fiscal rules in her managing of the federal budget.

Wednesday's 59-21 vote is the final step before a trial and vote on whether to remove her from office, expected later this month.

The Senate voted in May to impeach and suspend Rousseff from office for up to 180 days.

In the meantime, Michel Temer, who was Rousseff's vice president-turned-nemesis, has taken over.

Rousseff has repeatedly said she did nothing wrong.