Ordinarily, when a C corporation makes a distribution to a shareholder, the shareholder would treat the receipt as follows:
General rule: Effect on Shareholder
1. first, as dividend income, to the extent of the shareholders' share of section 312/section 316 "earnings & profits" (E&P). Although E&P is not defined in sections 312 and 316, E&P is often considered to be analogous to the financial accounting concept of "retained earnings".
2. next, as a reduction of the shareholder's basis in the corporate stock, until the remaining basis amount is zero.
3. finally, to the extent that the distribution amount exceeds the sum of items 1 and 2, as a gain on sale of the corporate stock.
See, generally section 301.
General rule: Effect on Corporation
Ordinarily, the corporation would treat the same distribution as a gain on sale of the assets distributed. See section 311(b)(1).
Time Out, Green Bay!
However, the above rules do not apply here. The special rules for complete corporate liquidations apply.
Special rule: Effect on Shareholder; Complete Corporate Liquidation
This is a complete corporate liquidation. For the shareholder in this case, the E&P of the corporation does not come into play. Instead, the shareholder treats the receipt of the distribution as full payment in exchange of the stock, per section 331. Section 301 does not apply.
Special rule: Effect on Corporation; Complete Corporate Liquidation
Because this is a complete corporate liquidation, the corporation treats the distribution as a gain on the sale of the assets distributed -- as a sale at fair market value, under section 336.
Not discussed here: The special exceptions to the special rule, etc.