Batteries need to be in alocation where fluids can drain out to the earth ground. Over charging of batteries may cause them to boil out.
Also batteries will emit gases which needs to be in location where you can add vents to the outside. This happens when batteries are being charged...
Additionally the venting batteries should not be near any electronics that can emit sparks etc. The venting fumes are very explosive... This is why you always hear not to put batteries in the same location of power Inverters etc...
Of course I am referring to wet cells batteries that have vent tubes on top... I assume you can install sealed type batteries any place...
If you have sealed type batteries then you can install your Inverter close to it... I of course would probably not do this as you never know what type of battery you may have later on. If you sell the Truck Camper then the new owners might not knowing use the wrong type of batteries... I would still have them in separate compartments... The cabling between the Inverter and the batteries terminals will have to be able to handle at a minimum of around 14.4VDC @ 20AMPS of DC current for each 12VDC Battery in the battery bank.
These are the things I would think about at any rate...
Roy Ken
My Posts are IMHO based on my experiences - Words in CAPS does not mean I am shouting
Roy - Carolyn
RETIRED DOAF/DON/DOD/CONTR RADIO TECH (42yrs)
K9PHT (Since 1957) 146.52M
2010 F150, 5.4,3:73 Gears,SCab
2008 Starcraft 14RT EU2000i GEN
2005 Flagstaff 8528RESS