Learn how to accurately record sales transactions, from simple cash sales to complex credit sales, discounts, and returns, ensuring your financial statements are correct.

Recording a sale is the primary way your business documents incoming revenue. Getting it wrong can lead to skewed financial statements, incorrect tax filings, and poor business decisions. This guide will walk you through exactly how to record sales accurately, covering a simple cash transaction and progressing to more complex scenarios like sales on credit, sales tax, and returns.
Before creating a journal entry, it's important to understand the basics of double-entry accounting. Every transaction affects at least two accounts. One account is debited, and another is credited, and the total debits must always equal the total credits.
Here’s how debits and credits affect the core types of accounts:
Understanding this framework is the key to creating any journal entry correctly, especially for sales.
This is the most straightforward transaction. A customer pays you in full at the moment of the sale. This is common in retail, e-commerce, and restaurants.
Let's use an example: A bookstore sells a novel for $20 cash.
Here’s the step-by-step process:
The resulting journal entry looks like this:
Date
Account
Debit
Credit
YYYY-MM-DD
Cash
$20
Sales Revenue
$20
To record cash sale of one book.
Your business is now $20 richer in cash, and you’ve properly recognized $20 in earned revenue for the period.
Most B2B businesses and service providers operate on an accrual basis, meaning they recognize revenue when it's earned, not necessarily when cash is received. When you send an invoice to a client, you are making a sale on credit.
This process has two steps: recording the initial sale and recording the eventual payment.
Let's say a marketing consulting firm completes a project for a client and sends an invoice for $2,500 with payment due in 30 days.
The journal entry at the time of invoicing is:
Date
Account
Debit
Credit
YYYY-MM-DD
Accounts Receivable
$2,500
Service Revenue
$2,500
To record invoice #101 issued to Client A.
You have now correctly recognized the revenue in the period you earned it, even without the cash in hand.
Three weeks later, the client pays the $2,500 invoice in full.
The journal entry when you receive payment is:
Date
Account
Debit
Credit
YYYY-MM-DD
Cash
$2,500
Accounts Receivable
$2,500
To record payment received for invoice #101.
After this entry, your Accounts Receivable balance for this specific invoice is zero, and your cash is correctly recorded.
Start using Feather now and get audit-ready answers in seconds.
Real-world sales are rarely as simple as the examples above. Here is how to handle common variables.
Sales tax isn't revenue; it's money you collect on behalf of the government that you must later remit. You hold it as a liability until you pay it.
Let's go back to our bookstore. This time, the $20 book is sold in a state with a 5% sales tax. The total collected from the customer is $21 ($20 + $1 sales tax).
The entry is:
Date
Account
Debit
Credit
YYYY-MM-DD
Cash
$21
Sales Revenue
$20
Sales Tax Payable
$1
To record cash sale with sales tax.
If you offer early payment discounts (e.g., "2/10, n/30," which means a 2% discount if paid in 10 days, otherwise the full amount is due in 30), you record this discount in a separate account. This is a "contra-revenue" account, as it reduces your gross sales.
Suppose our marketing consultant offered these terms on their $2,500 invoice, and the client paid within 10 days, taking a 2% ($50) discount. They pay a total of $2,450.
This allows you to track how much revenue you're forgoing for early payments.
Similar to discounts, returns are recorded in a separate contra-revenue account called Sales Returns and Allowances. This is a good practice because it keeps track of problematic products or services without completely erasing the original sale from your records.
For example, if a customer returns a $20 book for a cash refund, the entry would be:
Date
Account
Debit
Credit
YYYY-MM-DD
Sales Returns and Allowances
$20
Cash
$20
To record customer return of one book.
Understanding the manual journal entries is the best way to grasp what's happening in your books. However, in practice, most businesses don't write them by hand. Software like QuickBooks Online, Xero, or Wave automates this entire process.
Even when using these powerful tools, knowing the underlying accounting helps you identify errors, understand your financial reports, and stay in full control of your company's financial story.
Properly recording sales is a non-negotiable part of financial accounting. Whether it is a simple cash receipt or a complex invoiced sale with taxes and discounts, the logic of debits and credits ensures your books remain balanced and your reports reflect the true performance of your business.
As your business scales, correctly categorizing revenue and managing obligations like state-specific sales tax becomes more complex. Questions about revenue recognition standards or determining taxability in new jurisdictions can quickly stop a bookkeeper in their tracks. We built Feather AI to provide instant, citation-backed answers to these types of tax and accounting questions, drawn directly from IRS guidance and state tax codes, so you can solve complex issues in seconds.
Written by Feather Team
Published on January 7, 2026