Rivane

Accounting
made smart

ERP Use CasesTier 1Published June 21, 2026

Webhook Event Delivery with Retry and Signature Verification

Webhook Event Delivery with Retry and Signature Verification for US and UK finance teams: ERP requirements, controls, audit evidence, data model, APIs, state transitions, and implementation checks.

Platform - Webhooks is where ERP discipline either begins or breaks.

Webhook Event Delivery with Retry and Signature Verification looks operational from far away. In a real finance team, it is a chain of assertions: the right actor started the work, the required records existed, the control policy was applied, the state change was preserved, and the outcome can be explained later without rebuilding the transaction from emails and spreadsheets.

The expected business outcome is specific: Third-party systems receive real-time financial events with guaranteed delivery; integration engineers debug failed deliveries without Rivane support involvement.

The control flow a finance team actually needs.

Workflow map showing control steps, exceptions, and evidence for this ERP process.HMAC-SHA256 Sign...Start conditionDelivery Attempt...Required checksRetry Schedule: ...Owner and SLAManual Re-Delive...System updatePayload Is Idemp...Exception handlingAudit packetEvidence trailException loopPlatform - Webhooks should preserve every override and rejection.
Workflow map for this ERP process, including exception handling and audit evidence.

Step 1

HMAC-SHA256 Signature Per Delivery...

Step 2

Delivery Attempt Log Retained 30 Days

Step 3

Retry Schedule: 1 Min, 5 Min, 30 Min, 2...

Step 4

Manual Re-Delivery Available From The...

Step 5

Payload Is Idempotent - Includes Event...

The ERP surface involved.

Module

Platform - Webhooks

Actors

Finance Developer, Third-Party Application, Webhook Delivery Worker

Tier

Tier 1

Finance area

Platform, Integration, Security, Administration & Analytics

Region lens

US and UK finance teams

Publication date

June 21, 2026

HMAC-SHA256 signature per delivery using a per-endpoint rotating secret; delivery attempt log retained 30 days; retry schedule: 1 min, 5 min, 30 min, 2 h, 24 h (configurable); manual re-delivery available from the portal for any event within 72 h; payload is idempotent - includes `event_id` for deduplication by receiver; webhook endpoint verified via challenge-response on registration; delivery throughput ≥10,000 events/min at p99 ≤5 s end-to-end latency; circuit breaker disables endpoint after 50 consecutive failures.

US and UK teams have different compliance hooks, but the same control problem.

US teams usually care about clean evidence for audit support, vendor records, payment controls, tax reporting, and management review. UK teams usually care about VAT-ready records, approval evidence, digital-record discipline, and traceable postings. The country-specific details differ, but the operating pattern is the same: the ERP needs controlled records, explicit ownership, defensible state changes, and evidence that survives beyond the person who completed the task.

The control matrix.

Control areaRequirementAcceptance proof
Control 1HMAC-SHA256 signature per delivery using a per-endpoint rotating secret
Given a webhook endpoint registered for invoice.created events
Control 2delivery attempt log retained 30 days
when an invoice is created, then Rivane enqueues a signed delivery within 5 s, POSTs with Rivane-Signature and Rivane-Delivery-Id headers, and on non-2xx response retries with exponential backoff (1 min, 5 min, 30 min, 2 h, 24 h
Control 3retry schedule: 1 min, 5 min, 30 min, 2 h, 24 h (configurablewhen 50 consecutive deliveries fail, the endpoint is circuit-broken and the developer alerted
Control 4manual re-delivery available from the portal for any event within 72 hnegative) when a developer registers an endpoint without completing the challenge-response verification, then the endpoint status remains UNVERIFIED and no events are delivered.
Control 5
payload is idempotent - includes event_id for deduplication by receiver
Third-party systems receive real-time financial events with guaranteed delivery; integration engineers debug failed deliveries without Rivane support involvement.
Control 6webhook endpoint verified via challenge-response on registrationThird-party systems receive real-time financial events with guaranteed delivery; integration engineers debug failed deliveries without Rivane support involvement.

Audit evidence is a chain, not a folder.

Evidence layerWhat should be preserved
Business event
Developer registers a webhook endpoint URL and selects event types (e.g., invoice.created, payment.posted, bank_transfer.completed). When a matching event occurs, Rivane enqueues a webhook delivery job. The worker signs the payload with HMAC-SHA256 using a per-endpoint secret and POSTs to the URL with Rivane-Signature and Rivane-Delivery-Id headers. On non-2xx response or timeout, the worker retries with exponential backoff (5 attempts over 24 h). Delivery attempts (status code, latency, error) are logged and visible in the developer portal. Undeliverable webhooks after exhausting retries trigger an alert to the developer.
Control rules
HMAC-SHA256 signature per delivery using a per-endpoint rotating secret;
delivery attempt log retained 30 days;
retry schedule: 1 min, 5 min, 30 min, 2 h, 24 h (configurable);
manual re-delivery available from the portal for any event within 72 h;
payload is idempotent - includes event_id for deduplication by receiver;
webhook endpoint verified via challenge-response on registration;
delivery throughput ≥10,000 events/min at p99 ≤5 s end-to-end latency;
circuit breaker disables endpoint after 50 consecutive failures.
Acceptance proof
Given a webhook endpoint registered for invoice.created events;
when an invoice is created, then Rivane enqueues a signed delivery within 5 s, POSTs with Rivane-Signature and Rivane-Delivery-Id headers, and on non-2xx response retries with exponential backoff (1 min, 5 min, 30 min, 2 h, 24 h);
when 50 consecutive deliveries fail, the endpoint is circuit-broken and the developer alerted;
(negative) when a developer registers an endpoint without completing the challenge-response verification, then the endpoint status remains UNVERIFIED and no events are delivered.
Data record
webhook_endpoint { endpoint_id: string, org_id: string, url: string, secret_hash: string, event_types: string[], status: enum(ACTIVE,UNVERIFIED,CIRCUIT_BROKEN), external_id: string };
webhook_delivery { delivery_id: string, endpoint_id: string, event_id: string, event_type: string, payload_hash: string, attempt_count: int, last_status_code: int, last_attempted_at: timestamp, status: enum(PENDING,DELIVERED,FAILED,RETRYING) };
(reference, product may differ).
System event
POST /v1/webhook-endpoints { url, event_types[], secret } -> 201 { endpoint_id, challenge };
POST /v1/webhook-endpoints/{id}/verify { challenge_response } -> 200;
GET /v1/webhook-endpoints/{id}/deliveries;
POST /v1/webhook-deliveries/{id}/redeliver -> 202;
emits webhook.delivery_failed alert after exhausting retries;
idempotent via event_id in payload.
Lifecycle state
UNVERIFIED -> ACTIVE;
degraded CIRCUIT_BROKEN;
terminal DISABLED;
guard: endpoint must complete challenge-response before receiving events;
circuit breaker after 50 consecutive failures;
manual redeliver available within 72 h.

The useful version of this workflow is not only fast. It is inspectable. A controller, auditor, or operator should be able to move from source event to system record to state transition to final business outcome without guessing.

Implementation contracts.

Reference data model

`webhook_endpoint` { endpoint_id: string, org_id: string, url: string, secret_hash: string, event_types: string[], status: enum(ACTIVE,UNVERIFIED,CIRCUIT_BROKEN), external_id: string }; `webhook_delivery` { delivery_id: string, endpoint_id: string, event_id: string, event_type: string, payload_hash: string, attempt_count: int, last_status_code: int, last_attempted_at: timestamp, status: enum(PENDING,DELIVERED,FAILED,RETRYING) }; (reference, product may differ).

API and events

`POST /v1/webhook-endpoints` { url, event_types[], secret } -> 201 { endpoint_id, challenge }; `POST /v1/webhook-endpoints/{id}/verify` { challenge_response } -> 200; `GET /v1/webhook-endpoints/{id}/deliveries`; `POST /v1/webhook-deliveries/{id}/redeliver` -> 202; emits `webhook.delivery_failed` alert after exhausting retries; idempotent via `event_id` in payload.

State transitions

`UNVERIFIED -> ACTIVE`; degraded `CIRCUIT_BROKEN`; terminal `DISABLED`; guard: endpoint must complete challenge-response before receiving events; circuit breaker after 50 consecutive failures; manual redeliver available within 72 h.

Common implementation traps.

Treating the workflow as data entry

If the ERP only stores the final record, the team loses the decision trail that explains how the record became valid.

Hiding exception logic

Exceptions need owners, reason codes, and time stamps. A vague pending state is not a control.

Posting without recovery design

Retries, duplicate submissions, and partial failures must be explicit so the system does not create inconsistent records.

Skipping evidence design

A workflow that cannot produce evidence on demand will eventually push finance teams back into manual screenshots and spreadsheets.

Where Rivane fits.

Rivane is built for finance workflows where automation must stay tied to source documents, approvals, state transitions, ledger impact, reporting, and audit evidence. Use this guide as a checklist for evaluating whether an ERP workflow is merely digitized or actually controlled.

References and source basis.

These sources provide the standards, regulatory, or government context around the flow. They are included so the guide is useful to finance operators, auditors, and implementation teams, not only buyers reading software copy.

Back to ERP use cases