entity

(A)The term “qualified small business” means, with respect to any taxable year— (i)a corporation or partnership, if— (I)the gross receipts (as determined under the rules of section 448(c)(3), without regard to subparagraph (A) thereof) of such entity for the taxable year is less than $5,000,000, and (II)such entity did not have gross receipts (as so determined) for any taxable year preceding the 5-taxable-year period ending with such taxable year, and (ii)any person (other than a corporation or partnership) who meets the requirements of subclauses (I) and (II) of clause (i), determined— (I)by substituting “person” for “entity” each place it appears, and (II)by only taking into account the aggregate gross receipts received by such person in carrying on all trades or businesses of such person. (B)Such term shall not include an organization which is exempt from taxation under section 501.