// google //
E-Commerce Accounting · Online Sales · Payment Gateway · GST TCS

Journal Entry for
Online Sales (Cash) — E-Commerce

The world's most complete accounting guide for e-commerce cash sales — covering payment gateway receipts, GST on online sales, platform commissions, TCS deductions by Amazon & Flipkart, refunds, chargebacks, and month-end bank reconciliation. With fully worked entries and an interactive classroom.

Payment Gateway Accounting GST on Online Sales Amazon / Flipkart / Shopify GST TCS — Section 52 Refund & Chargeback Entries E-Commerce Reconciliation
01 — Concept

What Makes E-Commerce Accounting Different?

Unlike a brick-and-mortar cash sale (where cash lands in a drawer immediately), an online sale goes through a 3-party pipeline: the customer pays the payment gateway (Razorpay, PayU, Stripe), the platform may deduct its commission, and a net settlement arrives in your bank 1–7 days later. This delay — plus GST obligations, TCS deductions, and platform fees — creates unique accounting complexity that this guide demystifies completely.

3
Parties in every online sale — You, Gateway / Platform, Customer
1%
GST TCS collected by e-commerce operators (Section 52 CGST)
T+1
to T+7 settlement cycle — recognition vs cash timing gap
4
Journal entry scenarios — Sale, Settlement, Refund, Chargeback
📌 The Core Accounting Principle: Revenue is recognised when the sale is confirmed (order placed and payment authorised) — NOT when cash hits your bank. This is the Accrual Basis / Revenue Recognition Principle (Ind AS 115 / AS 9). The gap between sale confirmation and bank settlement creates a Payment Gateway Receivable — a current asset — which is cleared when the gateway remits.
✅ Two Accounting Models: (A) Gross Method — Record full sale, then separately record gateway charges as an expense. (B) Net Method — Record only the net receipt after gateway fees. Indian CA practice and Ind AS 115 prefer the Gross Method for better transparency of revenue and expenses. This guide uses the Gross Method throughout.
02 — Money Flow

The E-Commerce Money Flow — 5 Stages

Understanding where money sits at each stage is the foundation of e-commerce accounting. The moment a customer clicks "Pay," the money starts a journey through multiple hands before reaching your bank account.

STAGE 01
Customer Pays
Customer pays via UPI / Card / Net Banking / Wallet. Payment gateway (Razorpay, Stripe, PayU) captures the funds. Revenue is recognised HERE under accrual basis.
STAGE 02
Gateway Holds
The gateway holds the amount in its settlement pool. For direct integration (Shopify/WooCommerce), you hold the receivable. For marketplace (Amazon), the platform holds it.
STAGE 03
Deductions Made
Gateway fee / platform commission deducted (typically 1–3%). TCS @ 1% deducted by marketplace operators (Amazon, Flipkart) under Section 52 CGST.
STAGE 04
Net Settlement
Net amount after deductions is transferred to your bank account (T+1 to T+7). Marketplace settlements may be weekly. This clears the Gateway Receivable.
STAGE 05
GST Filing
Declare sales in GSTR-1. Claim TCS credit in GSTR-3B. Pay GST net of TCS received. File monthly or quarterly depending on turnover threshold.
03 — Case Study: Basic Online Cash Sale

Case Study 1: Direct Website Sale via Payment Gateway

This is the most common scenario — you sell directly from your own website (Shopify, WooCommerce) integrated with Razorpay or Stripe. The customer pays instantly; the gateway settles net-of-charges in 1–2 working days.

FACTS OF THE CASE
Zerolev Gadgets — Direct Website Sale

Zerolev Gadgets sells a ₹10,000 smartphone online. GST @18% = ₹1,800. Customer pays ₹11,800 via Razorpay. Razorpay charges 2% + 18% GST on that fee = ₹200 + ₹36 = ₹236 total gateway charge. Razorpay settles ₹11,564 (₹11,800 − ₹236) to bank after 2 working days.

Entry 1A: At Time of Sale — Record Revenue & Gateway ReceivableRevenue Recognition (Ind AS 115)
AccountDr/CrDebit (₹)Credit (₹)
Payment Gateway Receivable A/c (Razorpay)Dr11,800
To Sales / Revenue A/cCr10,000
To GST Payable A/c (IGST / CGST+SGST)Cr1,800
Total11,80011,800
Being online sale of smartphone recorded on date of order confirmation. Revenue (₹10,000) and GST liability (₹1,800 @ 18%) are recognised. Payment Gateway Receivable A/c is a current asset representing money due from the gateway. Revenue is NOT deferred — control has passed to buyer.
Entry 1B: On Receipt of Net Settlement from Razorpay (after 2 days)Bank Settlement — Gross Method
AccountDr/CrDebit (₹)Credit (₹)
Bank A/cDr11,564
Payment Gateway Charges A/c (Commission Expense)Dr200
Input Tax Credit (GST on Gateway Charges)Dr36
To Payment Gateway Receivable A/c (Razorpay)Cr11,800
Total11,80011,800
Being settlement received from Razorpay. Net of ₹11,564 credited to Bank. Gateway commission ₹200 debited as expense. GST paid on the commission (₹36) is an Input Tax Credit (ITC) — claimable in GSTR-3B. Gateway Receivable A/c is now fully cleared (₹0 balance).
🔑 Why Separate Gateway Charges? Recording gateway commission as a separate expense (not netted against revenue) is essential for: (a) accurate turnover reporting in GSTR-1 and income tax; (b) claiming ITC on the GST paid on gateway fees; (c) proper profitability analysis by product line. Never report net revenue of ₹11,564 in GSTR-1 — always report gross ₹10,000 + GST ₹1,800.
04 — Payment Gateway Accounting: All Scenarios

Payment Gateway Accounting — Complete Scenarios

Different payment modes (UPI, credit card, EMI, BNPL) may carry different gateway charges. Here is how to account for the most common scenarios encountered by Indian e-commerce sellers.

01
UPI / NET BANKING
Low-Cost Payment Mode
Razorpay charges 0% for UPI (currently). Gateway receivable = full invoice value. Settlement = full amount. No commission expense entry for UPI orders.
02
CREDIT / DEBIT CARD
Standard MDR Charges
Merchant Discount Rate (MDR) typically 1.5–2.5% + 18% GST. Gateway receivable = full invoice value. Commission expense = MDR × value. ITC on GST portion of MDR.
03
EMI / BNPL
Higher Processing Fee
EMI / Buy Now Pay Later often carry 2.5–4% gateway charges. Subvention (EMI cost absorbed by seller) = additional expense. Account separately as "EMI Subvention Expense."
04
COD (CASH ON DELIVERY)
Logistics Partner Collects
No gateway. Logistics partner collects cash and remits COD proceeds (less delivery charge + COD handling fee). Dr Logistics Receivable A/c at time of dispatch. Dr Bank on COD remittance.
05 — Case Study: Amazon / Flipkart Marketplace Sale

Case Study 2: Selling on Amazon / Flipkart Marketplace

Marketplace selling adds two critical differences: (a) the platform charges a referral commission (typically 5–15% of selling price), and (b) the platform deducts 1% GST TCS under Section 52 CGST before remitting to you. Both must be accounted for correctly.

FACTS OF THE CASE
Zerolev Electronics — Amazon Marketplace Sale

Customer orders a ₹5,000 headphone on Amazon. GST @18% = ₹900. Customer pays Amazon ₹5,900. Amazon deducts: Referral Commission 10% of ₹5,000 = ₹500, GST on commission @18% = ₹90, TCS 1% of ₹5,000 = ₹50. Amazon remits ₹5,260 (₹5,900 − ₹500 − ₹90 − ₹50) to seller.

Entry 2A: At Time of Confirmed Order — Record SaleMarketplace Revenue Recognition
AccountDr/CrDebit (₹)Credit (₹)
Amazon Marketplace Receivable A/cDr5,900
To Sales / Revenue A/cCr5,000
To GST Payable A/c (Output Tax)Cr900
Total5,9005,900
Being sale of headphone on Amazon Marketplace — revenue ₹5,000 + GST ₹900. Amazon Marketplace Receivable A/c (current asset) represents total amount Amazon owes you before deductions.
Entry 2B: On Amazon Settlement — Record All DeductionsMarketplace Settlement with TCS & Commission
AccountDr/CrDebit (₹)Credit (₹)
Bank A/cDr5,260
Amazon Commission Expense A/cDr500
Input Tax Credit A/c (GST on Commission)Dr90
GST TCS Receivable A/c (Section 52)Dr50
To Amazon Marketplace Receivable A/cCr5,900
Total5,9005,900
Being Amazon settlement received. Bank credited with ₹5,260. Commission ₹500 = expense. ITC on Amazon's GST invoice for commission = ₹90 (claimable). TCS ₹50 = GST TCS Receivable (current asset) — will appear as credit in your GSTR-3B after Amazon files GSTR-8 for the month. Amazon Receivable = ₹0 (cleared).
⚠️ Critical — GST TCS vs Income Tax TDS: Amazon/Flipkart deduct GST TCS at 1% under Section 52 of CGST Act (on taxable value) — this is a GST receivable for you, credited back via GSTR-3B. They do not deduct Income Tax TDS (Section 194-O @ 1% now applicable) unless turnover exceeds the threshold. Both are separate obligations. Do NOT confuse GST TCS with Income Tax TDS.
06 — Case Study: Customer Refund & Return

Case Study 3: E-Commerce Refund & Return Accounting

Refunds are a fact of e-commerce life — especially in fashion and electronics. A refund must reverse the original sale entry, adjust GST output liability, and record the cash outflow. The accounting differs based on whether the original order's GST period is open or closed.

FACTS OF THE CASE
Zerolev Fashion — Customer Returns a ₹2,000 T-shirt

Customer purchased a T-shirt at ₹2,000 + GST @12% (₹240) = ₹2,240 in the current month. Customer initiates return 5 days later; refund is processed via Razorpay back to the customer's original payment method. Full refund of ₹2,240 to be issued.

Entry 3A: Customer Return — Reverse Revenue & GSTSales Return / Credit Note
AccountDr/CrDebit (₹)Credit (₹)
Sales Returns & Allowances A/cDr2,000
GST Payable A/c (Output Tax Reversal)Dr240
To Customer Refund Payable A/cCr2,240
Total2,2402,240
Being return of T-shirt — sales reversed ₹2,000; GST payable reduced by ₹240 (issue credit note in GSTR-1). Customer Refund Payable A/c is a current liability until refund is processed by gateway.
Entry 3B: Processing Refund via Payment GatewayRefund Payment — Cash Outflow
AccountDr/CrDebit (₹)Credit (₹)
Customer Refund Payable A/cDr2,240
To Bank A/c / Payment Gateway A/cCr2,240
Total2,2402,240
Being customer refund processed. The refund liability (Customer Refund Payable) is cleared. Note: Razorpay refund processing charges (if any) must be debited as Gateway Refund Fee Expense separately.
07 — Chargeback Accounting

Case Study 4: Chargeback / Disputed Transaction

A chargeback occurs when a customer raises a dispute with their bank/card issuer. The gateway reverses the funds from your account even before the dispute is resolved. This creates a "Chargeback Receivable" (if you believe you'll win) or an immediate expense (if you accept it).

Entry 4A: Chargeback Raised — Gateway Reverses ₹3,540 from Your AccountChargeback Debit — Disputed
AccountDr/CrDebit (₹)Credit (₹)
Chargeback Receivable A/cDr3,540
To Bank A/cCr3,540
Total3,5403,540
Being chargeback raised by customer. Gateway debits your bank account. Chargeback Receivable A/c is created (current asset) — assuming you intend to dispute and recover. Initiate chargeback dispute with evidence.
Entry 4B(i): Chargeback WON — Gateway Credits Back ₹3,540Dispute Won — Recovery
AccountDr/CrDebit (₹)Credit (₹)
Bank A/cDr3,540
To Chargeback Receivable A/cCr3,540
Total3,5403,540
Dispute won — gateway credits amount back. Chargeback Receivable cleared. Revenue and GST entries from the original sale stand.
Entry 4B(ii): Chargeback LOST — Write Off as Chargeback LossDispute Lost — Expense Recognition
AccountDr/CrDebit (₹)Credit (₹)
Chargeback Loss / Bad Debt Expense A/cDr3,000
GST Payable A/c (Reverse Output Tax on Lost Sale)Dr540
To Chargeback Receivable A/cCr3,540
Total3,5403,540
Chargeback lost — write off as expense. Reverse GST output tax (₹540) since this sale is effectively void. Issue credit note in GSTR-1 for GST reversal. Chargeback Loss is a P&L expense. Consult CA for eligibility of GST reversal on chargeback losses.
08 — GST TCS under Section 52 CGST

GST TCS for E-Commerce Sellers — Section 52 CGST Act

Every e-commerce operator (Amazon, Flipkart, Meesho, Myntra, Swiggy, Zomato) is required to collect Tax Collected at Source (TCS) at 1% of taxable value from sellers and deposit it with the Government. This reduces your receivable but is credited back to you via GSTR-3B. Here is the complete accounting treatment for sellers.

StepWhat HappensYour Accounting EntryGSTN Action
1Amazon deducts TCS @1% at time of settlementDr GST TCS Receivable A/c | Cr Amazon Receivable A/cAmazon files GSTR-8 by 10th of next month
2After Amazon files GSTR-8No new entry — credit auto-appears in your Electronic Cash LedgerGSTN credits ₹50 to your cash ledger
3While filing your GSTR-3BOffset TCS credit against GST payable | Dr GST Payable A/c | Cr GST TCS Receivable A/cCash ledger balance used to pay GSTR-3B liability
4If TCS receivable exceeds GST payableApply for refund of excess TCS under Section 54File GST RFD-01 on GST portal
✅ TCS Reconciliation Best Practice: Every month, reconcile the TCS deducted by each marketplace (from your settlement statements) against the TCS filed in their GSTR-8 (visible in your GSTR-2A / GSTR-2B). If the marketplace has underreported TCS in GSTR-8, you cannot claim credit for it in GSTR-3B — follow up with the marketplace's seller support to get it corrected.
09 — Month-End E-Commerce Reconciliation

Month-End E-Commerce Reconciliation Framework

Month-end reconciliation for e-commerce businesses involves three simultaneous reconciliations — bank statement vs. settlement reports, GSTR-1 vs. order management system, and TCS receivable vs. marketplace GSTR-8 data.

R1
BANK RECON
Bank vs Settlement Report
Match every line in your bank statement against the gateway / marketplace settlement report. Identify timing differences (settlements that cross month end). Ensure no unexplained debits (gateway fees, chargebacks).
R2
GST RECON
GSTR-1 vs OMS Sales Data
Total taxable value in GSTR-1 must match total orders confirmed in your Order Management System. Refunds = credit notes in GSTR-1. GST output payable = GSTR-3B row 3.1(a). Verify IGST vs CGST+SGST split by customer pin code.
R3
TCS RECON
TCS Receivable vs GSTR-2B
TCS deducted by Amazon/Flipkart in settlement statements must match TCS appearing in your GSTR-2B (from their GSTR-8). Discrepancies = chase marketplace. Confirm TCS receivable balance in books matches GSTN cash ledger credit.
R4
P&L RECON
Revenue vs Gateway Statement
Gross sales per books = Gross sales per gateway/marketplace. Commission expense per books = Commission per settlement statements. Any variance = either unrecorded orders or duplicate entries. Always reconcile before GSTR-1 deadline.
Summary — All E-Commerce Journal Entries

Quick Reference — All E-Commerce Journal Entries

TransactionDebitCreditKey Note
Online sale confirmed (any platform)Gateway / Marketplace Receivable A/cSales A/c + GST Payable A/cFull invoice value as Dr
Gateway settlement (net receipt)Bank A/c + Commission Expense + ITC on CommissionGateway Receivable A/cGross Method — ITC claimable on commission GST
Marketplace settlement (Amazon/Flipkart)Bank A/c + Commission + ITC + TCS ReceivableMarketplace Receivable A/cTCS = Section 52 CGST — current asset
Customer return / refundSales Returns A/c + GST Payable A/cCustomer Refund Payable A/cIssue credit note in GSTR-1
Refund paid outCustomer Refund Payable A/cBank A/cClears the liability
Chargeback raised by customerChargeback Receivable A/cBank A/cDispute — pending resolution
Chargeback wonBank A/cChargeback Receivable A/cRecover funds; original sale stands
Chargeback lostChargeback Loss A/c + GST Payable A/cChargeback Receivable A/cReverse GST; issue credit note
TCS credit used in GSTR-3BGST Payable A/cTCS Receivable A/cOffset in cash ledger on GST portal
COD — dispatchLogistics Receivable A/c (COD)Sales A/c + GST Payable A/cRevenue on dispatch / delivery confirmation
COD — remittance receivedBank A/c + COD Handling ExpenseLogistics Receivable A/cNet of COD charges; ITC on courier GST invoice
10 — Interactive Classroom

Accounts School — E-Commerce Journal Entries Interactive Classroom

Step into the virtual accounting classroom. Navigate through 6 animated lessons covering online sales accounting — from the basic sale entry to TCS, chargebacks, and reconciliation — with live quizzes, teacher narration, and interactive notes.

🛒
Accounts School
E-COMMERCE ACCOUNTING · ONLINE SALES · ZEROLEV

Step into a virtual classroom! Learn e-commerce journal entries, payment gateway accounting, TCS, refunds, and reconciliation with an animated teacher, interactive blackboard, live quizzes, and voice narration.

Accounts School
E-COMMERCE SALES ACCOUNTING
Beginner – Intermediate
LESSON 1 / 6
📌 Today
E-Commerce Sales
00:00
⭐ Stars
0 stars
Welcome class! Let's master E-Commerce Accounting! 🛒
📚 Lessons
📝 Notes
🎯 Quiz
LESSON 1 OF 6
🎓
Class Dismissed!

Excellent! You completed all 6 lessons on E-Commerce Accounting. You now understand payment gateway entries, TCS, refunds, chargebacks, and reconciliation. Go dominate your e-commerce books! 🛒

6
LESSONS
0
QUIZ SCORE
11 — FAQ

Frequently Asked Questions

What is the journal entry for an online cash sale via Razorpay?
There are two entries. At time of sale: Dr Payment Gateway Receivable A/c (full invoice value including GST) | Cr Sales A/c (net of GST) | Cr GST Payable A/c (GST amount). At settlement (after 1–2 days): Dr Bank A/c (net received) | Dr Gateway Commission Expense A/c (Razorpay fee) | Dr ITC A/c (GST on Razorpay fee) | Cr Payment Gateway Receivable A/c (full amount). This is the Gross Method — preferred under Ind AS 115 for accurate revenue reporting and ITC optimisation.
What is GST TCS in e-commerce and how do I account for it?
GST TCS (Tax Collected at Source) under Section 52 of the CGST Act requires e-commerce operators like Amazon, Flipkart, Meesho, Swiggy, and Zomato to deduct 1% of the taxable value from seller settlements and deposit it with the Government. For the seller: (a) When Amazon deducts TCS: Dr GST TCS Receivable A/c | Cr Amazon Marketplace Receivable A/c. (b) After Amazon files GSTR-8, the credit appears in your Electronic Cash Ledger on the GST portal. (c) You claim it in GSTR-3B: Dr GST Payable A/c | Cr GST TCS Receivable A/c. TCS is a credit — not an expense — and reduces your cash GST payment. Never write it off as an expense.
When is revenue recognised for an online sale — at order or at delivery?
Under Ind AS 115 / Revenue Recognition principles, revenue is recognised when control of the goods transfers to the buyer. For physical goods sold online, this is typically: (a) At dispatch / shipping date — if shipping terms are Ex-Works or FOB Origin; (b) At delivery date — if title passes only on delivery (most common for Indian e-commerce). In practice, most Indian e-commerce sellers recognise revenue on the date the shipment is confirmed as delivered, since return windows create uncertainty before that. For digital downloads, revenue is recognised at the time of download (instant transfer of control). Always check your return policy — a very liberal return window may require deferred revenue treatment under AS 9.
How is GST charged and recorded for online sales in India?
GST on online sales follows the same rules as offline sales with one key difference — the place of supply determines whether it's CGST+SGST or IGST. If seller's state = buyer's state → CGST+SGST (intra-state). If seller's state ≠ buyer's state → IGST (inter-state). For most e-commerce sellers, the majority of sales are inter-state → IGST applies. Journal entry: Dr Payment Gateway Receivable A/c | Cr Sales A/c | Cr IGST Payable A/c. Report in GSTR-1 (B2C or B2B as applicable). For online sales above ₹2.5 lakh single invoice to B2B buyers: mandatory HSN + buyer's GSTIN in GSTR-1.
What is the difference between COD and prepaid accounting in e-commerce?
Prepaid (UPI/Card/Net Banking): Customer pays before/at order. Revenue recognition = immediate (payment confirms intent + control transfers at delivery). Dr Gateway Receivable → Dr Bank on settlement. COD (Cash on Delivery): Customer pays the delivery executive at the door. Revenue recognition = at delivery (when cash is collected). Journal at dispatch: Dr Logistics/COD Receivable A/c | Cr Sales A/c + GST Payable. Journal at COD remittance from logistics partner: Dr Bank A/c | Dr COD Handling Fee Expense | Cr Logistics/COD Receivable A/c. COD returns (customer refuses delivery) = reverse the entry entirely with no cash movement. COD has higher bad-debt risk and is generally more complex to reconcile.
Do I need a separate ledger account for each payment gateway?
Yes — it is best practice to maintain separate gateway receivable ledger accounts for each payment partner (Razorpay Receivable, PayU Receivable, Amazon Receivable, Flipkart Receivable, Stripe Receivable, etc.). This makes reconciliation far easier: you can match each gateway's settlement statement against its dedicated ledger balance. If you use a single "Payment Gateway Receivable" account for all platforms, monthly reconciliation becomes a painful manual exercise. In Tally Prime, create sub-ledgers under a group "Payment Gateway Receivables" (Current Assets). In QuickBooks / Zoho Books, create separate "Other Current Asset" accounts per gateway.
How do I handle GST on e-commerce sales for GSTR-1 reporting?
E-commerce sellers must report all online sales in GSTR-1 as follows: (a) B2C Small Sales (invoice below ₹2.5L to unregistered buyers): Reported state-wise in Table 7 (consolidated). (b) B2C Large Sales (invoice above ₹2.5L to unregistered buyers): Invoice-wise in Table 5. (c) B2B Sales (to registered buyers): Invoice-wise in Table 4 with buyer GSTIN. (d) Returns/Credit Notes: Reported in Table 9B. Amazon/Flipkart sellers must also check their platform's auto-populated data in GSTR-1 (via the IFF/GSTR-1 integration) against their own order data. Discrepancies arise due to cancellations processed after GSTR-1 filing cut-off — these must be corrected in the next GSTR-1 as credit notes.
📚 Lessons
📝 Notes
🎯 Quiz