CorporateWalla logoCorporateWalla
Back to blogaccounting bookkeeping

Shopify and D2C Accounting in India: Gateways, COD, GST and Margins

Shopify and D2C accounting in India (2026): reconcile gateway payouts, COD and RTO, GST on your own store, and contribution margin per order, worked examples.

CA & CS Team · CorporateWalla 27 Aug 2026 14 min read

Quick answer. Shopify and D2C accounting in India means booking revenue and output GST from order data, not from payouts, then reconciling each payment gateway batch, courier COD remittance and RTO back to those orders. On your own storefront there is no Section 52 TCS and no e-commerce TDS, but you are liable for all output GST, you need GST registration from the first inter-state sale of goods, and GST on gateway, courier and app fees is input credit you should be claiming every month.

Most accounting advice written for online sellers in India assumes a marketplace. It talks about settlement reports, commission and tax collected at source, and none of it quite fits a brand selling on its own domain.

A D2C brand selling on its own website is the supplier, not a marketplace participant. GST TCS under Section 52 does not usually apply, but the brand carries full responsibility for output GST, gateway reconciliation, COD remittances and the cost of returns.

That sounds simpler and is not. You are the supplier, the merchant of record and the person carrying every cost of getting a parcel to a customer and, often, back again. The money arrives in fragments from three or four sources, and the platform dashboard reports a revenue number that your books will never agree with.

This article covers what actually needs to happen. The general framework sits in the complete guide to e-commerce accounting in India; this is the D2C-specific layer.

First, the tax position is not the same as a marketplace seller’s

Two differences matter immediately.

Section 52 TCS generally does not apply to your own storefront

Tax collected at source under Section 52 is collected by an electronic commerce operator on supplies made through it by other suppliers. Selling your own goods on your own website is not that. Your payment gateway processes money, it does not facilitate a supply between you and a buyer on a platform it operates. So there is no 0.5 per cent TCS line and no operator GSTR-8 to reconcile against.

The exception is if you also sell on marketplaces, in which case that part of your business does carry TCS and needs the treatment set out in Amazon and Flipkart seller accounting. Most D2C brands eventually run both, and the two channels need separate ledgers.

Registration is driven by different rules

Because Section 24(ix) is not in play, a purely own-website seller is not automatically required to register. But Section 24(i) requires registration for any person making an inter-state taxable supply of goods, with no turnover threshold. A brand shipping pan-India from day one is therefore registrable from day one, regardless of revenue. Only a genuinely single-state operation gets to rely on the ordinary turnover thresholds, and those differ by state. The detail is in who must register for GST, or we can handle it through GST registration.

One more point that catches new brands. If you charge the customer for shipping, that recovery forms part of the value of your supply under Section 15 of the CGST Act and follows the rate applicable to the goods. It is not a separate 18 per cent service.

Own storefront versus marketplace: the compliance position

PointOwn Shopify or D2C storeMarketplace channel
GST registrationCompulsory from the first inter-state sale of goods, Section 24(i); otherwise the state turnover thresholdCompulsory under Section 24(ix), subject to the Notification 34/2023 carve-out for small intra-state sellers
GST TCS, Section 52Not applicable0.5 per cent of net taxable supplies, collected by the operator
Income-tax TDS on salesNot applicable0.1 per cent under Section 393(1), Table Sl. No. 8(v), Income-tax Act 2025 (old 194-O)
E-invoicingOnly for B2B invoices, once aggregate turnover exceeds ₹5 croreSame rule
Shopify plan, apps and ads billed from outside IndiaIGST under reverse charge as import of services, claimable as input creditSame rule
Reconciliation sourceOrder export, gateway batches, courier remittancesOperator settlement report and GSTR-8

Two rows in that table cause most of the surprises. E-invoicing applies to supplies made to registered persons, so a D2C brand selling only to consumers can cross ₹5 crore without needing an IRN on retail orders, but the first bulk order to a registered reseller or corporate gifting client does need one. If that is you, see GST e-invoicing. And the reverse charge on foreign-billed software is payable in cash before the credit can be taken, so it is a real cash-flow line, even though it nets to nil over time.

The money arrives in four streams

A single day’s orders on a D2C store typically split like this.

StreamWho holds the moneyTypical lagWhat is deducted
Prepaid cards, UPI, net bankingPayment gatewayDaysGateway fee plus GST
Buy now pay later and walletsGateway or providerDaysProvider fee plus GST
Cash on deliveryCourier or aggregatorDays to weeksCOD handling fee, shipping, RTO charges
Marketplace or quick commerce, if usedOperatorWeeksFull marketplace fee stack

Each stream needs its own control account. If all four land in a single "sales" line against bank credits, no one can tell whether a payout is late, short, or missing, and by the time it is noticed the courier’s claim window has usually closed.

Gateway settlements

A gateway settles a batch of transactions net of its fee. Here is an illustrative day, using round numbers.

LineAmount (₹)
Orders captured, gross (goods ₹1,00,000 plus GST ₹18,000)1,18,000
Less: refunds processed in the batch(7,080)
Less: gateway fee at 2% of net processed value(2,218)
Less: GST at 18% on the gateway fee(399)
Settled to bank1,08,303

The entries are straightforward once the discipline is set. Revenue of ₹1,00,000 and output GST of ₹18,000 come from order data, not from the settlement. The refund reverses revenue and, with a credit note, the output tax. The gateway fee is a finance or selling cost of ₹2,218, and the ₹399 of GST on it is input tax credit you are entitled to, provided the gateway’s invoice appears in your GSTR-2B and you have acted on it in the Invoice Management System.

That last point is worth its own sentence. Gateway charges are one of the largest recurring costs a D2C brand carries, and the GST on them is fully creditable. Brands lose it every month by never booking the gateway’s tax invoice.

Cash on delivery, the slowest money in the business

COD creates three separate problems.

Timing

The sale happens on delivery. The cash reaches your bank when the courier remits, often on a weekly cycle and sometimes later for newer accounts. Between those two events you have a receivable, and it needs to be visible. Revenue and a COD receivable go into the books on delivery; the remittance clears the receivable.

Deductions

The remittance is net of shipping charges, COD handling fees and adjustments for weight discrepancies. Weight discrepancy charges in particular are levied after the fact and are frequently disputable. If your books show only the net remittance, you will never dispute anything, because you will never see it.

Failure

COD orders fail more often than prepaid ones. A refused delivery becomes an RTO, which is covered below.

Worked example: one COD order from dispatch to remittance

Illustrative figures. A ₹1,180 COD order (goods ₹1,000 plus GST at 18 per cent) is delivered; the courier deducts ₹80 shipping plus ₹14.40 GST and a ₹30 COD fee plus ₹5.40 GST, and remits the rest a week later.

EventEntryAmount (₹)
DeliveredDr COD receivable (courier); Cr Sales ₹1,000 and Output GST ₹1801,180
Courier invoice bookedDr Shipping ₹80, COD charges ₹30, Input GST ₹19.80; Cr Courier129.80
Remittance receivedDr Bank ₹1,050.20 and Courier ₹129.80; Cr COD receivable ₹1,1801,050.20 to bank

If the order had been refused instead, the first row would never be posted: there is no sale and no output GST. Only the outward and return freight would be booked, as RTO cost.

For income tax, note that receipts are tested by how the money reaches you, not by how your customer paid. A COD order remitted to your bank account by a courier arrives through a banking channel. That matters when you are near the presumptive taxation limits under Section 58 of the Income-tax Act, 2025 or the audit thresholds under Section 63, which turn on the proportion of cash receipts (and, for the audit threshold, cash payments as well). Confirm the treatment with your CA before relying on it, because the composition of your receipts is a question of fact.

Return to origin is a cost, not a return

An RTO parcel never reached the customer, so there is no completed sale. If no tax invoice was issued there is nothing to reverse; if one was issued at dispatch, as is usual, cancel it with a credit note so the sale and output GST reverse. Either way, what did happen is that you paid to send it and paid to get it back.

Book it as a distribution cost, and track two numbers every month: RTO as a percentage of dispatched orders, and average RTO cost per failed order. Split by payment method, because prepaid and COD behave very differently, and by top pin codes if the volume justifies it. This is one of the few operational metrics that comes straight out of properly maintained books and can be acted on the same week.

Discounts, coupons and how revenue should be presented

Presentation matters more than most founders expect, because it changes every ratio built on top of it.

A discount given at the time of sale and shown on the invoice reduces the value of the supply, so both revenue and GST are computed on the discounted amount. A post-sale discount only reduces the taxable value where the conditions in Section 15(3) of the CGST Act are met, including that it was agreed before or at the time of supply and is linked to the relevant invoices, with the credit reversed by the recipient where applicable. Loyalty credits, coupon burns and shipping subsidies each need a considered treatment rather than a default one.

For management reporting, keep gross sales, discounts and net sales as three visible lines. A brand that reports only net sales cannot see its own discount rate trending upward, which is usually the first sign that growth is being purchased rather than earned.

Marketing spend and the numbers investors ask about

Advertising is normally the largest controllable cost in a D2C profit and loss account, and the accounting for it is simple as long as two things are watched.

Input tax credit on ad spend

Where the platform bills you from an Indian entity with GST charged, the credit is available in the ordinary way. Where a service is billed from outside India, import of services rules and reverse charge may apply instead. Check how each of your platforms invoices you, because they do not all do it the same way, and the treatment follows the invoice, not the platform’s brand.

Accruals

Ad spend charged to a card on the 2nd for the last few days of the previous month belongs to the previous month. Without that cut-off, your customer acquisition cost bounces around for reasons that have nothing to do with performance.

Once the books are clean, three figures become computable and defensible: contribution margin per order after all variable costs, acquisition cost per new customer, and the ratio between them. Those are the numbers a lender or an investor will test, and they are only as good as the underlying ledger. If you are at the stage of being asked for them monthly, a fractional CFO is usually the right answer rather than a bigger accounting team.

Worked example: contribution margin on one D2C order

Illustrative figures, all excluding GST because input credit on costs is recovered and output GST is not yours. A prepaid order with a selling price of ₹1,180 including 18 per cent GST, after a 10 per cent coupon already reflected on the invoice.

LinePer order (₹)Running total (₹)
Net sales (₹1,180 less ₹180 output GST)1,0001,000
Less: cost of goods sold, landed(380)620
Less: packaging(25)595
Less: forward shipping(70)525
Less: gateway fee at 2% of ₹1,180 captured(24)501
Less: RTO cost spread over all orders (say 8% RTO × ₹140 two-way freight)(11)490
Contribution margin before marketing49049% of net sales
Less: advertising per order (CAC spread over new and repeat orders)(300)190
Contribution after marketing19019% of net sales

Two things change the answer quickly. Switch the same order to COD and you add a COD handling fee and a higher RTO rate, which can take ₹40 to ₹60 more off the margin in this example. And if the coupon had been shown as a marketing expense instead of a reduction in the invoice value, net sales and output GST would both be overstated, which is a tax error, not just a presentation choice.

A chart of accounts that fits a D2C brand

GroupLedgers to openWhy separate
RevenueSales – own store; Sales – marketplace (one per platform); Shipping recovered; Discounts (memo); Sales returnsChannel margin and discount rate stay visible
Control accountsGateway clearing (one per gateway); COD receivable (one per courier); Marketplace receivableAn unmatched balance is an exception, not a profit
Variable costsForward shipping; RTO freight; COD charges; Gateway fees; Packaging; 3PL / fulfilmentFeeds contribution margin directly
MarketingPerformance ads; Influencer and content; Affiliate commissionCAC by channel
TaxOutput GST; Input GST; IGST under reverse charge (import of services); GST TCS receivable (marketplace only); TDS receivableEach reconciles to a different return
InventoryStock by location (own warehouse, each 3PL, each FC); Goods in transitStock by GSTIN and location for audit

Shopify, the main gateways and courier aggregators export order- and settlement-level reports, and once this ledger structure exists those exports can be mapped into Zoho Books or Tally the same way every month. If you are still on Tally and want imports and bank feeds automated, a Tally to Zoho migration carries the ledgers and opening balances across.

Want your D2C numbers to survive a diligence process? Talk to a CA about your books.

Inventory for a D2C brand

Value stock at the lower of cost and net realisable value. Cost includes purchase price net of recoverable taxes, inbound freight, customs duty and any other cost of bringing goods to their present location and condition. It excludes selling costs, warehousing of finished goods, advertising and gateway fees.

Two D2C-specific points.

Third-party warehousing

If a 3PL holds your stock, it is still your inventory and still your closing stock. If the warehouse is in another state, you are likely to need registration there, and movement of your own goods between your own registrations is a supply under Schedule I.

Bundles and kits

Selling three products as a kit at a single price requires the cost of each component to move out of stock and the GST rate of the bundle to be considered. Where items are naturally bundled and supplied together, composite and mixed supply rules determine the rate. Set this up once, correctly, rather than after the first notice.

Subscriptions and prepaid revenue

If you sell a subscription box or an annual plan, the cash you collect in month one is not month one’s revenue. It is a liability that unwinds over the delivery period. The same logic that applies to software applies here, and we have set it out in SaaS revenue recognition in India. GST timing follows its own rules and can fall due ahead of revenue recognition, which is exactly the mismatch that produces a surprise liability in a growth month.

Gift cards and store credit sit in the same family. Money received, nothing supplied yet.

Selling internationally from your own site

If you ship abroad, the supply is an export and is zero-rated. You can either pay IGST and claim a refund, or supply under a Letter of Undertaking and charge nothing, which is almost always the better cash position. The LUT is an annual filing with no government fee, covered in GST on export of services and the LUT route and handled through LUT filing.

Collections through an international gateway bring foreign exchange into the picture, where the invoice date, the receipt date and the reporting date each carry a different rate. That is a genuine source of unexplained differences, and it is covered in multi-currency accounting.

A monthly close that takes about two days

  • Import orders, refunds and RTOs from the storefront.
  • Reconcile each gateway settlement batch to captured orders and to the bank.
  • Reconcile courier remittances to delivered COD orders, and log deductions.
  • Book gateway, courier, warehousing and advertising invoices, and claim the input credit.
  • Update inventory by location, including any 3PL and any goods in transit.
  • Compute RTO rate, discount rate, contribution margin and acquisition cost.
  • Reconcile GST: output tax from orders, input credit from GSTR-2B after IMS action, before filing rather than after.
  • Close the books and issue the management report.

Step seven has become non-negotiable. Since the July 2025 tax period the outward liability in GSTR-3B is locked to your GSTR-1, so an error has to be caught before filing and corrected through GSTR-1A, not patched afterwards. The full method is in e-commerce reconciliation.

Frequently asked questions

Q: Do I need GST registration to sell from my own website?

A: If you ship to customers in other states, yes. Section 24(i) of the CGST Act requires registration for any inter-state taxable supply of goods, with no turnover threshold. If you sell only within one state, the ordinary turnover thresholds apply, and they differ between states and between goods and services.

Q: Is GST TCS applicable on Shopify sales?

A: Not on sales through your own storefront. Section 52 applies to an operator collecting consideration for supplies made through its platform by other suppliers. Selling your own goods on your own site is not that arrangement. If you also list on a marketplace, TCS applies to that channel only.

Q: How do I reconcile a payment gateway settlement?

A: Match each settlement batch to the individual transactions inside it, then to the bank credit. Revenue comes from orders, not from the settlement. The gateway fee and the GST on it are booked separately, with the GST claimed as input credit. Anything unmatched stays in a gateway control account until it is explained.

Q: How should COD orders be recorded before the money arrives?

A: Record the sale and the output GST on delivery, with a COD receivable. Clear that receivable when the courier remits, and book shipping, COD handling and weight discrepancy charges as costs rather than netting them into revenue.

Q: Should discounts be shown as an expense or netted off sales?

A: For GST, a discount shown on the invoice reduces the value of the supply. A post-sale discount only reduces taxable value if the conditions in Section 15(3) are met. For management reporting, show gross sales, discounts and net sales as separate lines so the discount rate is visible.

Q: Can I claim input tax credit on advertising spend?

A: Where the platform bills you from an Indian entity and charges GST, yes, subject to the usual conditions including the invoice appearing in your GSTR-2B. Where the service is billed from outside India, import of services and reverse charge rules may apply instead. Check the invoice, not the brand.

Q: How do I calculate contribution margin for a D2C brand?

A: Net sales after returns, less cost of goods sold, shipping, gateway and COD charges, packaging, RTO cost and any variable fulfilment cost. Advertising is usually shown immediately below, since it is controllable but not strictly variable. What remains covers fixed costs.

Q: Do I pay GST on my Shopify subscription and apps?

A: If the plan or app is billed to you from outside India, you as a registered business pay IGST on it under reverse charge as an import of services, in cash through GSTR-3B, and then claim the same amount as input credit. If the supplier bills from an Indian GSTIN with GST charged, you claim credit on that invoice in the ordinary way.

Q: Does a D2C brand need e-invoicing?

A: Only for invoices to registered buyers, once aggregate turnover exceeds ₹5 crore, the threshold in force since 1 August 2023. Retail orders to consumers are outside e-invoicing. A brand that also sells in bulk to resellers or corporate clients must generate an IRN on those B2B invoices.

Q: How do I reconcile Razorpay or Cashfree payouts with Shopify orders?

A: Export the gateway settlement report with its batch or settlement ID, match each transaction to a Shopify order ID, then match the batch total to the bank credit. Book the gateway fee and its GST from the gateway’s monthly tax invoice. Refunds and chargebacks inside a batch are reversed against the original order, not netted into sales.

Q: What does a good monthly D2C accounting report contain?

A: Gross sales, discounts and net sales; returns and RTO rates; contribution margin per order; acquisition cost and its ratio to contribution; the GST position; inventory by location including goods in transit; and cash still held by gateways and couriers.

Q: What does COD mean in accounting?

A: COD, cash on delivery, means the customer pays the courier when the parcel arrives. In the books the sale and output GST are recorded on delivery against a COD receivable from the courier, not against cash. The receivable is cleared when the courier remits, and shipping, COD fees and weight charges are booked as costs.

Q: What is a good contribution margin for a D2C brand?

A: There is no single benchmark, because it depends on category, price point and the share of COD orders. What matters is computing it the same way every month: net sales less landed cost, packaging, shipping, gateway or COD fees and RTO cost, shown before and after advertising, so you can see whether growth is profitable.

Q: Do you provide Shopify accounting services?

A: Yes. Our e-commerce accounting package covers own-store and marketplace channels together: order and gateway imports, COD and RTO reconciliation, GST and reverse charge, inventory by location and a monthly contribution-margin report. It starts from ₹3,099 a month, with the final fee depending on order volume and the number of channels.

Positions stated as at October 2026 (FY 2025-26 returns under the Income-tax Act, 1961; tax year 2026-27 under the Income-tax Act, 2025). Gateway and courier commercial terms vary by contract; tax rules change. Confirm before acting.

Outsource your D2C bookkeeping. We run monthly closes for D2C brands inside Zoho Books, Tally or QuickBooks, with a CA reviewing the output.

Need help with E-commerce Accounting Services?

Talk to a CA-led team. Leave your number for a callback and a fixed quote (from ₹3,099/month).

Get a quote for E-commerce Accounting Services

We call back within 30 minutes in office hours. No spam.

+91

Sent over an encrypted connection