Manager automatically allocates previous receipt to new invoice

I have just created a new Sales Invoice. However, when I clicked ‘create’ Manager automatically deducted the amount due using a previous receipt that is unrelated to this new invoice. The receipt used is on the same topic/ area of business as the invoice but other than that I don’t see the connection. The dates are completely different. I would be grateful to hear from anyone with any ideas as to what may be going on - thanks!

Most likely, you did not post the previous receipt to a specific invoice, so it was available as a credit and was automatically applied. Read these Guides:

Thanks Tut, the problem was indeed that I hadn’t raised an invoice for that receipt. I have since done that and the receipt then automatically applied itself to the right invoice. I then re-created the new invoice which now has the correct amount due to be paid. Thanks again.