first check Vendor invoicing party which was assigned in Vendor master data (XK03/XK02)
Secondly,Check when you are entering MIRO what company code system picks up if it is different then desired.Change the company code to desired one.
thirdly,Check whether vendor has been created for the relevent company code or not.
Hope it would be helpful