Net income of a partnership or association shall be determined and reported on the basis of accepted accounting principles and practices after provision for all costs and expenses incurred in the conduct thereof. Deductions may not be allowed for expenses not related to the production of income, nor may taxes based on income be allowed as a deduction.
61 Pa. Code § 107.3