Skip to content

Black Friday.Get 70% off your first two months70% off70% off your first 2 months

Get my 70%Get it
Ends 30 NovemberSales+34 608 911 052

Black Friday

Start with 70% off your first two months

Try Factuarea for 10 days with no card and, if you choose the monthly plan, pay only 30% of your first two months. On the annual plan, the discount equals two months at 70%.

Get my 70%See pricing

For new sign-ups until 30 November

Ends in

Esencial monthly: €2.97 a month for the first two months, instead of €9.90Annual: €83.74 for the first year, instead of €94.80Prices exclude VAT.

Factuarea webhooks

Invoicing webhooks. Your business responds to change

A paid invoice, an approved quote or a received payment can start your next process. Connect your ERP, CRM or application with signed Factuarea events.

  • HMAC-SHA256 signatures
  • Automatic retries
  • Query and replay through the API

Compatible integrations and formats

  • Stripe
  • WhatsAppWhatsApp
  • Facturae

Something happens in your account, like an invoice being paid, and an event with its own identifier is born.

Event
{ "id": "0199a4c1-7f3e-7c2a-9d16-2b8f0e5a4d31", "object": "event", "type": "invoice.paid", "api_version": "2026-05-22", "livemode": true, "data": { "invoice": { "id": "inv_01hq…" } }}

Delivery under control

When your server fails, you can follow the trail

Inspect the HTTP response, attempt and next retry. After resolving the issue, you can replay a delivery through the API.

  • 8×

    Up to eight attempts per delivery

    Network failures, 5xx, 408, 425 and 429 responses retry with backoff. Other 4xx responses stop that delivery so you can fix the receiver.

  • ID

    One event, even if it arrives more than once

    The event ID stays stable. Store it to deduplicate; a manual replay creates another delivery for that same event.

  • 30 d

    Recover context through the API

    The event log lets you query the last 30 days. If an endpoint is degraded, a ping with a 2xx response lets you recover it.

Configure retries and replays
Delivery loginvoice.paid
  1. First attempt · Retry scheduled in ~1 min503
  2. Retry · Next in ~5 min503
  3. Retry · Delivery completed200 OK
Delay after each failed attempt
  • 1 min
  • 5 min
  • 30 min
  • 2 h
  • 12 h
  • 1 d
  • 3 d
Base intervals with ±10 % jitter.

A receiver that verifies before acting

Verified signatures. Secrets you can rotate

Use the raw body, the Factuarea-Signature header and the endpoint secret. The SDKs check HMAC-SHA256 and a default timestamp tolerance of five minutes.

Verify the signature
import { verifyWebhook } from "@factuarea/sdk";// Request / Web APIconst rawBody = await request.text();const signature = request.headers.get("Factuarea-Signature") ?? "";const event = verifyWebhook( rawBody, signature, process.env.FACTUAREA_WEBHOOK_SECRET!,);console.log(event.id, event.type);
An invalid signature makes the verifier throw. Handle that error before processing the event; persist or queue the work, then respond with 2xx.

HMAC-SHA256 verification in four steps

  1. 01

    Sign over the raw body

    The HMAC is computed over the bytes that arrived, not over the JSON your framework already parsed and serialised again.

  2. 02

    Compare in constant time

    timingSafeEqual, hash_equals or whatever your language brings to compare without leaking where it fails.

  3. 03

    Look at the clock

    The header carries t with the UNIX moment of the delivery. Reject it if more than 300 seconds have gone by.

  4. 04

    Accept either v1

    For the 24 hours after a rotation the header carries two signatures. It is enough for one of them to match.

Before going live

Common webhook questions

Still have a question?

A person on the team answers, on any plan. Write to us the way you would to a colleague.

Message us on WhatsApp+34 608 911 052

Monday to Friday, 9:00 to 18:00

Verify the Factuarea-Signature header with HMAC-SHA256, the unmodified body and a five-minute tolerance. The official SDKs include the verifier to avoid serialisation differences.

A more connected business

Make every change reach your system

Prepare your receiver, choose events and verify the connection with a ping. The documentation covers everything from signatures to recovering deliveries.

Try free for 10 daysGet my 70%

No card requiredA real person helps you

Questions before you get started?Read the webhooks guide