ACQUISITIONS, GOODWILL, INTANGIBLE ASSETS, AND INVESTMENTS (Details 1) - Boston Solar Acquisition [Member] - USD ($)
3 Months Ended 12 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Dec. 31, 2022
Dec. 31, 2021
Revenue, net $ 6,914,934 $ 5,333,803 $ 27,385,051 $ 18,500,837
Net loss $ (1,355,700) $ (3,348,902) $ (9,609,240) $ (6,148,422)