Hi Mark,
For the inverter supply you should provide a 50A feed, therefore 10mm.sq wiring is needed for both input and output. 10mm.sq is also the largest wire size that fits in the terminals.
For the batteries, you would need 25mm.sq - depending on your battery bank size.