Generator won’t charge batteries
The Inverter should have nothing to do with your problem.
Not sure if you have a Use / Store switch but if you do are you sure it is in the Use position?
If that switch is in Store position, it bypasses the batteries and they won’t be charged by the genny or shore power.
If you start the engine, does that charge your batteries?
__________________
|