IOSOR Learn
Metric Retention Windows vs Billing Cycle Reconciliation
Retention windows shorter than a carrier billing cycle hide late DLRs and invoice adjustments. Check the span, receipts and webhook latency before committing volume.
Lead Telecom & Routing Architect · Lausanne, CH
If your telemetry retention window is shorter than one carrier billing cycle, late DLRs and post-close invoice adjustments fall outside the data you can query, and reconciliation starts failing quietly. Align the retention span to the cycle plus a settlement tail before you commit any SMS volume.
Define the cycle span before you trust any dashboard
Start from the contract, not the dashboard. A billing cycle is rarely a clean calendar month: partial first cycles, anniversary cut-offs and carrier-side settlement windows all shift the real close date. Write down three numbers per route: the cycle length, the day the invoice is issued, and the last day an adjustment can still post.
Test whether late DLRs actually survive the window
Retention claims are only credible when you can prove a message's final state is still queryable at the far edge of the window. Pick a sample of SMS per route, record submission timestamp, carrier ack and final DLR receipt, then re-query those identifiers near the retention boundary.
Check webhook latency against the retention edge
Webhook pipelines are where retention quietly leaks. Retries, backoff queues and dead-letter replays can deliver a DLR days after the carrier emitted it, so the effective arrival time in your store is not the carrier timestamp. Measure p95 and p99 webhook latency per route and subtract it from the window: the usable reconciliation span is retention minus arrival lag.
Compare route-level guarantees, not marketing pages
Route alignment is a procurement question: which partner commits to a retention span that covers the cycle, and which only promises a rolling metric view. Ask for the guarantee in writing, the queryability horizon for raw DLR receipts, and the behaviour at the boundary, for example whether records are archived and still addressable or deleted outright.
Reconcile the cycle with a repeatable method
Once a message reaches final state, freeze it in an immutable ledger keyed by message identifier, with carrier timestamp, received timestamp and cost. Reconcile monthly: match ledger totals to the invoice, list unmatched rows, and classify each as late DLR, adjustment or genuine dispute. Track how many unmatched rows fall in the last days of the window; a rising tail means retention is too short.
Start with IOSOR
Before committing volume, run this checklist with each partner: confirm cycle length, invoice date and the longest observed adjustment lag per route; verify raw DLR receipts stay queryable at the retention edge, not just as counters; measure p95 and p99 webhook latency and subtract it from the window; confirm sender and template gates and dedup are logged so replays cannot fake a confirmed delivery; require a written retention guarantee covering the cycle plus that lag. Log each result in a Decision Brief at /tools/brief so the comparison is auditable.
Related: PAYG hold before first debit · Wallet stop-lines before production.
IOSOR takeaway
Start from the contract, not the dashboard. Track how many unmatched rows fall in the last days of the window; a rising tail means retention is too short (/tools/brief · DLR / webhook). Then test each partner's webhook delivery and DLR handling against the same reconciliation window, and log every gate where a cycle boundary changes the match rate. Open the Decision Brief at /tools/brief to compare partners on those gates before you renegotiate retention.
Was this guide helpful?
Related guides
- Webhook Fanout Failure Isolation: Auditing Partial Delivery Blast Radius
Isolate DLR webhook fanout blast radius per endpoint, verify partial delivery scope, and compare partner routes before a single degraded consumer becomes systemic.
- Telemetry Sampling Bias in Delivery Rate Estimation
How sampled DLR and webhook telemetry skews delivery-rate estimates, and how to validate sampling assumptions across partner routes before trusting dashboards or SLA credits.
- Telemetry Gap Attribution During Provider Maintenance Windows
Separate planned telemetry silence from real SMS delivery failures during provider maintenance, then decide whether to reroute or hold using DLR and webhook evidence.












