amount allocated to each building for such year, (B) sufficient information to identify each such building and the taxpayer with respect thereto, and (C) such other information as the Secretary may require. The penalty under section 6652(j) shall apply to any failure to submit the report required by the preceding sentence on the date prescribed therefor. (l) Responsibilities of housing credit agencies (1) Plans for allocation of credit among projects (A) In general Notwithstanding any other provision of this section, the housing credit dollar amount with respect to any building shall be zero unless— (i) such amount was allocated pursuant to a qualified allocation plan of the housing credit agency which is approved by the governmental unit (in accordance with rules similar to the rules of section 42(m)(1)) of which such agency is a part, (ii) such agency notifies the chief executive officer (or the equivalent) of the local jurisdiction within which the building is located of such project and provides such individual a reasonable opportunity to comment on the project, (iii) a comprehensive market study of the housing needs of middle-income individuals in the area to be served by the project is conducted before the credit allocation is made and at the developer's expense by a disinterested party who is approved by such agency, and (iv) a written explanation is available to the general public for any allocation of a housing credit dollar amount which is not made in accordance with established priorities and selection criteria of the housing credit agency. (B) Qualified allocation plan For purposes of this paragraph, the term qualified allocation plan means any plan— (i) which sets forth selection criteria to be used to determine housing priorities of the housing credit agency which are appropriate to local conditions, (ii) which also gives preference in allocating housing credit dollar amounts among selected projects to— (I) projects obligated to serve qualified tenants for the longest periods, (II) projects in