Set up a webhook
Checking without an account and API
A webhook is an address of your own software to which Revobill sends messages, instead of your software asking all the time. Revobill reports every newly checked invoice ("Invoice checked") and every finished or failed export ("Export finished"). Only the owner manages the webhook, and your company details must be saved.
How to set it up
- Open Settings › Webhook.
- Enter the webhook address and click "Save address". It must begin with
https://, must not name a port other than 443, must be reachable from the internet, must not contain a username or password and must not redirect. At most 2048 characters. - Copy the signing secret right away. It is shown only once. Enter it in your software so that it recognizes the messages as genuine. If it gets lost, you generate a new one with "Generate new secret". The old one then no longer applies.
- Have your software answer every message with a 2xx status, within 10 seconds.
Every message is signed (HMAC-SHA256 with the secret). How to check the signature is described with an example in the API guide. As long as no address is entered, Revobill collects no messages. After you enter one, messages arrive for everything that happens from then on.
If messages do not arrive
If your software does not answer or answers with an error, Revobill repeats the message: first after one minute, then at ever longer intervals up to four hours. Revobill delivers one message after another. A message that does not arrive holds back all later ones, so that nothing overtakes. If the outage lasts 24 hours, the owner gets exactly one email without invoice data.
Under "Delivery" the page shows the outage, the open messages, the last error and the next attempt. There are two buttons:
- "Deliver now" starts delivery immediately.
- "Skip oldest message" helps when the oldest message is stuck permanently, for example because your receiver always rejects it. The invoice stays in the archive and can be retrieved through the API, only the message about it is dropped. This cannot be undone.
Good to know
- Revobill delivers at least once. Recognize a repetition by the identifier
event_idand process it only once. - "Delete address" ends the webhook. Open messages are discarded.
- If your account is locked, you can deliver and skip messages but not change the address.
- Every change appears in the log.
You create keys for the interface under API keys.
More articles in "Checking without an account and API"
- Check a single e-invoice without an accountHow to check an XRechnung or ZUGFeRD invoice for free in your browser, without the file leaving your device, and what the check does not cover.
- View an XRechnung with the viewerHow to make an XRechnung or ZUGFeRD invoice readable, for free and without an account, without the file being uploaded.
- Create API keys and keep an eye on the allowanceHow the owner creates an API key for your own software, chooses rights and expiry, and keeps track of requests and the cost of checks.
- Costs and limits of the validation APIWhat API checks cost, which free allowance applies and which limits apply to volume, file size and requests per minute.
Try it free for 30 days
Try Revobill with your own invoices, no payment method needed.