line Section 62(a) of the Internal Revenue Code of 1986 is amended by inserting after paragraph (21) the following new paragraph: (22) Health insurance premiums The deduction allowed by section 224. . (c) Conforming amendments (1) Section 35(g)(2) of the Internal Revenue Code of 1986 is amended by striking or 213 and inserting 213, or 224 . (2) Section 162(l)(3) of such Code is amended by inserting or 224(a) after 213(a) . (3) The table of sections for part VII of subchapter B of chapter 1 of such Code is amended by redesignating the item relating to section 224 as relating to section 225 and by inserting after the item relating to section 223 the following new item: Sec. 224. Health insurance premiums. . (d) Effective date The amendments made by this section shall apply to taxable years beginning after December 31, 2017. 202. Refundable tax credit for payroll taxes attributable to health insurance premiums (a) In general Subpart C of part IV of subchapter A of chapter 1 of the Internal Revenue Code of 1986 is amended by adding at the end the following new section: 36C. Refund of payroll taxes attributable to health insurance premiums (a) Allowance of credit There shall be allowed as a credit against the tax imposed by this subtitle for any taxable year an amount equal to the applicable percentage of the premiums paid by the taxpayer for health insurance coverage (as defined in section 9832) of the taxpayer, the taxpayer's spouse, or any dependent (as defined in section 152, determined without regard to subsections (b)(1), (b)(2), and (d)(1)(B) thereof) of the taxpayer. (b) Applicable percentage For purposes of subsection (a), the term applicable percentage means the percentage equal to the sum of the rates of in effect under subsections (a) and (b) of section 3101. (c) Limitation The amount of the credit allowed under subsection (a) shall not exceed the excess of— (1) the social security taxes (as defined in section 24(d)) of the taxpayer for the taxable year, reduced by (2) the sum of the credits allowed under