Is there any way to tell solely from the 1099-R if a distribution was from a Keogh or solo 401(k)? Having read over the 1099-R instructins I think the answer is "no", but am wondering if I missed anything.
The reason I ask is this...
In its infinite wisdom, Massachusetts does not allow deductions for contributions to sole proprietors' Keogh or solo 401(k) plans (doesn't allow it for trad IRA or SEP-IRAs either). Thus the sum of all Keogh/solo 401(k)/trad IRA/etc. contributions ever taxed by MA create MA basis.
Then, when distributions are made, MA considers distributions from Keogh/solo 401(k)/trad IRA/etc. accounts to be recoveries of MA basis and so are non-taxable until MA basis is exhausted.
To do this computation, however, requires that one knows whether a given distribution came from a Keogh/solo 401(k)/trad IRA/etc. Such distributions are reported on MA Schedule X (after adjusting for MA basis recovery) while other pension and annuity income is reported on the "Pensions" line of MA Form 1.
It's easy to know if a 1099-R is reporting an trad IRA distribution -- the IRA box will be checked.
But what about Keogh/solo 401(k) distributions? As far as I can tell, those 1099-R forms are going to look just like 1099-R forms from "regular" 401(k)s, other qualified plans, pensions, annuities, etc.
Now, if the taxpayer has brought in a statement or whatever from the plan custodian one will be able to realize this right away. But if just the 1099-R is brought in and the taxpayer has no memory/clue about what kind of account the distribution came from...?
(And that's leaving aside whatever software shenanigans need to be done to get the income to go to the right places on the MA return and not simply have all IRA-box-not-checked 1099-Rs flow to the "Pensions" line on Form 1... 1/2 :)