The charges must be reasonable, and it should be obvious that a landlord can't reasonably replace a $1/square foot carpet with a $100/square foot carpet, or charge the full price of purchase and installation for a new carpet when replacing one that is ten years old. The landlord cannot recover for normal wear and tear, and that includes the fact that carpet and paint will depreciate and will require periodic replacement.