I created an invoice, then validate the invoice and then Register payment. Later I came to know that this invoice is wrong. Then I go to payments and click cancel. Then the invoice moves into open state. Then I cancelled the invoice but my payments still pending.
The payments are in draft state but I want to delete those payments. I un-reconciled the JE and I am still getting the following error message when I try to delete Payment.
It is not allowed to delete a payment that already created a journal entry since it would create a gap in the numbering. You should create the journal entry again and cancel it thanks to a regular revert.
Can Anyone suggest me how to delete the payment record?'
Thank you.