It would make much more sense if invoices are directly connected to quotes so we can access respective invoice from the quote and vise versa. However even a simple workaround like when creating invoice from a quote it checks if there's a valid invoice for this quote and notifies the user.