As the other two respondents state, you can not bond your modified sinewave inverter's "neutral" to ground as it is floating. There are however two ways to safely connect it to your panel and preserve the safety ground for the structure.
Method one, you may use a 1to1 isolation transformer between the inverter and the connection to your panel then neutral bond the panel as usual, provide a main breaker of course. There are caveats to this approach, your inverter will waste power in the transformer, but, it will be electrically isolated from the bonded neutral. In this configuration there are some concerns about grounding of the DC side of the the system.. Depending on the inverters topology, not bonding the DC side to ground may be desirable. This method would have the sole benefit of keeping you compliant with electrical codes for neutral bonding. Making it "legal".
Method two, which I favor, is to bond the battery bank to ground, the ground wiring in the AC panel should connect to this same ground system.
DO NOT bond the "neutral". The inverter output then passes through a residual current device or RCD (GFCI in the US) before connecting to your main breaker in the panel. Thus in this configuration if any power leaves the floating potential AC system and finds ground, power from the inverter is disconnected automatically. It makes for a usable system with a cheep modified sinewave inverter and does not waste energy in a transformer. Plus you have a safety ground on the whole system.
It does however have caveats. It is not code compliant. Some motor loads may cause nuisance tripping of the RCD, such loads would need capacitors but most capacitors do not like modified sinewave.. if it's a universal motor you may install a rectifier followed with a smoothing capacitor. However speed controls are incompatible with this modification. Most devices will function without problem or need for modification.
I will remind you that an inverter such as yours and mains power should absolutely never meet, my examples are for isolated stand alone applications only.
Another point to think about that may be important to you is from the standpoint of insurance.. If you like many people participate in things like homeowners insurance, companies may invalidate your coverage if you use a non standards approved inverter in your power system.
I will however say I have seen instances where some electrical inspectors familiar with RE systems have approved systems in the configurations I speak of.
What is safe in not always legal and what is legal is not always safe.. it's nice when the two find resolution in an educated electrical inspector.
Truthfully I feel I have glossed over allot, I can get more in depth if need be. I simply wanted to illustrate that although not an ideal circumstance electrically or legally it is not impossible to overcome the technical issues.
~S~