Take out the orange service plug from battery (disconnect HV battery) which is under the back seat on right side.
If you dont know check user manual/youtube.
Get the car on the lift, take a bright torch and start following the orange cables starting from invertor to the back of car. Check for damage/ cut on orange plastic cover HV cable.
Either they are damaged under the car when it hit a breaker or some other reason. or around the invertor/ AC compressor.
This is common in accidental cars (R/RA or *** grade)