This would be very poor accounting practice. Past transactions should only be edited when an actual mistake is discovered.
I don’t know what you a referring to by “a list of the invoice cancelled.” When you receive money from a customer, you are not cancelling an invoice. For information about how to receive money, read this Guide: