While creating Purchase orders there is a Intercompany Checkbox, which can be enabled or disabled for the PO creation.

Similar functionality can be developed for a Pending vendor invoice wherein the Intercompany Checkbox can be either enabled/disabled. With this a GL code should also fetch accordingly whether there is a project/s involved or not in the transaction.
Needs Votes