Purchase

DR Purchases (P&L);
CR Bank/Accounts payable
Remember - the code in Purchases will be specific to the nature of the cost. For example, a lawyer’s invoice would be posted to legal fees