New question, no definitive answer yet in instructions for 1040NR, but probably (hopefully) not problematic ...
We received taxable distributions which would be categorized as "lumpsum, not periodic" while we were still green card holders and living in the US. Tax was withheld at a 20% rate for the those distributions. We set up and started receiving annuity payments with a greater than five year term after surrendering our green cards and while living in Canada. Those annuity payments had tax withheld at the rate of 15% as per the US-Canada tax treaty.
However, documentation from the disbursing organization doesn't give detailed time frames for the different kinds of disbursements. The 1099R and the 1042S just cover the year as a whole. In a "worst case" scenario the IRS would treat all of these disbursements for 2022 as being subject to the rules of the US-Canada tax treaty (which taxes lumpsum distributions at 30%, and not at the receiving party's marginal tax rate), regardless of our actual tax resident status for the first half of the year. Is that how it's done?
If that's how it's done, then that's pretty much the end of the conversation. We should file accordingly and our taxes payable to the US for 2022. If that's not how it's done then we have documentation which we can provide with our tax filing to show exactly when each type of distribution occurred.
All of this raises another question, which is does the tax rate applicable to a 1040NR filing override the initial tax withholding rate, whether it be 15% or 30%?