June 16, 2026

How to record sales journal entries, with examples

Sales journal entries help you track the money coming into your business. These records capture key details about each sale, making it easier to stay compliant with regulations and maintain a clear record of your financial activities.

Keeping good sales records matters whether you run a small business or a large company. These entries form the foundation for tracking your revenue, supporting your day-to-day operations and long-term financial planning.

What is a sales journal entry?

Sales journal entries are accounting records that document when you sell products or services. They capture physical goods and services, creating a formal record of all your revenue-generating activities.

Each journal entry creates a chronological record of your sales, regardless of how customers pay. Whether they pay immediately or on credit, every transaction is recorded consistently, giving you a verifiable trail for auditors and analysts.

Effective sales journal entries help you track your total revenue, monitor outstanding customer balances, and feed accurate sales data into your financial statements. This information appears on your income statements to show revenue performance and on your balance sheets through cash and receivables accounts.

Are sales debit or credit?

Sales revenue is a credit. When you record a sale, you credit your Sales Revenue account because revenue increases on the credit side under double-entry accounting. The corresponding debit goes to Cash (for a cash sale) or Accounts Receivable (for a credit sale).

Sales discounts are a debit. When you offer a customer a discount, you debit Sales Discounts, a contra-revenue account that reduces your total revenue. This distinction matters if you're wondering whether a sales discount is a debit or credit in your sales accounting entry.

Sales returns also hit the debit side as a contra-revenue entry. You debit Sales Returns and Allowances to reduce revenue when a customer returns a product or receives a price reduction after the original sale.

Transaction typeDebit accountCredit account
Cash saleCashSales Revenue
Credit saleAccounts ReceivableSales Revenue
Sale with discountAccounts Receivable, Sales DiscountsSales Revenue
Sales returnSales Returns and AllowancesAccounts Receivable

Components of a sales journal entry

Every sales journal entry includes several key components. Each one helps create a complete, auditable record that meets your internal and external needs.

  • Date of the transaction: Shows when the sale happened, placing it in the correct accounting period and helping you track sales trends
  • Invoice number: Gives each transaction a unique identifier, making it easy to cross-reference
  • Customer name or ID: Identifies who bought from you, connecting sales data to customer records and helping track accounts receivable
  • Sales amount: Shows the total value of goods or services sold before taxes or discounts
  • Applicable sales tax: Records any tax you collected based on relevant rates and jurisdictions
  • Accounts receivable or cash entry: Shows which asset account increases, depending on whether payment was immediate or on credit
  • Revenue or sales account entry: Identifies which income account receives credit, which may vary by product line or service type
ComponentExplanationExample value
DateWhen the transaction occurredJun 5, 2026
Account namesGeneral ledger accounts affected by the entryCash, Sales Revenue
Debit amountDollar amount debited to the asset or expense account$500
Credit amountDollar amount credited to the revenue or liability account$500
Description/memoBrief note identifying the transactionInvoice #1042, retail sale

Types of sales journal entries

Sales journal entries fall into two categories based on when you receive payment: cash sales and credit sales.

Cash sales

Cash sales happen when customers pay at the time of purchase. This includes cash payments, checks, credit and debit card payments, and immediate electronic transfers.

Cash sales boost your liquidity right away because the funds are immediately available. You record these transactions directly to your cash account, simplifying your accounting process. You don't need to track collections or accounts receivable, and there's no risk of default.

Credit sales

Credit sales occur when you provide goods or services but expect payment later. You issue an invoice with specific payment terms, usually ranging from 15 to 90 days.

In a credit sales journal entry, you record the sale immediately, creating an accounts receivable asset. Cash comes in later when the customer pays. This delay means you need to carefully track amounts owed and monitor payment due dates to manage your cash flow effectively.

How to record a sales journal entry step by step

Recording sales journal entries correctly keeps your financial tracking accurate. This process works for both cash and credit sales:

  1. Determine if the sale is cash or credit: Check the payment method. This affects how you record the transaction: a credit sales journal entry uses accounts receivable (AR) instead of cash.
  2. Write the journal entry date: Use the actual transaction date to place it in the correct accounting period
  3. Assign a unique invoice number and note the customer: These details create traceability and make future reconciliations easier
  4. Calculate the total sales amount, including taxes: List product or service prices and apply the correct tax rate. Separating the base amount from sales tax helps with clean, compliant reporting.
  5. Debit accounts receivable or cash: This reflects the increase in assets from the sale: incoming cash for cash sales or amounts owed for credit sales
  6. Credit the revenue or sales account: Record the income you earn from the transaction. Accurate revenue recognition gives you a clear picture of your financial health.
  7. Credit the sales tax payable account (if applicable): Set aside the tax portion as a liability you'll remit to tax authorities later
  8. Post the journal entry to the general ledger: Finalize the transaction in your accounting system. Review all account selections and amounts for accuracy.

Sales journal entry examples

Different sales scenarios call for different journal entry treatments. The way you record a cash sale, a credit sale, and a discounted sale each affects different accounts on your books.

Cash sale with sales tax

Your retail store sells $200 of merchandise and collects $16 in sales tax (8%). The customer pays with a credit card that processes immediately.

AccountDebitCredit
Cash$216
Sales revenue$200
Sales tax payable$16

This entry increases your cash by the total collected and separates revenue from the tax liability.

Credit sale without sales tax

Your consulting firm delivers $3,000 worth of services to a client in a jurisdiction where no tax applies. The payment is due within 45 days.

AccountDebitCredit
Accounts receivable$3,000
Service revenue$3,000

You recognize revenue immediately, and accounts receivable will convert to cash when paid.

Sale with a discount applied

Your wholesale company sells $5,000 worth of products to a retailer and applies a 10% volume discount, bringing the final price to $4,500. The sale is on credit, with payment due in 30 days.

AccountDebitCredit
Accounts receivable$4,500
Sales revenue$4,500

The entry reflects the discounted amount you'll collect. Some businesses may record the full amount and a separate sales discount journal entry for detailed tracking.

Special considerations for sales journal entries

Some sales situations are more complex and require additional accounting steps. Sales tax, inventory, and customer dispute scenarios each require additional accounting steps to stay compliant.

Sales tax

You should record sales tax whenever you sell taxable goods or services in jurisdictions where you must collect tax. You typically recognize tax liability at the time of sale, not when you remit the tax.

Example: A local customer makes a purchase of $100 with an 8% sales tax.

  • Debit: Cash $108
  • Credit: Sales revenue $100
  • Credit: Sales tax payable $8

Example: A tax-exempt organization makes a purchase and provides a valid exemption certificate.

  • Debit: Cash $100
  • Credit: Sales revenue $100
  • (Note: No tax entry required, but keep the exemption certificate on file)

Example: An out-of-state customer makes a purchase where no nexus exists (meaning the business doesn't have a tax obligation in that state).

  • Debit: Cash $100
  • Credit: Sales revenue $100
  • (Note: No tax collected, but document customer location)

Cost of goods sold

Cost of goods sold (COGS) represents the direct costs of producing or purchasing the goods you sell. When recording sales, it's important to recognize COGS alongside revenue to match expenses with income and reflect profitability.

Example: A customer purchases a product for $200, and the item costs your business $120.

This sale requires two accounting entries:

1. Revenue entry (records income)

Debit: Cash or accounts receivable $200
Credit: Sales Revenue $200

2. COGS entry (reflects the cost of the item sold)

Debit: Cost of goods sold $120
Credit: Inventory $120

Accurate COGS records help you calculate gross profit margins, set pricing strategies, and maintain proper inventory valuation.

Inventory management

Sales transactions directly affect your inventory levels. Each sale should trigger a reduction in inventory quantities and values to keep your stock records and financial reporting accurate.

Example: A customer purchases a product for $300, and the item costs your business $230.

Similar to the COGS example, this sale triggers two accounting entries:

  1. Sales entry (records revenue)

Debit: Cash or accounts receivable $300
Credit: Sales revenue $300

  1. Inventory reduction entry

Debit: Cost of goods sold $230
Credit: Inventory $230

Perpetual inventory systems automatically update your records with each sale, giving you accurate stock levels without manual counts. This is especially helpful if you have high transaction volumes or multiple locations.

Credit card fees and bad debt

Some transactions require special accounting treatment. For instance, credit card sales involve processing fees that reduce the actual cash you receive. On the other hand, customer defaults may require writing off uncollectible credit sales as bad debt.

Example: A customer pays $100 via credit card with a 3% processing fee.

  • Debit: Cash $97
  • Debit: Credit card expense $3
  • Credit: Sales revenue $100

Example: A customer pays $100 with credit and later defaults on the payment.

Larger transactions make the cost of credit card fees more significant. A $1,000 sale with a 2.9% processing fee:

  • Debit: Cash $971
  • Debit: Credit card expense $29
  • Credit: Sales revenue $1,000

Bad debt write-offs scale with the size of the receivable. If a customer defaults on a $500 invoice:

  • Debit: Bad debt expense $500
  • Credit: Accounts receivable $500

Tracking these entries separately helps you monitor the true cost of accepting card payments and gauge your exposure to credit risk.

Sales returns and allowances

A sales return happens when a customer sends back a product for a refund or exchange, while a sales allowance is a price reduction given after the sale without returning the product. Both reduce your total revenue and require proper documentation. Returns impact both revenue and inventory, but allowances only affect financial records.

Example: A customer makes a $500 purchase and returns the product.

  • Debit: Sales returns and allowances $500
  • Credit: Accounts receivable $500
  • Debit: Inventory $300
  • Credit: Cost of goods sold $300

Example: A customer receives a partial $100 refund for a product defect.

  • Debit: Sales returns and allowances $100
  • Credit: Accounts receivable $100

Common mistakes to avoid with sales journal entries

The most common sales journal entry mistakes involve misclassified accounts, missing tax records, and unreconciled deposits. Knowing what to watch for helps you prevent errors that throw off your numbers or lead to compliance problems.

Mixing up cash and credit sales

Recording cash and credit sales in the same way can throw off your cash flow and accounts receivable. It's an easy mistake, especially when entering transactions in bulk. You can avoid confusion by clearly marking payment types and using separate forms or entry methods when possible.

Forgetting to record sales tax

If you forget to include sales tax, you risk underreporting your tax liability and incurring penalties. This often happens in businesses with inconsistent tax practices or untrained staff. Consider using automated tax calculation tools and make a habit of checking your sales and tax records regularly.

Debiting or crediting the wrong accounts

Entering a sale into the wrong account can skew your financial statements and require cleanup work later. Reduce the risk by using templates, limiting account access, and regularly reviewing entries.

Failing to reconcile sales entries to bank deposits

If your sales recordings don't match what's in the bank, your numbers won't line up. This often happens when different staff handle sales and banking. You can work around this by implementing daily reconciliations and quickly investigating any mismatches.

Close your books faster with Ramp

Month-end close is stressful, but it doesn't have to be. Ramp's AI-powered accounting tools handle everything from transaction coding to enterprise resource planning (ERP) sync, so you close faster every month with fewer errors, less manual work, and full visibility.

Ramp codes every transaction in real time, reviews it automatically, and matches it with receipts and approvals behind the scenes. It flags what needs human attention and syncs routine, in-policy spend so you can move fast and stay focused all month long. When it's time to wrap, Ramp posts accruals, amortizes transactions, and reconciles with your accounting system so tie-out is smoother and books are audit-ready in record time.

Ramp handles the routine work across every stage of your month-end close:

  • AI codes in real time: Ramp learns your accounting patterns and applies your feedback to code transactions across all required fields as they post
  • Auto-sync routine spend: Ramp identifies in-policy transactions and syncs them to your ERP automatically, so review queues stay manageable, targeted, and focused
  • Review with context: Ramp reviews all spend in the background and suggests an action for each transaction, so you know what's ready for sync and what needs a closer look
  • Automate accruals: Post (and reverse) accruals automatically when context is missing so all expenses land in the right period
  • Tie out with confidence: Use Ramp's reconciliation workspace to spot variances, surface missing entries, and ensure everything matches to the cent

Try an interactive demo to see how businesses close their books 3x faster with Ramp.

Try Ramp for free
Share with
Ali MerciecaFormer Finance Writer and Editor, Ramp
Prior to Ramp, Ali worked with Robinhood on the editorial strategy for their financial literacy articles and with Nearside, an online banking platform, overseeing their banking and finance blog. Ali holds a B.A. in Psychology and Philosophy from York University and can be found writing about editorial content strategy and SEO on her Substack.
Ramp is dedicated to helping businesses of all sizes make informed decisions. We adhere to strict editorial guidelines to ensure that our content meets and maintains our high standards.

FAQs

For a cash sale, debit Cash and credit Sales Revenue. For a credit sale, debit Accounts Receivable and credit Sales Revenue. If the sale includes sales tax, credit Sales Tax Payable separately. The exact accounts depend on whether you use cash or accrual accounting.

If you sell $1,000 of goods for cash, you'd debit Cash for $1,000 and credit Sales Revenue for $1,000. If the sale is on credit, replace Cash with Accounts Receivable. Add a credit to Sales Tax Payable if tax applies.

The five most common are: (1) cash sale, (2) credit sale, (3) sale with sales tax, (4) sale with a discount, and (5) sales return or allowance. Each uses different debit and credit accounts depending on the transaction terms.

A sales journal records only revenue-generating transactions—cash and credit sales. A general journal records all other transactions that don't fit into specialized journals, like adjusting entries, closing entries, and non-routine transactions.

Yes. When you collect sales tax, credit a Sales Tax Payable liability account for the tax amount. The customer's total payment gets debited to Cash or Accounts Receivable, and the pre-tax sale amount gets credited to Sales Revenue.

Browserbase builds infrastructure so AI agents can do real work. Ramp is doing the same for finance. It’s not another tool. It’s a system purpose-built for AI-driven finance, and that’s why we chose Ramp as our financial operating system from day one.

Paul Klein IV

Founder & CEO, Browserbase

How the startup that helped design Ramp’s procurement agent automated its own procure-to-pay

We used to pay up to $20k a year for our AP platform. With Ramp, we’re earning back well over that amount. That's money that belongs to the mission now, not to the back-office software.

Heidi Coffer

Chief Financial Officer, Boys & Girls Clubs of San Francisco

Boys & Girls Clubs of San Francisco used to pay for their finance software — now it pays them

The tricky thing about corporate travel policy is timing. We didn't need a stricter policy. We needed the policy to show up earlier. With Ramp Travel, it finally does.

Keith Frantz

Director of Enterprise Risk Management, Prosper

When Prosper put policy into its corporate travel booking flow, costs fell 15% and finance reclaimed a week every month

We're accountable to our funders, our partners, and the families we serve. That accountability starts with how we manage every dollar. Ramp makes it easy for our team to spend wisely, track in real time, and keep overhead low so more resources reach the families navigating infertility.

Rachel Fruchtman

CFO, Jewish Fertility Foundation

Jewish Fertility Foundation reclaimed 11 work weeks and put more time into serving families

Each member of our team has an outsized impact due to our focus on using high-leverage tools like Ramp.

Lauren Feeney

Controller, Perplexity

How Perplexity's finance team of 10 scales one of the fastest-growing AI startups

With Ramp, we haven’t had to add accounting headcount to keep up with growth. The biggest takeaway is that instead of hiring our way through it, we fixed the workflow so we can keep supporting the organization as we scale.

Melissa M.

VP of Accounting at Brandt Information Services

Brandt grew finance operations 3x with zero added accounting headcount

In the public sector, every hour and every dollar belongs to the taxpayer. We can't afford to waste either. Ramp ensures we don't.

Carly Ching

Finance Specialist, City of Ketchum

City of Ketchum saves 100+ hours to make every taxpayer dollar count

Compared to our previous vendor, Ramp gave us true transaction-level granularity, making it possible for me to audit thousands of transactions in record time.

Lisa Norris

Director of Compliance & Privacy Officer, ABB Optical

From 2 months to 2 days: ABB Optical's Sunshine Act compliance breakthrough