Good afternoon, @Rozmore13.
It's great to see you back in the Community!
With the Profit and Loss list, it should be reporting income and expense accounts. As long as the cost is associated with an account, that account should report on the Profit and Loss.
You can also double-check with your accountant to be sure on this.
Feel free to reach back out if you're having any more trouble. We're always here to lend a helping hand. Best wishes!