Depends on your lease/rental agreement and the condition of the unit when you moved in. Check your lease to see what the "life" of a paint job is. I've seen leases say the paint job should last anywhere from one to five years.
Carpet................depends on if the carpet was new when you moved in & is it cleanable now.
Cleaning charge...............tenant always gets charged to clean the unit. If it isn't in the exact same cleanliness condition when you turn the keys in, you will pay to have the unit cleaned. When I say clean, I mean clean...........windows, screens, inside all cabinets, etc. Most residents don't clean thier unit good enough & if I have to call out the cleaners for anything, you get charged.
This goes out to all renters...........You can request a Pre-Move Out walk thru w/ your landlord/management company. Both of you will walk the unit & the landlord/PM rep will tell you exactly what you have to do to get your deposit back. It is a very good idea to request this, so you can be told exactly what needs to be done. Also, you should have a Move In Checklist that you filled out when you moved in showing the condition of everything in the unit. This checklist will hold up in court should anything ever go that far.
I'm sure Gina will chime in w/ additional information. I run the maintenance division of a PM company, but she deals more w/ the legal measures.
HTH
Steve
Edit...................don't believe everything you read in the above link............i.e. nail holes..............it's says you can't be charged for them..............total b.s. .......................if there were no nail holes in the unit when you took possession, you can be charged for any nail holes you left. The idea is to leave the unit in the EXACT same condition it was when you moved in. RARELY, and I mean rarely, do I ever see anyone get thier ENTIRE deposit back...........