completing the invoice now clears out local data