Allocation payments to sales invoices

Hi
Apparently I have a partly paid sales invoice although the credit balance on my sales ledger is correct in as much it relates to sales not yet invoiced. Obviously I have not posted items correctly, how can I correct this without creating a receipt on the bank account which does not exist. I think it may have happened by me allocating a bulk amount as payment in the invoice section.

if you know which bulk amount was tagged wrongly, you can untag it and delete that entry then log receipt from sales invoice screen itself