IOSOR Learn
Score Delivery Receipt Audit Trails for Completeness Before Route Selection
Score receipt audit trails per sent SMS across accepted, dispatched, delivered, failed, and expired states, then compare routes in /tools/brief before volume.
Lead Telecom & Routing Architect · Lausanne, CH
A route is only as trustworthy as its receipt trail: for every sent SMS you must reconstruct accepted, dispatched, delivered, failed, and expired states from DLR events and webhook logs. Score each candidate route on five-state coverage, then compare partners in /tools/brief before assigning volume.
Define the five-state receipt contract first
Before touching any provider, write down the ledger you expect. Every outbound SMS should carry a message id, submitting account, E.164 destination, sender identity, template or content hash, submit timestamp, and then one terminal state: delivered, failed, or expired — plus the accepted and dispatched intermediates.
Score completeness against reconstruction, not event count
The scoring unit is one sent SMS, not one webhook. For each message, mark which of the five states exist and whether timestamps let you order them. Score 5/5 when every state is present with monotonic timestamps; 3/5 when terminal state exists but dispatched is missing; 1/5 when only accept is visible.
Treat webhook gaps as completeness failures
Missing signals are the default failure mode, not an edge case. If a DLR webhook is dropped, retried late, or arrives without a message id you can join on, the audit trail breaks and downstream retries misfire. Verify idempotency keys, retry behaviour, and whether the partner replays missed events after a webhook outage.
Reconcile receipt states against your own ledger
Run a daily join between your send log and the partner receipt trail, bucketed by sender, template, and corridor. Count messages with no terminal state older than your expiry policy — those are hard gaps. Count messages where the partner says delivered but your ledger shows no downstream confirmation, and the reverse.
Compare routes on scored receipt completeness
Use the scored output as a comparison input, not a verdict in isolation. Pull partner route options for your channel and corridor at compare partner routes, then for each route request a sample receipt trail covering all five states and the reconciliation delta from the previous month.
Start with IOSOR
Run this job as a short, repeatable checklist. First, fix the five-state contract and expiry policy in writing. Second, sample 10,000 messages per candidate route across two senders, two templates, and at least three corridors. Third, join receipts to your send log and compute the 5/5 percentage and the reconciliation delta. Fourth, test webhook replay: simulate a dropped DLR and confirm the partner backfills or your system re-queries.
Related: PAYG hold before first debit · Wallet stop-lines before production.
IOSOR takeaway
Before touching any provider, write down the ledger you expect. Pull partner route options for your channel and corridor at compare partner routes, then for each route request a sample receipt trail covering all five states and the reconciliation delta from the previous month.
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.












