How to cancel customer invoice after making payment

Step 1: Go to Accounting -> Customers -> Invoices and Select customer invoice with a paid status

Step 2: Click on [i] icon as the picture below and click on Unreconcile to remove the payment from this customer invoice

Step 3: Click on the Cancel button on the toolbar. After you cancel this customer invoice, inventory quantity and journal entries will be removed

If you cancel this invoice because there is something wrong ( example: invoice date,..) you can reuse by clicking on Reset to draft and Validate. The inventory valuation and journal entries will be posted

You can select Add to register payment for this invoice again