Re allocate creditors deposits.
All creditors are displayed with outstanding deposits. Select the creditor, then the deposit no to display deposit details.
Any existing invoices with amount owing can be selected.
High light the invoice and press F9 the allocate.
If the deposit balance is zero then the above message is displayed.