key_commit: Fixed the invoices to send a delete to the API when an invoice is voided