ok ,after reading your post again,i see the inverter has a built in battery charger.
it looks as if the batteries are connected in series.are they 6v batteries as you say you have 24 volts in total?