The account_deposit module adds support for deposit accounting.

A deposit is an amount paid by the customer prior to the company providing it
with services or goods.

A wizard on invoice allows to recall prior deposit of the party.
