Profit and Loss Balance balance Income 0 INC_IN balance aggregation 0 Direct Income OPINC_IN account_id balance domain -sum Less Cost of Revenue COS_IN account_id balance domain sum Add Closing Stock CLS_IN balance domain from_beginning -sum Less Opening Stock OPS_IN balance domain to_beginning_of_period -sum Gross Profit 0 GRP_IN balance aggregation OPINC_IN.balance - COS_IN.balance + CLS_IN.balance - OPS_IN.balance Add Other Income OIN_IN account_id balance domain -sum Expenses 0 LEX_IN balance aggregation 0 Less Expenses EXP_IN account_id balance domain sum Less Other Expenses OTH_EXP_IN account_id balance domain sum Less Depreciation DEP_IN account_id balance domain sum Net Profit 0 NEP_IN balance aggregation OPINC_IN.balance + OIN_IN.balance + CLS_IN.balance - OPS_IN.balance - COS_IN.balance - EXP_IN.balance - OTH_EXP_IN.balance - DEP_IN.balance