IOSOR Learn
DLR Webhook Payload Completeness Audit Gate
Verify every DLR webhook receipt against required fields, latency, and sender gates before billing reconciliation or route comparison.
Lead Telecom & Routing Architect · Lausanne, CH
Verify each DLR webhook receipt for required fields, delivery status, and acceptable latency before billing reconciliation. When gaps persist across providers, compare partner routes for the affected channel and corridor.
1. Define the completeness contract
Freeze a versioned field contract for each DLR webhook type. Require receipt ID, message ID, sender or sender ID, template ID, provider route ID, terminal status, timestamps, and error details when status is not delivered. Mark optional fields explicitly; never infer a missing field from another record.
2. Capture and normalize receipts
Record the raw receipt, ingestion timestamp, signature result, and schema version. Normalize timestamps to UTC, preserve original values, and map status values to a controlled set. Reject or quarantine receipts that fail parsing, signature checks, or schema validation rather than silently repairing them.
During pre-flight verification, validate that automatic failover thresholds trigger deterministic rerouting without duplicating outbound segments or exhausting retry backoff budgets under peak regional load.
3. Evaluate field-level gaps
Compare every receipt with the contract and classify each gap as missing, null, malformed, or contradictory. A null required value counts as absent. Track gap rate by provider route, template, sender, and channel. Alert when a route exceeds the agreed threshold or when the same field fails across multiple routes.
4. Gate billing reconciliation
Block reconciliation for receipts with unresolved required-field gaps. Allow partial settlement only under a documented exception with an owner, expiry, and manual approval. Reconcile counts, not just totals: compare submitted, received, accepted, and billable receipts. Preserve rejected receipts for replay and audit.
5. Inspect related failure patterns
Review idempotency behavior, truncation symptoms, and replay gaps before changing thresholds. Use idempotency at scale to separate duplicate receipts from missing data, payload truncation to detect cut-off bodies, and replay gap detection to find missing sequences.
Start with IOSOR
Run this checklist for one channel and corridor: list required fields, sample ten receipts, verify signatures, measure ingestion latency, count gaps by route, and confirm reconciliation blocks. Then use compare partner routes to compare verified routes for that channel and corridor. Record route, field coverage, latency, and exception status before switching traffic.
IOSOR takeaway
Freeze a versioned field contract for each DLR webhook type. Preserve rejected receipts for replay and audit (/tools/brief · DLR / webhook).
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.












