How long was it upside down for?
if is heating and there is no sign of cold then you have lost the gas and the unit will not be repairable due to a leak in the amonia system
the only thing you can do is leave it upside down for a full 24 hrs then try it
if it is no go its no good
time for a new one