You can cancel an Invoice-Receipt by selecting it from the list of issued invoices and clicking on “Add Credit Note” In the document, specify the reason, such as "Invoice error", "The client will not pay," or another relevant justification.
If the Credit Note is issued for the same amount as the Invoice-Receipt, this effectively cancels the Invoice-Receipt.
After canceling the Invoice-Receipt or issuing a Credit Note due to incorrect data, you can generate a new Invoice-Receipt with all the correct details.