periodic payments to each possession of the United States with a mirror code tax system in an amount equal to the loss to that possession by reason of section 45S of the Internal Revenue Code of 1986. Such amount shall be determined by the Secretary of the Treasury based on information provided by the government of the respective possession. (B) Other possessions The Secretary of the Treasury shall make annual payments to each possession of the United States which does not have a mirror code tax system in an amount 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 section 45S of such Code 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 payment to the residents of such possession. (2) Coordination with credit allowed against United States income taxes No credit shall be allowed against United States income taxes under section 45S of such Code to any person— (A) to whom a credit is allowed against taxes imposed by the possession by reason of such section, or (B) who is eligible for a payment under a plan described in paragraph (1)(B). (3) Definitions and special rules (A) Possessions of the United States For purposes of this section, the term possession of the United States includes the Commonwealth of Puerto Rico and the Commonwealth of the Northern Mariana Islands. (B) Mirror code tax system For purposes of this section, the term mirror code tax system means, with respect to any possession of the United States, the income tax system of such possession if the income tax liability of the residents of such possession under such system is determined by reference to the income tax laws of the United States as if such possession were the United States.