I concur with @Teri with the easiest way to track all of this is keep separate credit cards for Company A and B so it can all get tracked in the right place.