(b) Credit against article thirteen-a tax. -- A person who pays the minimum severance tax imposed by this article shall be allowed a credit against the severance tax imposed on the privilege of producing coal by section three, article thirteen-a of this chapter, but not including the additional severance tax on coal imposed by section six of article thirteen-a of this chapter or, for taxable years ending after the thirty-first day of December, one thousand nine hundred ninety-nine, the severance tax imposed by the provisions of subsection (f), section three, article thirteen-a of this chapter on coal produced on or after the first day of April, two thousand. The amount of credit allowed shall be equal to the liability of the taxpayer for the taxable year for payment of the minimum severance tax on coal imposed by this article: Provided, That the amount of credit allowed by this section may not exceed the severance tax liability of the taxpayer for the taxable year determined under section three of that article exclusive of the additional tax on coal imposed by section six of that article and, for taxable years ending after the thirty-first day of December, one thousand nine hundred ninety-nine, of the severance tax imposed by the provisions of subsection (f), section three, article thirteen-a of this chapter on coal produced on or after the first day of April, two thousand, after application of all credits to which the taxpayer may be entitled except any credit allowed pursuant to chapter five-e of this code, any credit for installment payments of estimated tax paid pursuant to section six of this article during the taxable year and any credit for overpayment of article thirteen-a tax. Notwithstanding anything herein to the contrary, in no event may the credit allowed under chapter five-e of this code be allowed as a credit against the minimum severance tax imposed by this article.