If an item is bought by credit will it be a journal entry?

Debit item purchased
Credit accounts payable