Ariz. Rev. Stat. § 43-1029
A. This section applies if:
D. Subsection B of this section does not apply to any deduction that is allowable with respect to an item that was included in gross income by reason of the sale or other disposition of stock in trade of the taxpayer, or other property of a kind that would properly have been included in the inventory of the taxpayer on hand at the close of the prior taxable year, or property that is held by the taxpayer primarily for sale to customers in the ordinary course of the taxpayer's trade or business. This subsection does not apply if the deduction arises out of refunds or repayments with respect to rates made by a regulated public utility that is listed in section 7701(a)(33)(A) through (H) of the internal revenue code, if the refunds or repayments are:
E. If the exclusion under subsection B of this section results in:
1. A net operating loss for the prior taxable year or years for purposes of computing the decrease in tax for the prior year or years under subsection B of this section:
(a) The loss shall be:
2. A capital loss for the prior taxable year or years, for purposes of computing the decrease in tax for the prior taxable year or years under subsection B of this section: