refactor non-invoiced tickets validation