If a receipt or credit memo is applied to the invoice, you will receive a message that the invoice could not be modified. Select
OK
, and then unapply the receipt or adjustment from the invoice. You can then finish unposting and deleting the invoice.