In most countries the internal revenue service requires from companies to number invoices consecutively. Even if the CRM allows you to delete an invoice you should avoid this. You will not be able to reuse the invocie number of a deleted invoice. Instead, create a credit note for this customer. This will also update the number of stock items, in case you use the CRM’s warehouse functions.