Eligibility for deduction or credit