
When a business buys inventory for cash, purchases equipment on credit, or sells goods to a customer, the accounting entry depends on more than whether money changed hands. The type of account involved, payment method, and inventory system can all affect which account is debited and which is credited.
That is also why “purchase journal entry” can be confusing. A journal entry for a purchase is not always the same thing as a traditional purchases journal.
This guide explains purchase and sales entries with practical examples, including cash and credit transactions, periodic and perpetual inventory, returns, taxes, and automated accounting systems.
A purchase journal entry records the accounting effect of a purchase by identifying what the business received, how the purchase was financed, and which accounts should be debited and credited.
Depending on the transaction, a purchase could increase:
The corresponding credit may reduce Cash or increase Accounts Payable.
This broad meaning should not be confused with a traditional purchases journal.
A purchase journal entry can refer generally to the journal entry created when a business makes a purchase.
A purchases journal, however, is a specific type of special journal traditionally used for recurring credit purchases. In the framework explained by OpenStax, the purchases journal is used for inventory purchased on account.
Cash purchases are instead recorded through the cash-disbursements process in a traditional special-journal system.
Modern accounting software often handles these classifications and ledger postings automatically behind the transaction screen.

A useful way to understand a purchase entry is to ask two questions:
The account representing what was received is generally debited when an asset or expense increases. The credit reflects the source of payment or financing.
For example, purchasing equipment does not automatically mean debiting a “Purchases” account. Equipment is an asset, so the Equipment account is normally debited.
Similarly, buying office supplies could affect a Supplies asset or an expense account depending on the circumstances and accounting policy.
The exact debit therefore depends on what was purchased—not simply on the fact that a purchase occurred.
When a business purchases something and pays immediately, Cash or Bank normally decreases.
Suppose a company purchases office supplies for 1,000 in cash.
The supplies account increases, so it is debited. Cash decreases, so it is credited.
If the business instead purchases merchandise inventory for cash, the inventory accounting method matters.
Under a perpetual inventory system:
Under a periodic inventory system:
The difference exists because a perpetual system updates Inventory continuously, while a periodic system generally accumulates inventory purchases in a Purchases account and determines the inventory balance and cost of goods sold through period-end procedures.
A credit purchase occurs when the business receives goods, services, or another asset now but agrees to pay the supplier later.
Suppose a retailer purchases inventory costing 5,000 from a supplier on credit.
Under a perpetual inventory system:
Inventory increases by 5,000 and the company now owes 5,000 to its supplier, creating an Accounts Payable liability.
When the supplier is later paid:
The payment reduces both the liability and the company's cash.
Under a periodic inventory system, the original credit purchase of merchandise would normally debit Purchases instead of Inventory.
A purchase of inventory on account is also the classic transaction recorded in a traditional purchases journal.

Not every purchase should be posted to the same account. The nature of what the business acquires determines the appropriate debit.
For example, if a business purchases equipment worth 5,000 for cash, the entry is:
Debit Equipment: 5,000
Credit Cash: 5,000
HAL's guide to the accounting cycle uses this same basic example when explaining journal entries.
The important principle is that the Purchases account is not a universal destination for all money spent by a business. In a periodic inventory system, it is generally associated with merchandise acquired for resale.
Equipment, supplies, rent, professional services, and other purchases are recorded according to their own accounting treatment.
The inventory system is one of the main reasons two businesses can record the same purchase differently.
A perpetual inventory system updates the Inventory account as purchases and sales occur. A periodic system updates inventory through period-end procedures rather than with every inventory transaction.
For example, a 2,000 credit purchase would normally be:
Perpetual
Inventory Dr 2,000
Accounts Payable Cr 2,000
Periodic
Purchases Dr 2,000
Accounts Payable Cr 2,000
OpenStax's comparison of perpetual and periodic inventory systems explains that perpetual systems continuously update Merchandise Inventory, while periodic systems use the Purchases account and update inventory at the end of the reporting period.
Neither method should simply be substituted for the other when recording isolated transactions. Entries need to be consistent with the inventory system and accounting policies the business uses.
A sales journal entry records the revenue created when a business sells goods or services.
If the customer pays immediately, the basic entry is:
Cash Dr
Sales Revenue Cr
If the customer is allowed to pay later:
Accounts Receivable Dr
Sales Revenue Cr
As with the purchases journal, there is a terminology distinction.
A traditional sales journal is a special journal used for credit sales. Cash sales are generally recorded through the cash-receipts journal instead.
Under a perpetual inventory system, the sale of merchandise also affects inventory and Cost of Goods Sold. That means a merchandise sale normally creates a second accounting entry in addition to the revenue entry.
Suppose merchandise is sold for 2,000.
If the customer pays immediately:
If the same sale is made on credit:
The revenue is the same. The difference is whether the business receives cash immediately or creates a receivable from the customer.
Now suppose the inventory sold originally cost the business 1,200.
Under a perpetual inventory system, another entry records the cost of that inventory leaving the business:
This is why a sale under perpetual inventory can require two related entries:
Under a periodic inventory system, the Cost of Goods Sold entry is not recorded for every individual sale. Cost of goods sold is determined through the period-end inventory process.
Purchase and sales entries record opposite sides of business activity, but they affect different accounts.
For example, when a retailer purchases merchandise on credit, it may debit Inventory and credit Accounts Payable.
When it later sells that merchandise on credit, it debits Accounts Receivable and credits Sales Revenue. Under perpetual inventory, it also debits Cost of Goods Sold and credits Inventory.
Following both sides of the cycle helps explain how purchases eventually affect inventory, liabilities, revenue, receivables, and profit.
Returns reverse or adjust part of the original transaction, but the precise entry depends on the inventory system and how the original transaction was recorded.
Suppose inventory purchased on credit is returned to the supplier.
Under a perpetual inventory system:
The liability to the supplier falls and Inventory is reduced.
Under a periodic system, the credit would normally be recorded in a Purchase Returns and Allowances account instead of directly reducing Inventory.
For a sales return, the seller typically reverses the relevant customer balance or cash and recognizes the reduction in sales through an appropriate sales-return account.
Where a perpetual inventory system is used and returned merchandise is restored to saleable inventory, an additional entry may debit Inventory and credit Cost of Goods Sold.
The exact treatment can differ where goods are damaged, allowances are granted without a physical return, or different accounts are used under the business's accounting policies.
VAT, GST, sales tax, and similar transaction taxes can add separate accounts to purchase and sales entries.
For a taxable purchase where the tax is recoverable, a conceptual entry may include:
For a taxable sale, the entry may include:
This means the total amount owed by the customer can be greater than the revenue recognized by the seller because part of the amount represents tax collected for the relevant authority.
The actual accounting treatment depends on the jurisdiction, tax-registration status, transaction type, recoverability rules, and applicable legislation.
Businesses should therefore avoid applying one tax journal-entry template universally. A tax charged on one purchase may be recoverable, partly recoverable, non-recoverable, exempt, zero-rated, or subject to another treatment depending on the circumstances.
A journal entry is not the end of the accounting process.
The basic flow is:
Transaction → source document → journal entry → general ledger → trial balance → financial statements
Suppose a supplier sends an invoice for inventory purchased on credit. The invoice provides the source information for the accounting transaction. The resulting entry affects Inventory or Purchases and Accounts Payable, and those amounts ultimately appear in the relevant ledger accounts.
In a traditional special-journal system, repeated transactions can first be grouped into journals such as the purchases journal or sales journal. Totals are then posted to the general ledger, while supplier- or customer-level details can be maintained in subsidiary ledgers.
Modern accounting systems usually automate much of this process, but the underlying accounting logic remains the same.
HAL's accounting cycle guide explains how transactions move from identification and journal entries through the general ledger, trial balance, adjustments, and financial statements.
Many journal-entry errors come from applying a memorized debit-credit rule without first understanding the transaction.
Common mistakes include:
The final point is fundamental. HAL's Journal Entry documentation also states that total debit and total credit in a journal entry must always be equal.
Balanced debits and credits do not guarantee that an entry is correct, however. The correct accounts, amounts, dates, and transaction classification still need to be used.

Modern accounting and ERP software reduces the need for accountants to create every purchase or sales entry manually.
Instead, the user often records the business transaction that produced the accounting event.
A purchase workflow might look like:
Purchase order → goods received → purchase invoice → supplier payable → payment
A sales workflow might look like:
Quotation/order → sales invoice → customer receivable → receipt
The system can then create the relevant accounting postings according to its configuration.
HAL Accounting currently provides automated journal entries, ledger management, accounts receivable and payable workflows, invoicing, bank reconciliation, and financial reporting.
HAL's Purchase Invoice documentation also documents purchase invoices created either from purchase orders or independently, supplier payables, and an option to create related stock movement where configured.
HAL's journal-entry documentation notes that major accounting activities are generally posted automatically in the system, with direct manual journal entries used more selectively for activities such as corrections or opening-balance migration.
Automation reduces repeated manual posting, but the accounting setup still needs appropriate accounts, tax configuration, inventory methods, and transaction workflows.
Purchase and sales entries are fundamental because they affect cash, inventory, supplier liabilities, customer receivables, revenue, expenses, and ultimately the financial statements.
Understanding the debit-credit logic remains important even when software creates the postings automatically. It allows finance teams to review transactions, investigate unusual balances, and identify incorrect classifications more effectively.
HAL Accounting connects journal entries with invoicing, receivables, payables, ledgers, reconciliation, and financial reporting within the wider ERP environment.
If you want to explore how HAL can automate accounting workflows across your business, book a demo with HAL.
It depends on what is purchased and how the business pays. The appropriate asset, inventory, or expense account is normally debited, while Cash is credited for an immediate payment or Accounts Payable is credited for a credit purchase.
For a cash purchase, debit the relevant asset, expense, Inventory, or Purchases account and credit Cash or Bank. The exact debit depends on what was purchased and, for inventory, whether the business uses perpetual or periodic accounting.
A credit purchase generally debits the appropriate asset, expense, Inventory, or Purchases account and credits Accounts Payable because the supplier has not yet been paid.
When a Purchases account is used under a periodic inventory system, purchases of merchandise normally increase it with a debit. Returns and discounts may be recorded through separate contra-purchase accounts.
A cash sale normally debits Cash and credits Sales Revenue. A credit sale normally debits Accounts Receivable and credits Sales Revenue. Under a perpetual inventory system, the sale of merchandise also normally requires an entry to debit Cost of Goods Sold and credit Inventory.
One entry records the revenue from the customer transaction. The second records the cost of the inventory that was sold and removes that cost from Inventory.
A purchase entry is the accounting entry for a particular purchase. A traditional purchases journal is a special journal used to group recurring purchases on credit, particularly merchandise inventory purchases.
Many modern accounting and ERP systems generate ledger postings automatically when users record source transactions such as purchase invoices, sales invoices, receipts, or payments. The exact postings depend on the software configuration and the accounting rules used by the business.