D2C Payment, COD and Returns Reconciliation
Reconcile your own website's orders with payment gateway settlements, courier COD remittances, RTO and refunds, so every order ends as paid, refunded, returned or chased.
Who it is for
- Founder or CFO of a D2C brand
- Finance Manager
- E-commerce Operations Lead
The problem
D2C brands sell through their own website and collect money through payment gateways and cash on delivery. Gateways settle net of fees and refunds, couriers remit COD in batches after deducting their charges, and returned-to-origin orders reverse some of it. Matching orders to money received is a monthly spreadsheet exercise that misses COD that was collected but never remitted.
COD collected but not remitted
Couriers remit COD in batches, and some delivered orders are never included.
Gateway settlements net of everything
Settlements deduct fees, refunds and chargebacks, so they never equal the order total.
RTO and refunds out of sync
Returned orders, cancellations and refunds are recorded in different systems and do not match the order status.
Courier charges above contract
Freight and COD charges are deducted at rates or weights above the contract.
What it does
VipraTech takes orders from your store, settlements from your payment gateways, and remittances and invoices from your couriers, and gives every order a final status: paid, refunded, returned or still open. COD orders marked delivered are checked against courier remittances, and delivered orders with no remittance are listed for chasing. Gateway settlements are tied to orders net of fees and refunds, and courier charges are recalculated from the contract rates.
- Ties every order to its payment, refund or return
- Finds delivered COD orders with no remittance
- Reconciles gateway settlements net of fees, refunds and chargebacks
- Recalculates courier freight and COD charges from contracts
- Matches RTO and refunds to order status
- List of open amounts by courier and gateway to chase
How it works
- 01CollectOrders from the store, gateway settlements and courier remittances and invoices are gathered.
- 02Tie paymentsPrepaid orders are matched to gateway settlements net of fees and refunds.
- 03Tie CODDelivered COD orders are matched to courier remittances.
- 04Check chargesCourier freight and COD charges are recalculated from the contract.
- 05ReviewFinance reviews open orders and overcharges.
- 06Chase and closeOpen amounts are raised with couriers and gateways and tracked to closure.
Inside the app
The screens your team works in, in the order a claim moves through them.
1Orders and payments
Store orders beside gateway settlements and courier COD remittances.
- Orders by payment type
- Gateway settlements received
- COD remitted and pending
2Prepaid tie-out
Each prepaid order tied to its gateway transaction and payout.
- Order, captured and settled amount
- Gateway fee and tax
- Refunds and chargebacks
3COD tie-out
Each delivered COD order tied to the courier's remittance.
- Delivered on and remitted on
- COD amount and remittance
- Delivered but not remitted
4Charges check
Courier and gateway charges checked against your rate cards.
- Freight at the contracted slab
- COD handling fee
- RTO charges
5Chase list
Gaps held for review, and the list to send each partner.
- Reason code and amount
- Chase list per partner
- Recovered against chased
Architecture
Each layer is a separate service on the VipraTech claims engine, so documents, rules and decisions can be checked and changed independently.
- Intake
- Store orders
- Payment gateway settlements
- Courier remittances and invoices
- Courier rate contracts
- Matching
- Order to payment matcher
- COD to remittance matcher
- Checks
- Courier charge recalculation
- Order status reconciliation
- Review and recovery
- Review queue
- Open amounts to chase
Decision rules
The checks run on every line, in this order. Each rule is versioned, so a line is always judged by the rule that applied on its date.
- R1Every prepaid order settledEach captured payment must be paid out by the gateway within its settlement cycle, less fees.
- R2Every COD delivery remittedEach delivered COD order must be remitted by the courier within the agreed days.
- R3Refunds tie to returnsRefunds must match an approved return or cancellation. Refunds without one are held.
- R4Charges at the rate cardFreight, COD and RTO charges are recalculated from weight, zone and contracted rates.
- R5Returned shipments receivedShipments marked returned to origin must be received back in the warehouse.
Exception codes
A line that fails a rule, or that the engine cannot decide with confidence, is held with one of these codes and the evidence behind it.
NOT_SETTLEDA captured payment was not paid out.
Next: Raise it with the gateway.
COD_NOT_REMITTEDA delivered COD order was not remitted.
Next: Add it to the courier chase list.
REFUND_NO_RETURNA refund has no return or cancellation behind it.
Next: Review with customer support.
FREIGHT_OVERCHARGEDFreight is above the contracted slab.
Next: Dispute with the courier.
RTO_NOT_RECEIVEDA returned shipment never reached the warehouse.
Next: Raise a lost-shipment claim.
Data model
The main records the engine keeps for this workflow, with their key fields.
StoreOrder
- order_id
- payment_type
- amount
- status
- delivered_on
GatewayTxn
- txn_id
- order_id
- captured
- fee
- settled_on
CodRemittance
- awb
- order_id
- cod_amount
- remitted_on
- remittance_ref
CourierCharge
- awb
- weight_slab
- zone
- freight
- cod_fee
- rto_fee
Inputs and outputs
Inputs
- Orders from Shopify, WooCommerce or your store
- Payment gateway settlement reports
- Courier COD remittances and invoices
- Courier rate contracts
- Refund and return records
Outputs
- Final status for every order
- Delivered COD orders with no remittance
- Gateway settlements tied to orders
- Courier overcharges
- Open amounts to chase
Where people stay in control
Finance reviews open orders and overcharges and decides what to raise with couriers and gateways. The system prepares the list and evidence; it does not contact them.
Guardrails
- No order closed without a matched payment, refund or return
- Every overcharge shows the contract rate used
- Open amounts aged by courier and gateway
- Chasing only after finance review
Works with
- Shopify, WooCommerce or custom store exports
- Payment gateways such as Razorpay, Cashfree or PayU
- Courier and aggregator reports such as Shiprocket or Delhivery
- Tally or your accounting system
By industry
Beauty and Personal Care
Website orders tied to gateway settlements and COD remittances, with courier charges checked.
D2C and Digital-First Brands
Website orders matched to gateway settlements and courier COD remittances, with unremitted COD listed for chasing.
Apparel, Footwear and Lifestyle
Website orders matched to gateway settlements, COD remittances and returns.
Go-live plan
Time to go live: About 6 weeks
Two to three months of orders, one payment gateway and your main courier or aggregator.
Deliverables
- 01Order-to-money reconciliation
- 02Unremitted COD list
- 03Courier charge checks
- 04Open amounts format for chasing
What we measure
- Orders closed
- Share of orders with a final, matched status.
- Unremitted COD found
- Value of delivered COD orders with no remittance, confirmed by finance.
- Overcharges found
- Courier charge differences confirmed by finance.
FAQs
01We use an aggregator like Shiprocket. Does that work?
Yes. Aggregator reports carry the courier, COD and charges for each order, so they can be used directly.
02Do you need our gateway or store login?
No. Report exports are enough to start.
03Can it handle partial refunds and exchanges?
Yes. Each order keeps all its payments, refunds and exchanges, and its final balance is what is reconciled.
04How long does it take to go live?
About 6 weeks from the first files to go-live. The first cycle runs beside your current process on your own data, and your team switches over once the results agree with what it would have settled.
Related
- Retail, quick-commerce and marketplace deductions
Marketplace Settlement Reconciliation
Reconcile Amazon, Flipkart and other marketplace settlements order by order, including commissions, fees, returns, reimbursements, TCS and TDS, and find what the marketplace still owes you.
- Retail, quick-commerce and marketplace deductions
Quick-Commerce Deductions
Match every Blinkit, Zepto and Swiggy Instamart payment back to its POs, invoices and dark-store receipts, check each deduction against your agreed terms, and dispute the wrong ones.
- Ledgers, credit notes and accruals
Credit Note and Distributor Ledger Reconciliation
Check that every approved claim became the right credit note, that nothing was credited twice, and that your books and each distributor's ledger agree, with the differences explained.

Akhilesh Mittal, founder
IIT ISM Dhanbad and IMT Ghaziabad. Spent 8 years building and leading engineering on a security-testing platform for a New Zealand company. Built the claims system that a packaged-food brand's finance team runs every month. You work with him directly.
See it on your own data
Book a demo of this workflow, or send last quarter's claims for a free audit with every finding and the amount at risk in 5 working days.