That all documents import on proper company with proper user + search product on correct company too I would suggest to introduce in the backend a user that will be used for all operations.
Let me know what kind of solution you suggest to make to have multi-company support.