S corp basis ordering rules — what order do you apply them?
Finally sat down to figure out my S corp basis for last year and I'm totally turned around on the s corp basis ordering rules. I have a K-1 showing ordinary income, a distribution, and a loss. I know I need Form 7203 but I'm not sure which of those items gets applied to my opening stock basis first, second, third. I tried reading the Form 7203 instructions but the order isn't spelled out as plainly as I'd hoped. Do I add income first, then subtract the distribution, then subtract the loss? Or does the loss come before the distribution? Getting the order wrong could change whether I can claim the loss this year and I don't want to guess.