You should always follow the wiring recommendations supplied by the inverter manufacturer. Absent those recommendations, I would proceed as follows:
Treat the battery as your "Star" point.
The cables from both the positive and negative leads of the inverter should go directly to the battery. These need to be thick and as short as possible. Also be sure to include adequate over-current protection in the inverter Positive lead.
The leads from your charging source(s) should also terminate at the battery. Again: include adequate over-current protection.
If you require a system Earth ground, that also connects directly to the battery Negative terminal.
Under no circumstances should you attempt to use the metal chassis as a current-carrying conductor.
Note that when I say "Battery Terminal", this is often a buss-bar arrangement with many connection points. These are located very near to the battery bank.
Common buss-bar tie points that I use derive from the Telcom industry and are 3/8" thick copper bars about 3" wide by as long as necessary with numerous 1/4-20 and/or 5/16-18 tapped holes.
Finally, note that many inexpensive consumer-grade AC inverters will NOT allow the Neutral output conductor to be grounded. That is because the internal DC-DC converter is not isolated from the output stage. In these inexpensive inverters, the Line & Neutral terminals alternate in polarity between the DC ground line and the high-voltage positive output of the internal DC-DC converter.
Attempting to ground the Neutral output conductor results in either blown fuses or blown output switching devices.