Can the land lord keep my deposit once the rental agreement has come to an end on a property in South Africa?

The land lord can keep the deposit if there are outstanding bills on the property that are for the lessees account, and if the property is not maintain to the same standard that it was handed over to the lessee at the beginning of the rental agreement, the land lord can use the deposit to fix any damage done to the property.