The refund your ledger never heard about
Your system raised the invoice. Somebody refunded it in the Stripe dashboard three weeks later. Which of those two facts does your receivables report know?
By the OpsPilot team
Most service platforms will raise an invoice, send it, and mark it paid when the money arrives. That is the loop everybody builds, and it works right up to the moment money moves in the other direction.
Here is the sequence worth thinking about. A customer pays an invoice by card. Two weeks later they ring your office, unhappy, and somebody — maybe you, maybe a colleague — opens the Stripe or Square dashboard and issues a refund. The customer is satisfied. The money has gone back.
Now: does your system know?
Usually, no
For most stacks the answer is no, and nothing announces it. The invoice stays marked paid. The month's receivables report includes money that is no longer there. Your aged debtors look fine. The discrepancy surfaces weeks later during a reconciliation against the bank, if it surfaces at all.
This is not a rare edge case. Refunds happen in the gateway because that is where the refund button is. The person issuing it is solving a customer problem, not updating a ledger, and no amount of process discipline reliably bridges two systems that do not talk.
Why polling the checkout is not enough
A lot of platforms do have a safety net: a sweep that re-checks open checkout sessions, to catch the customer who paid and then closed the tab before the redirect completed. That is a good thing to have, and it is not this.
The distinction is what the sweep looks at. It examines checkouts that have not settled yet. Once a payment is recorded, the attempt is closed and nothing ever reads it again. A refund happens strictly after that point, so it falls outside everything the sweep can see.
A sweep over unsettled checkouts cannot, by construction, notice something that happens after settlement.
What closing the loop requires
Three things, none of them optional:
- Ask the gateway about payments it already took, not only about ones still in flight.
- Handle partial refunds as partial. A $20 refund against a $100 payment should leave $80 settled and move the invoice to partially paid — not zero the whole thing.
- Treat a lost chargeback as money gone, because it is, and treat an open dispute as a claim, because that is all it is until it is decided.
OpsPilot reconciles against Stripe, Square and PayPal on a schedule, and reverses the invoice when the gateway says money went back. For Square there is an inbound webhook as well, so a dashboard refund reaches the invoice in seconds rather than within the day. The webhook is a speed-up; reconciliation is the floor, and it needs no setup.
The test to run on whatever you use today
Take a small invoice in a sandbox. Pay it. Then refund it from the gateway's own dashboard rather than from your platform. Wait a day and look at your receivables report.
If the invoice still says paid, you know something about your month-end that you did not know this morning.
See it on your own clients
Twenty minutes, on your data — bring a client list and a job you'd normally struggle to bill.
Book a demoRelated
An activity log is not an audit trail
Anyone can write rows to a table. The question is what those rows are worth on the day somebody has a reason to doubt them.
Consent before access: the default that should not need arguing
Unattended access is a legitimate requirement. It should still be something a workspace switches on deliberately, rather than something it falls into.