(a) Effective for taxable years beginning on or after January 1, 1991, and notwithstanding any provisions of this code to the contrary, any financial organization, the business activities of which take place, or are deemed to take place, entirely within this state, shall be allowed a credit against the tax imposed by this article for any taxable year for taxes paid to another state. That credit shall be equal in amount to the lesser of:
- (1) The taxes such financial organization shall actually have paid, which payments were made on or before the filing date of the annual return required by this article, to any other state and which tax was based upon or measured by the financial organization's net income and was paid with respect to the same taxable year; or
- (2) The amount of such tax the financial organization would have paid if the rate of tax imposed by this article is applied to the tax base determined under the laws of such other state.