You have to look into the days specificed for your state. Most states have 21 days or less that a landlord must give reasonings and deductions of a security deposit and other charges. A landlord cannot charge your after that grace period.
I would disregard the $400 charge. Call up the landlord and educate him/her that you cannot be charged four months down the road.

