If you have recorded a payment for the invoice, you will get the Show Payment History option while deleting the invoice. In this case, you would first need to delete the Payments Made before deleting the invoice. Here’s how:
Now you will be able to delete the corresponding invoice.
and GST filing.