Yahoo may have dealt roughly with CEO Carol Bartz when they fired her over the phone, but Bartz will have the last laugh when she walks away with a cool $10 million in cash and stocks.

An SEC filing from Wednesday confirms Bartz will receive a standard severance package for "termination without cause". According to CNN, this package could include $3 million in cash, a pro-rated bonus of almost $2 million and stock worth another $5 million.

Bartz also has 5 million shares of stock that'll vest if Yahoo's stock climbs high enough by December 2012. If Yahoo can pull itself out of this slump, its ex-CEO could collect millions. [CNN via CNet]

You can keep up with Kelly Hodgkins, the author of this post, on Twitter, Google + or Facebook.