Deductions & credits

Thanks much.

Does it matter whether the benefits are recieved as a result of retirement or dissability? I assume IRS views them as teh same as both are on the ssa1099.