Its always an advantage to get the inverter as close to motor as possible but if not you will need seek tech advice on your inverter and see what measures are needed to stop over-voltage up to 2X the bus-voltage which can do alot of interference and damage.... asking such questions would imply you need to do alot of homework and asking the odd question on here wont be good enough, strict reg's governing noise produced by the inverters must be adhered to using line filters etc in correct places and positions.... things are quite easy if within cable run guidelines regarding screening and filters but once you exceed this you need to know your stuff.