Ok paraphrasing a little but leaving nothing important out- stationary land based, earth terminal connected to metal earthing stake to a depth of 1.2m. if the battery powering the inverter has no connection to ground then one of the battery terminals (commonly negative) should also be connected to the earthing stake.
In a vehicle when the inverter is directly wired to the battery the earth terminal is simply connected to the vehicle. If temporary ie cigarette lighter plug, the chassis earth terminal should be connected via a short link to either the -ve DC terminal of the inverter.
cheers fnq