Profit and Loss

Hi, when i download the Profit and Loss from ERP, i have the below number. its show the profit is derives from Revenue add expenses. which is wrong obviously. would like to ask what went wrong and where do i start to check? sorry for the noob question. tq

Total Income (Credit) 156,597

5000 - Expenses - HSSB (317,705)
Total Expense (Debit) (317,705)

‘Profit for the year’ 474,302