Connect with and learn from others in the QuickBooks Community.
Thanks for posting your question here in the Community forum, @mercedesarenado.
If you don't want the invoice to show on your books, you can delete or void it and have the payment transaction to remain.
Doing so will have a deposit balance on your customer's account that they can apply in the future.
To void or delete an invoice, here's what you'll need to do:
To learn more about this process, you can read this article: Void or delete transactions in QuickBooks Online.
As always, you can get back to me if you have any additional questions. I'm here for you. Have a great day!