update invoice get_object to exclude soft-deleted objects