15-31-509. Periods of limitation. (1) Except as otherwise provided in 15-31-544 and this section, a deficiency may not be assessed or collected with respect to the year for which a return is filed unless the notice of additional tax proposed to be assessed is mailed within 3 years from the date that the return was filed. For the purposes of this section, a return filed before the last day prescribed for filing is considered as filed on the last day. When, before the expiration of the period prescribed for assessment of the tax, the taxpayer consents in writing to an assessment after the time, the tax may be assessed at any time prior to the expiration of the period agreed upon. The limitations prescribed for giving notice of a proposed assessment of additional tax may not apply when:
(a) the taxpayer has by written agreement suspended the federal statute of limitations for collection of federal tax if the suspension of the limitation set forth in this section lasts:
(i) only as long as the suspension of the federal statute of limitation; or
(ii) until 1 year after the final determination date or the date an amended federal return is filed as a result of the suspension of the federal statute, whichever is the latest in time; or
(b) a taxpayer has failed to file an amended Montana return, as required by 15-31-506 or a federal adjustments report as provided in 15-30-3403 or 15-30-3404, until 3 years after the final determination date or the date the amended federal return was filed.
(2) A refund or credit may not be allowed or paid with respect to the year for which a return is filed after 3 years from the last day prescribed for filing the return or 1 year from the time the tax was paid, whichever is later, unless before the expiration of the period the taxpayer files a claim for the refund or credit or the department has determined the existence of the overpayment and has approved the refund or credit. If the taxpayer has agreed in writing under the provisions of subsection (1) to extend the time within which the department may propose an additional assessment, the period within which a claim for refund or credit may be filed or a credit or refund allowed in the event a claim is not filed is automatically extended.
(3) Except for final federal adjustments required to be reported for federal purposes by taking those adjustments into account in the partnership return for the year of the adjustment, a taxpayer may file a claim for refund or credit of tax on or before the later of:
(a) the expiration of the period provided for in subsection (2), including any extensions; or
(b) 1 year from the date a federal adjustments report described in 15-30-3403 or 15-30-3404, as applicable, was due to the department, including any extensions.
(4) If a claim for refund or credit is based upon an overpayment attributable to a net loss carryback adjustment as provided in 15-31-119, in lieu of the 3-year period provided for in subsection (1), the period must be the period that ends with the expiration of the 15th day of the 41st month following the end of the tax year of the net loss that results in the carryback.
(5) If the year of the net operating loss is open under either state or federal waivers, the year to which the loss is carried back remains open for the purposes of the loss carryback and for 12 months following the expiration of the state or federal waiver, even though the claim would otherwise be barred under this section.