Profit and Loss account_id 20 selector this_year Balance balance Revenue REV 1 balance domain -sum Costs of Revenue COS 1 balance domain sum Gross Profit GRP 0 balance aggregation REV.balance - COS.balance Operating Expenses EXP 1 balance domain sum Operating Income (or Loss) 0 INC balance aggregation REV.balance - COS.balance - EXP.balance Other Income OIN 1 balance domain -sum Other Expenses OEXP 1 balance domain sum Net Profit 0 NEP balance aggregation REV.balance + OIN.balance - COS.balance - EXP.balance - OEXP.balance Allocations and Withdrawals ALLOC 1 balance domain sum