TITLE 26 - US CODE - PART II - TAX TREATMENT OF SHAREHOLDERS

26 USC 1366 - Pass-thru of items to shareholders

(a) Determination of shareholder’s tax liability 

(1) In general 
In determining the tax under this chapter of a shareholder for the shareholders taxable year in which the taxable year of the S corporation ends (or for the final taxable year of a shareholder who dies, or of a trust or estate which terminates, before the end of the corporations taxable year), there shall be taken into account the shareholders pro rata share of the corporations
(A) items of income (including tax-exempt income), loss, deduction, or credit the separate treatment of which could affect the liability for tax of any shareholder, and
(B) nonseparately computed income or loss.

For purposes of the preceding sentence, the items referred to in subparagraph (A) shall include amounts described in paragraph (4) or (6) of section 702 (a).

(2) Nonseparately computed income or loss defined 
For purposes of this subchapter, the term nonseparately computed income or loss means gross income minus the deductions allowed to the corporation under this chapter, determined by excluding all items described in paragraph (1)(A).
(b) Character passed thru 
The character of any item included in a shareholders pro rata share under paragraph (1) of subsection (a) shall be determined as if such item were realized directly from the source from which realized by the corporation, or incurred in the same manner as incurred by the corporation.
(c) Gross income of a shareholder 
In any case where it is necessary to determine the gross income of a shareholder for purposes of this title, such gross income shall include the shareholders pro rata share of the gross income of the corporation.
(d) Special rules for losses and deductions 

(1) Cannot exceed shareholder’s basis in stock and debt 
The aggregate amount of losses and deductions taken into account by a shareholder under subsection (a) for any taxable year shall not exceed the sum of
(A) the adjusted basis of the shareholders stock in the S corporation (determined with regard to paragraphs (1) and (2)(A) of section 1367 (a) for the taxable year), and
(B) the shareholders adjusted basis of any indebtedness of the S corporation to the shareholder (determined without regard to any adjustment under paragraph (2) of section 1367 (b) for the taxable year).
(2) Indefinite carryover of disallowed losses and deductions 

(A) In general 
Except as provided in subparagraph (B), any loss or deduction which is disallowed for any taxable year by reason of paragraph (1) shall be treated as incurred by the corporation in the succeeding taxable year with respect to that shareholder.
(B) Transfers of stock between spouses or incident to divorce 
In the case of any transfer described in section 1041(a) of stock of an S corporation, any loss or deduction described in subparagraph (A) with respect such stock shall be treated as incurred by the corporation in the succeeding taxable year with respect to the transferee.
(3) Carryover of disallowed losses and deductions to post-termination transition period 

(A) In general 
If for the last taxable year of a corporation for which it was an S corporation a loss or deduction was disallowed by reason of paragraph (1), such loss or deduction shall be treated as incurred by the shareholder on the last day of any post-termination transition period.
(B) Cannot exceed shareholder’s basis in stock 
The aggregate amount of losses and deductions taken into account by a shareholder under subparagraph (A) shall not exceed the adjusted basis of the shareholders stock in the corporation (determined at the close of the last day of the post-termination transition period and without regard to this paragraph).
(C) Adjustment in basis of stock 
The shareholders basis in the stock of the corporation shall be reduced by the amount allowed as a deduction by reason of this paragraph.
(D) At-risk limitations 
To the extent that any increase in adjusted basis described in subparagraph (B) would have increased the shareholders amount at risk under section 465 if such increase had occurred on the day preceding the commencement of the post-termination transition period, rules similar to the rules described in subparagraphs (A) through (C) shall apply to any losses disallowed by reason of section 465 (a).
(4) Application of limitation on charitable contributions 
In the case of any charitable contribution of property to which the second sentence of section 1367 (a)(2) applies, paragraph (1) shall not apply to the extent of the excess (if any) of
(A) the shareholders pro rata share of such contribution, over
(B) the shareholders pro rata share of the adjusted basis of such property.
(e) Treatment of family group 
If an individual who is a member of the family (within the meaning of section 704(e)(3)) of one or more shareholders of an S corporation renders services for the corporation or furnishes capital to the corporation without receiving reasonable compensation therefor, the Secretary shall make such adjustments in the items taken into account by such individual and such shareholders as may be necessary in order to reflect the value of such services or capital.
(f) Special rules 

(1) Subsection (a) not to apply to credit allowable under section 34 
Subsection (a) shall not apply with respect to any credit allowable under section 34 (relating to certain uses of gasoline and special fuels).
(2) Treatment of tax imposed on built-in gains 
If any tax is imposed under section 1374 for any taxable year on an S corporation, for purposes of subsection (a), the amount so imposed shall be treated as a loss sustained by the S corporation during such taxable year. The character of such loss shall be determined by allocating the loss proportionately among the recognized built-in gains giving rise to such tax.
(3) Reduction in pass-thru for tax imposed on excess net passive income 
If any tax is imposed under section 1375 for any taxable year on an S corporation, for purposes of subsection (a), each item of passive investment income shall be reduced by an amount which bears the same ratio to the amount of such tax as
(A) the amount of such item, bears to
(B) the total passive investment income for the taxable year.

26 USC 1367 - Adjustments to basis of stock of shareholders, etc.

(a) General rule 

(1) Increases in basis 
The basis of each shareholders stock in an S corporation shall be increased for any period by the sum of the following items determined with respect to that shareholder for such period:
(A) the items of income described in subparagraph (A) of section 1366 (a)(1),
(B) any nonseparately computed income determined under subparagraph (B) of section 1366 (a)(1), and
(C) the excess of the deductions for depletion over the basis of the property subject to depletion.
(2) Decreases in basis 
The basis of each shareholders stock in an S corporation shall be decreased for any period (but not below zero) by the sum of the following items determined with respect to the shareholder for such period:
(A) distributions by the corporation which were not includible in the income of the shareholder by reason of section 1368,
(B) the items of loss and deduction described in subparagraph (A) of section 1366 (a)(1),
(C) any nonseparately computed loss determined under subparagraph (B) of section 1366 (a)(1),
(D) any expense of the corporation not deductible in computing its taxable income and not properly chargeable to capital account, and
(E) the amount of the shareholders deduction for depletion for any oil and gas property held by the S corporation to the extent such deduction does not exceed the proportionate share of the adjusted basis of such property allocated to such shareholder under section 613A (c)(11)(B).

The decrease under subparagraph (B) by reason of a charitable contribution (as defined in section 170(c)) of property shall be the amount equal to the shareholders pro rata share of the adjusted basis of such property. The preceding sentence shall not apply to contributions made in taxable years beginning after December 31, 2007.

(b) Special rules 

(1) Income items 
An amount which is required to be included in the gross income of a shareholder and shown on his return shall be taken into account under subparagraph (A) or (B) of subsection (a)(1) only to the extent such amount is included in the shareholders gross income on his return, increased or decreased by any adjustment of such amount in a redetermination of the shareholders tax liability.
(2) Adjustments in basis of indebtedness 

(A) Reduction of basis 
If for any taxable year the amounts specified in subparagraphs (B), (C), (D), and (E) of subsection (a)(2) exceed the amount which reduces the shareholders basis to zero, such excess shall be applied to reduce (but not below zero) the shareholders basis in any indebtedness of the S corporation to the shareholder.
(B) Restoration of basis 
If for any taxable year beginning after December 31, 1982, there is a reduction under subparagraph (A) in the shareholders basis in the indebtedness of an S corporation to a shareholder, any net increase (after the application of paragraphs (1) and (2) of subsection (a)) for any subsequent taxable year shall be applied to restore such reduction in basis before any of it may be used to increase the shareholders basis in the stock of the S corporation.
(3) Coordination with sections 165 (g) and 166 (d) 
This section and section 1366 shall be applied before the application of sections 165 (g) and 166 (d) to any taxable year of the shareholder or the corporation in which the security or debt becomes worthless.
(4) Adjustments in case of inherited stock 

(A) In general 
If any person acquires stock in an S corporation by reason of the death of a decedent or by bequest, devise, or inheritance, section 691 shall be applied with respect to any item of income of the S corporation in the same manner as if the decedent had held directly his pro rata share of such item.
(B) Adjustments to basis 
The basis determined under section 1014 of any stock in an S corporation shall be reduced by the portion of the value of the stock which is attributable to items constituting income in respect of the decedent.

26 USC 1368 - Distributions

(a) General rule 
A distribution of property made by an S corporation with respect to its stock to which (but for this subsection) section 301 (c) would apply shall be treated in the manner provided in subsection (b) or (c), whichever applies.
(b) S corporation having no earnings and profits 
In the case of a distribution described in subsection (a) by an S corporation which has no accumulated earnings and profits
(1) Amount applied against basis 
The distribution shall not be included in gross income to the extent that it does not exceed the adjusted basis of the stock.
(2) Amount in excess of basis 
If the amount of the distribution exceeds the adjusted basis of the stock, such excess shall be treated as gain from the sale or exchange of property.
(c) S corporation having earnings and profits 
In the case of a distribution described in subsection (a) by an S corporation which has accumulated earnings and profits
(1) Accumulated adjustments account 
That portion of the distribution which does not exceed the accumulated adjustments account shall be treated in the manner provided by subsection (b).
(2) Dividend 
That portion of the distribution which remains after the application of paragraph (1) shall be treated as a dividend to the extent it does not exceed the accumulated earnings and profits of the S corporation.
(3) Treatment of remainder 
Any portion of the distribution remaining after the application of paragraph (2) of this subsection shall be treated in the manner provided by subsection (b).

Except to the extent provided in regulations, if the distributions during the taxable year exceed the amount in the accumulated adjustments account at the close of the taxable year, for purposes of this subsection, the balance of such account shall be allocated among such distributions in proportion to their respective sizes.

(d) Certain adjustments taken into account 
Subsections (b) and (c) shall be applied by taking into account (to the extent proper)
(1) the adjustments to the basis of the shareholders stock described in section 1367, and
(2) the adjustments to the accumulated adjustments account which are required by subsection (e)(1).

In the case of any distribution made during any taxable year, the adjusted basis of the stock shall be determined with regard to the adjustments provided in paragraph (1) of section 1367 (a) for the taxable year.

(e) Definitions and special rules 
For purposes of this section
(1) Accumulated adjustments account 

(A) In general 
Except as otherwise provided in this paragraph, the term accumulated adjustments account means an account of the S corporation which is adjusted for the S period in a manner similar to the adjustments under section 1367 (except that no adjustment shall be made for income (and related expenses) which is exempt from tax under this title and the phrase (but not below zero) shall be disregarded in section 1367 (a)(2)) and no adjustment shall be made for Federal taxes attributable to any taxable year in which the corporation was a C corporation.
(B) Amount of adjustment in the case of redemptions 
In the case of any redemption which is treated as an exchange under section 302 (a) or 303 (a), the adjustment in the accumulated adjustments account shall be an amount which bears the same ratio to the balance in such account as the number of shares redeemed in such redemption bears to the number of shares of stock in the corporation immediately before such redemption.
(C) Net loss for year disregarded 

(i) In general In applying this section to distributions made during any taxable year, the amount in the accumulated adjustments account as of the close of such taxable year shall be determined without regard to any net negative adjustment for such taxable year.
(ii) Net negative adjustment For purposes of clause (i), the term net negative adjustment means, with respect to any taxable year, the excess (if any) of
(I) the reductions in the account for the taxable year (other than for distributions), over
(II) the increases in such account for such taxable year.
(2) S period 
The term S period means the most recent continuous period during which the corporation has been an S corporation. Such period shall not include any taxable year beginning before January 1, 1983.
(3) Election to distribute earnings first 

(A) In general 
An S corporation may, with the consent of all of its affected shareholders, elect to have paragraph (1) of subsection (c) not apply to all distributions made during the taxable year for which the election is made.
(B) Affected shareholder 
For purposes of subparagraph (A), the term affected shareholder means any shareholder to whom a distribution is made by the S corporation during the taxable year.
(f) Restricted bank director stock 
If a director receives a distribution (not in part or full payment in exchange for stock) from an S corporation with respect to any restricted bank director stock (as defined in section 1361 (f)), the amount of such distribution
(1) shall be includible in gross income of the director, and
(2) shall be deductible by the corporation for the taxable year of such corporation in which or with which ends the taxable year in which such amount in[1] included in the gross income of the director.
[1] So in original. Probably should be “is”.