Master/Sub accounts in relation to Quickbooks Integration

We’re almost done building this integration.
My question is - How do you think we should handle master/sub accounts.

It seems as though a sub account invoice, also appears to be on the master account invoice.
Which means it would be double counted when we bring it across to QB.

My gut is telling me to ignore the relationship, so that the master account invoice will NOT include sub accounts.

Thoughts?

My answer to this is that - yes we are going to ignore invoice line items on Master account invoices which come from Sub-accounts.

I would suggest all invoices sync to the main account… Also QuickBooks does have sub account features. If you can sync that way then they can be paid by the master account and still be linked to the sub account in QB