First, you'll need to Add an office to each company paying Inter-company charges called "Inter-company allocation"
Next, Add a Person called "Credit Card Allocation"
Create a payable for the expense
NOTE: This invoice equals zero and will offset the Inter-company allocation office