Journal entry for a sale on account
Illustrative company · Accrual basis · USD · May – June 2026
The worked example
On May 8, 2026 a distributor ships $7,500 of goods that cost $4,800 on Net 30 terms, due June 7, 2026. Gross profit is $2,700: a 36% margin, or a 56.3% markup on cost.
Transaction · May 8, 2026
JE-1 8 May 2026 Manual posted
Ship the goods and invoice the customer.
Read-onlyBalanced
Transaction · June 7, 2026
JE-2 7 Jun 2026 Manual posted
Collect the invoice on its due date.
Read-onlyBalanced
What the entries do to the accounts
Every entry above posted to the ledger, starting from zero balances: the net debit or credit each account is left with. Debits equal credits, so the books still balance.
| Account | Debit | Credit |
|---|---|---|
| 1000 Cash | 7,500 US Dollar | |
| 1200 Inventory | 4,800 US Dollar | |
| 4000 Revenue | 7,500 US Dollar | |
| 5000 Cost of goods sold | 4,800 US Dollar | |
| Totals | 12,300 US Dollar | 12,300 US Dollar |
One account nets to zero across the entries and is not shown.
Why it is booked this way
A credit sale is two exchanges booked together. The customer receives goods in return for a promise to pay (revenue and a receivable), and the company gives up inventory, which becomes the cost of that revenue.
Booking both halves on the same date keeps gross margin right month by month. Otherwise the cost lands whenever the next stock count happens.
Common mistakes
- Recording revenue and forgetting the cost-of-goods-sold entry, so gross margin looks like 100% until a stock count.
- Booking the sale when the cash arrives rather than when the goods are delivered.
Questions
- When is revenue recognized on a credit sale?
- When control of the goods passes to the customer, usually on shipment or delivery as the contract's terms say. The invoice date and the payment date don't decide it.
- Where does the margin show up?
- Gross margin is the profit as a share of the price; markup is the same profit as a share of the cost. The entry records cost and price; both percentages are computed from them.
Terms on this page
The lessons that teach this
From the free founder back-office course: each lesson is taught on one company's books, with the authority behind every rule.
- Recording the monthFourteen things happened to Northwind in September. Here is each one as an entry, with the reasoning behind it.12 min
- Revenue recognition and deferred revenueThe five steps of ASC 606 on Northwind's October: a deposit earned on delivery, and a bundle split into a kit sold today and servicing earned monthly.12 min
Work with this entry
The tool that computes the schedule, the concept behind it, the entries that come next and the components that render them.
- Margin & markupMargin is profit over price; markup is profit over cost. Solve either way. Put your own figures in and get the schedule behind this entry.
- Accounts receivable, explained for foundersMoney customers owe you for work you've delivered and invoiced but haven't been paid for yet. It's an asset.
- Debit vs creditDebit means the left side of an account and credit the right. Whether that's an increase depends on the account: debits raise assets and expenses and lower liabilities, equity and revenue, and credits do the reverse.
- Accounts payable vs accounts receivableAccounts payable is what the company owes its suppliers, and it sits with the liabilities. Accounts receivable is what customers owe the company, and it sits with the assets.
- Journal vs general ledgerThe journal records each transaction as a complete entry, in date order. The general ledger regroups the same lines by account so each account shows a running balance.
- Journal entry for sales tax collectedWhen a taxable sale is made, debit Cash or Accounts receivable for the total charged, credit Revenue for the price and credit Sales tax payable for the tax. When the return is filed, debit Sales tax payable and credit Cash.
- Journal entry for an inventory purchaseWhen inventory is bought on credit under a perpetual system, debit Inventory and credit Accounts payable. If an early-payment discount is taken, debit Accounts payable for the full bill, credit Cash for what is paid and credit Inventory for the discount.
- Journal entry for bad debt expenseUnder the allowance method, at each period-end debit Credit loss expense (bad debt expense) and credit Allowance for credit losses for the amount needed to bring the allowance to the expected loss on open receivables.
- InvoiceFormWith the revenue-recognition preview per line.
- JournalEntryDebit and credit as two columns. No signed-column variant.
An illustrative company, not anyone’s real books. Every figure on this page is computed from the inputs in the example and posted by the same functions as the journal entry balancer. General information, not tax, legal or accounting advice. Check with a CPA before you act on it.