A novel design based on genetic algorithm is proposed to construct a near-infrared Bragg reflector and an antireflection coating, which are supposed to be applied in the transparent organic photovoltaics. By incorporating the absorbing layer which composed of ClAlPc/C60 with the structure designed, it leads to a significant near-infrared absorption increase from 16.6% to 36.3% within 650-850 nm and high average visible-transparency of 72% within 400-580 nm at normal incidence. Moreover, the near-infrared absorption increases with the enlargement of the incident angle from 0° to 30°, where the average transmittance remains above 60% simultaneously. This design can further improve the balance between transparency in the visible for scenic sight view and sunlight absorption in near-infrared for high-efficiency electricity generation. The potential of adopting this novel design on transparent building-integrated photovoltaic modules, which dominate the landscape of the major cities, is tremendous.