Expense through Purchase Invoice

Hi All,
Just have a basic question.
When using purchase invoice for booking non-item expenses (e.g. entertainment, kitchen supplies, utilities), how do u charge these to respective ledgers? I have created items with these names but when I post a transaction they get charged to cost of goods sold. Where do i select the relevant ledger account?

I found it …!!! there is an expense head option when we open Items table.
just writing it here so it helps anyone else who needs it.