the payments under this subsection shall be treated in the same manner as a refund due from the credit allowed under section 24 of the Internal Revenue Code of 1986 by reason of subsection (d) of such section. (c) Effective date The amendment made by this section shall apply to taxable years beginning after December 31, 2017. IV Treatment of certain possessions 401. Treatment of possessions (a) Payments to possessions (1) Mirror code possessions The Secretary of the Treasury shall pay to each possession of the United States with a mirror code tax system amounts equal to the loss to that possession by reason of the application of sections 101, 104, and 201. Such amounts shall be determined by the Secretary of the Treasury based on information provided by the government of the respective possession. (2) Other possessions The Secretary of the Treasury shall pay to each possession of the United States which does not have a mirror code tax system amounts estimated by the Secretary of the Treasury as being equal to the aggregate benefits that would have been provided to residents of such possession by reason of the application of sections 101, 104, and 201 if a mirror code tax system had been in effect in such possession. The preceding sentence shall not apply with respect to any possession of the United States unless such possession has a plan, which has been approved by the Secretary of the Treasury, under which such possession will promptly distribute such payments to the residents of such possession. (b) Coordination with credit allowed against united states income taxes No increase in any credit, deduction, or exclusion determined under section 198A, 108(j), or 139(g) of the Internal Revenue Code of 1986 against United States income taxes for any taxable year shall be taken into account with respect to any person— (1) to whom the corresponding credit, deduction, or exclusion is allowed against taxes imposed by the possession by reason of section 101, 104, or 201, whichever is applicable, for such taxable year, or