"substantial economic effect." Meaning that in most instances the person that receives the income and incurs the expense can be assigned both on the partnership tax accounting. It doesn't have to all be equal.
Please note that I have the IQ of a pancake, so take this with a grain of salt.