I'll provide scenarios to help fix the counterpart of an expense in QuickBooks Online (QBO).
By counterpart, do you mean invoices or sales receipts? These are income-generating transactions in QBO. If so, I'll guide you on how to edit or configure them.
Here's how:
Navigate through the Sales menu, and then choose All Sales.
Go to the Filter drop-down, and then select Invoices or Sales Receipts as the transaction Type.
Choose other filters you want, and then click Apply.
Select View/Edit from the drop-down under the Action column to open each invoice.