From the answer:
One accounting file from what you say You need QBO Plus, that version has the class and location function class allows you to tag each item line in a transaction location allows you to tag the entire transaction then you can run a P&L by class or loc