In optoelectronic devices based on two-dimensional (2D) semiconductor heterojunctions, the efficient charge transport of photogenerated carriers across the interface is a critical factor to determine the device performances. Here, we report an unexplored approach to boost the optoelectronic device performances of the WSe2-MoS2 p-n heterojunctions via the monolithic-oxidation-induced doping and resultant modulation of the interface band alignment. In the proposed device, the atomically thin WOx layer, which is directly formed by layer-by-layer oxidation of WSe2, is used as a charge transport layer for promoting hole extraction. The use of the ultrathin oxide layer significantly enhanced the photoresponsivity of the WSe2-MoS(2 )p-n junction devices, and the power conversion efficiency increased from 0.7 to 5.0%, maintaining the response time. The enhanced characteristics can be understood by the formation of the low Schottky barrier and favorable interface band alignment, as confirmed by band alignment analyses and first-principle calculations. Our work suggests a new route to achieve interface contact engineering in the heterostructures toward realizing high-performance 2D optoelectronics.