Skip to main content

Webhook events

Every event a webhook can be told about, with the version and the shape of its data. The same catalogue, as JSON, is served by your installation at GET /api/v1/webhooks/catalogue and committed as docs/_generated/webhook-events.json; the subscription screen on Settings → Integrations → Webhooks shows it. Subscribe to one event, or to a family with family.*.

What a receiver is sent​

A POST with a JSON body:

{
"id": "0190f1d2-1111-7000-8000-000000000000",
"type": "accounting.auditor_pack_requested",
"version": 1,
"occurred_at": "2026-11-03T14:00:00+00:00",
"entity_id": "0190f1d2-2222-7000-8000-000000000000",
"data": {
"pack_id": "0190f1d2-0000-7000-8000-000000000000"
}
}
  • id is the event's own id. Deliveries are at least once: if you see an id twice, you have already handled it.
  • version is the version of data below. A new version changes data in a way you need to know about; new fields can arrive in any version, so ignore the ones you do not know.
  • data carries identifiers, not documents: read the order through the API with the id it names. Events outlive their payloads, and a webhook is not a place to copy customers' details.

Checking the signature​

Every request carries ERP-Signature: t=<unix seconds>,v1=<hex>, where the hex is HMAC-SHA256 over "<t>." + body with the webhook's signing secret (shown once, when the webhook was added or its secret rotated). Check it on the raw body, before parsing it, and refuse anything more than five minutes old:

import hashlib, hmac, time

def verify(secret: str, header: str, body: bytes, tolerance: int = 300) -> bool:
fields = dict(part.split("=", 1) for part in header.split(","))
timestamp = int(fields["t"])
if abs(time.time() - timestamp) > tolerance:
return False
expected = hmac.new(secret.encode(), f"{timestamp}.".encode() + body, hashlib.sha256)
return hmac.compare_digest(expected.hexdigest(), fields.get("v1", ""))
import { verifyWebhookSignature } from '@erp/sdk'

const ok = await verifyWebhookSignature({ secret, header, body: rawBody })

Answer any 2xx within ten seconds and the delivery is done. Anything else is tried again — 7 attempts in all, after 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours and 12 hours — and then held as failed, where an administrator can send it again.

Events​

accounting.*​

accounting.auditor_pack_requested — version 1​

An auditor pack was asked for and is waiting to be built.

FieldTypeAlways sent
pack_idstring (uuid)yes

accounting.bill_mail_received — version 1​

A message was sent to the company's bill address and is waiting to be read.

FieldTypeAlways sent
delivery_idstring (uuid)yes

address.*​

address.needs_geocoding — version 1​

An address was added or changed and has not been put on a map yet.

FieldTypeAlways sent
address_idstring (uuid)yes

bank_account.*​

bank_account.closed — version 1​

A bank account was closed.

FieldTypeAlways sent
bank_account_idstring (uuid)yes

bank_account.created — version 1​

A bank account was added.

FieldTypeAlways sent
bank_account_idstring (uuid)yes

bank_lines.*​

bank_lines.ingested — version 1​

New lines arrived for a bank account, from a feed or a statement.

FieldTypeAlways sent
bank_account_idstring (uuid)yes
addedintegeryes
possible_duplicatesintegeryes

bank_matching.*​

bank_matching.requested — version 1​

Something a bank line could be matched to was posted: the matcher runs on the account.

FieldTypeAlways sent
bank_account_idstring (uuid)yes
reasonstringyes

brand.*​

brand.merged — version 1​

Two brands were merged. The merged one now resolves to the survivor, and every item and rule that named it names the survivor.

FieldTypeAlways sent
survivor_idstring (uuid)yes
merged_idstring (uuid)yes
survivor_codestringyes
merged_codestringyes

count.*​

count.applied — version 1​

A stock count was applied and the book corrected.

FieldTypeAlways sent
count_idstring (uuid)yes
numberstringyes
site_idstring (uuid)yes
lines_adjustedintegeryes

credit_memo.*​

credit_memo.status_changed — version 1​

A credit memo was raised, or its state or settlement moved.

FieldTypeAlways sent
credit_memo_idstring (uuid)yes
customer_idstring (uuid)yes
credit_of_idstring (uuid) or nullyes
changeone of created, updated, deletedyes
fieldslist of stringno
statestringyes
settlementstringyes

custom_report.*​

custom_report.delivery_due — version 1​

A scheduled custom report is due to be emailed.

FieldTypeAlways sent
schedule_idstring (uuid)yes
run_onstring (date)yes

customer.*​

customer.approved — version 1​

A new account was approved and may now trade.

FieldTypeAlways sent
customer_idstring (uuid)yes
numberstringyes

customer.certificate_expiring — version 1​

An exemption certificate expires soon, or already has.

FieldTypeAlways sent
customer_idstring (uuid)yes
certificate_idstring (uuid)yes
jurisdictionstringyes
expires_onstring (date)yes
days_remainingintegeryes

customer.held — version 1​

An account was put on credit hold and cannot order.

FieldTypeAlways sent
customer_idstring (uuid)yes
numberstringyes

customer.licence_expiring — version 1​

A customer's licence expires soon, or already has.

FieldTypeAlways sent
customer_idstring (uuid)yes
licence_idstring (uuid)yes
ship_to_idstring (uuid) or nullyes
licence_typestringyes
issuing_statestringyes
expires_onstring (date)yes
days_remainingintegeryes

customer.merged — version 1​

Two customers were merged. The loser now resolves to the survivor.

FieldTypeAlways sent
survivor_idstring (uuid)yes
merged_idstring (uuid)yes

customer.released — version 1​

An account came off credit hold.

FieldTypeAlways sent
customer_idstring (uuid)yes
numberstringyes

customer_invoice.*​

customer_invoice.status_changed — version 1​

A customer invoice was raised, or its state, settlement or dispute moved.

FieldTypeAlways sent
invoice_idstring (uuid)yes
customer_idstring (uuid)yes
order_idstring (uuid) or nullyes
kindstringyes
changeone of created, updated, deletedyes
fieldslist of stringno
statestringyes
settlementstringyes
is_disputedbooleanyes

customer_licence.*​

customer_licence.changed — version 1​

A customer's licence on file was added, edited or removed.

FieldTypeAlways sent
customer_idstring (uuid)yes
licence_idstring (uuid)yes
changeone of created, updated, deletedyes

dunning.*​

dunning.send_due — version 1​

A dunning reminder is ready to send: a step of an approved sequence came due on the hourly run, a person sent it from collections, or a person released it after reviewing the first run after an opening import.

FieldTypeAlways sent
send_idstring (uuid)yes

example.*​

example.document_approved — version 1​

An example document was approved, automatically or by a person.

FieldTypeAlways sent
document_idstring (uuid)yes
numberstringyes
document_datestring (date)yes

group_payment_run.*​

group_payment_run.released — version 1​

A group payment run was released in the paying company. Each company whose bills it paid records the supplier payments against those bills, owed to the paying company instead of paid from its own bank, in its own database.

FieldTypeAlways sent
run_idstring (uuid)yes
member_entity_idstring (uuid)yes

intercompany_document.*​

intercompany_document.posted — version 1​

An intercompany invoice, bill, journal or netting posted in one company. Its mirror is made in the counterparty company, in that company's own database.

FieldTypeAlways sent
document_idstring (uuid)yes
counterparty_entity_idstring (uuid)yes

item.*​

item.changed — version 1​

An item was created, edited or removed. Names the columns that changed.

FieldTypeAlways sent
item_idstring (uuid)yes
changeone of created, updated, deletedyes
fieldslist of stringno

item.deleted — version 1​

An item nothing referred to was deleted from the catalogue.

FieldTypeAlways sent
item_idstring (uuid)yes
skustringyes
template_idstring (uuid) or nullyes

item_attribute.*​

item_attribute.changed — version 1​

An item's custom-field attributes, tags or variant values changed.

FieldTypeAlways sent
item_idstring (uuid)yes
sourcestringyes

item_availability.*​

item_availability.changed — version 1​

Stock of an item moved, or was reserved or released: what can be promised changed.

FieldTypeAlways sent
item_idstring (uuid)yes
location_idslist of string (uuid)no

item_category.*​

item_category.merged — version 1​

Two collections were merged. The merged one now resolves to the survivor; its items, sub-collections and the rules that named it moved across.

FieldTypeAlways sent
survivor_idstring (uuid)yes
merged_idstring (uuid)yes
survivor_codestringyes
merged_codestringyes

item_image.*​

item_image.changed — version 1​

An item's primary image or gallery changed.

FieldTypeAlways sent
item_idstring (uuid)yes
attachment_idstring (uuid) or nullno

item_tag.*​

item_tag.merged — version 1​

Two item tags were merged. The merged one now resolves to the survivor, which every item that wore either now wears.

FieldTypeAlways sent
survivor_idstring (uuid)yes
merged_idstring (uuid)yes
survivor_codestringyes
merged_codestringyes

kb.*​

kb.needs_embedding — version 1​

A customer article was written or revised and has no current vector.

FieldTypeAlways sent
article_idstring (uuid)yes

ledger.*​

ledger.manual_journal_approved — version 1​

A second person approved a manual journal.

FieldTypeAlways sent
journal_idstring (uuid)yes
numberstringyes
amountnumber or stringyes
currencystringyes
entry_idstring (uuid) or nullno

ledger.manual_journal_posted — version 1​

A manual journal posted to the ledger.

FieldTypeAlways sent
journal_idstring (uuid)yes
numberstringyes
amountnumber or stringyes
currencystringyes
entry_idstring (uuid) or nullno

ledger.manual_journal_rejected — version 1​

A second person sent a manual journal back to its preparer.

FieldTypeAlways sent
journal_idstring (uuid)yes
numberstringyes
amountnumber or stringyes
currencystringyes
entry_idstring (uuid) or nullno

ledger.manual_journal_reversed — version 1​

A posted manual journal was reversed.

FieldTypeAlways sent
journal_idstring (uuid)yes
numberstringyes
amountnumber or stringyes
currencystringyes
entry_idstring (uuid) or nullno

ledger.manual_journal_submitted — version 1​

A manual journal was sent to a second person for approval.

FieldTypeAlways sent
journal_idstring (uuid)yes
numberstringyes
amountnumber or stringyes
currencystringyes
entry_idstring (uuid) or nullno

lot.*​

lot.expiring — version 1​

A lot with stock on hand is nearing its expiry date, or past it.

FieldTypeAlways sent
lot_idstring (uuid)yes
item_idstring (uuid)yes
lot_numberstringyes
expires_onstring (date)yes
days_leftintegeryes

notification.*​

notification.dispatch — version 2​

A notification is ready to send on a channel that leaves the building.

FieldTypeAlways sent
notification_idstring (uuid)yes
channelone of in_app, email, sms, pushyes
user_idstring (uuid)yes

payment.*​

payment.approved — version 2​

A card or bank payment was approved by the processor.

FieldTypeAlways sent
attempt_idstring (uuid)yes
customer_idstring (uuid)yes
amountnumber or stringyes
currencystringyes
receipt_idstring (uuid) or nullno
order_idstring (uuid) or nullno

payment.declined — version 2​

The processor declined a payment.

FieldTypeAlways sent
attempt_idstring (uuid)yes
customer_idstring (uuid)yes
amountnumber or stringyes
currencystringyes
receipt_idstring (uuid) or nullno
order_idstring (uuid) or nullno

payment.refunded — version 2​

A payment was refunded, in full or in part.

FieldTypeAlways sent
attempt_idstring (uuid)yes
customer_idstring (uuid)yes
amountnumber or stringyes
currencystringyes
receipt_idstring (uuid) or nullno
order_idstring (uuid) or nullno

payment.returned — version 2​

The payer's bank sent a bank debit back.

FieldTypeAlways sent
attempt_idstring (uuid)yes
customer_idstring (uuid)yes
amountnumber or stringyes
currencystringyes
receipt_idstring (uuid) or nullno
order_idstring (uuid) or nullno

payment.voided — version 2​

A payment was voided before it settled.

FieldTypeAlways sent
attempt_idstring (uuid)yes
customer_idstring (uuid)yes
amountnumber or stringyes
currencystringyes
receipt_idstring (uuid) or nullno
order_idstring (uuid) or nullno

pick_list.*​

pick_list.released — version 1​

A pick list was released to the floor.

FieldTypeAlways sent
pick_list_idstring (uuid)yes
numberstringyes
site_idstring (uuid)yes
linesintegeryes

price_list.*​

price_list.changed — version 1​

A price list was added or removed, became or stopped being the default, was switched on or off, or its default percentage off list price changed.

FieldTypeAlways sent
price_list_idstring (uuid)yes
changeone of created, updated, deletedyes
fieldslist of stringno

price_list_price.*​

price_list_price.changed — version 1​

A price on a price list was added, changed or removed.

FieldTypeAlways sent
price_list_idstring (uuid)yes
item_idstring (uuid)yes
price_idstring (uuid)yes
changeone of created, updated, deletedyes

price_rule.*​

price_rule.changed — version 1​

A pricing rule was added, changed or removed.

FieldTypeAlways sent
rule_idstring (uuid)yes
changeone of created, updated, deletedyes

product_registry.*​

product_registry.changed — version 1​

A state product directory's place, coverage, requirement or dates changed.

FieldTypeAlways sent
registry_idstring (uuid)yes
changeone of created, updated, deletedyes

product_type.*​

product_type.changed — version 1​

A category's parent, regulated category or tax category changed.

FieldTypeAlways sent
product_type_idstring (uuid)yes
fieldslist of stringno

purchase_order.*​

purchase_order.approved — version 1​

A purchase order was approved. Money is committed from this point.

FieldTypeAlways sent
order_idstring (uuid)yes
numberstringyes
vendor_idstring (uuid)yes
totalstringyes
currencystringyes

purchase_order.cancelled — version 1​

A purchase order was abandoned. Nothing should arrive against it.

FieldTypeAlways sent
order_idstring (uuid)yes
numberstringyes
vendor_idstring (uuid)yes

purchase_order.sent — version 1​

A purchase order went to the supplier. Part 3 receives against it.

FieldTypeAlways sent
order_idstring (uuid)yes
numberstringyes
vendor_idstring (uuid)yes
revisionintegeryes

putaway.*​

putaway.completed — version 1​

Goods received at the dock were put on their shelf.

FieldTypeAlways sent
receipt_idstring (uuid)yes
receipt_line_idstring (uuid) or nullyes
item_idstring (uuid) or nullyes
quantitynumber or string or nullyes
to_location_idstring (uuid)yes
handling_unit_idstring (uuid) or nullno

receipt.*​

receipt.posted — version 1​

A purchase receipt was posted: the goods are ours.

FieldTypeAlways sent
receipt_idstring (uuid)yes
numberstringyes
vendor_idstring (uuid)yes
site_idstring (uuid)yes
order_idstring (uuid) or nullyes
received_onstring (date)yes
linesintegeryes

sales_order.*​

sales_order.status_changed — version 1​

A sales order was placed, or its state, fulfilment, hold or approval moved.

FieldTypeAlways sent
order_idstring (uuid)yes
customer_idstring (uuid)yes
channelstring or nullyes
changeone of created, updated, deletedyes
fieldslist of stringno
statestringyes
fulfilmentstringyes
fulfilment_stagestring or nullyes
is_heldbooleanyes
awaiting_approvalbooleanyes

saved_report.*​

saved_report.delivery_due — version 1​

A scheduled custom report is due to be emailed.

FieldTypeAlways sent
schedule_idstring (uuid)yes
run_onstring (date)yes

shipment.*​

shipment.status_changed — version 1​

A shipment went out against a sales order, or its carrier or tracking changed.

FieldTypeAlways sent
shipment_idstring (uuid)yes
order_idstring (uuid)yes
changeone of created, updated, deletedyes
fieldslist of stringno

stock.*​

stock.moved — version 1​

Stock moved on the ledger: received, put away, picked, shipped.

FieldTypeAlways sent
move_idstring (uuid)yes
item_idstring (uuid)yes
quantitynumber or stringyes
from_location_idstring (uuid)yes
to_location_idstring (uuid)yes
moved_onstring (date)yes
lot_idstring (uuid) or nullno
from_handling_unit_idstring (uuid) or nullno
to_handling_unit_idstring (uuid) or nullno
source_typestring or nullno
source_idstring (uuid) or nullno

stock.status_changed — version 1​

Stock changed status: put on hold, found damaged, released to be sold.

FieldTypeAlways sent
move_idstring (uuid)yes
item_idstring (uuid)yes
quantitynumber or stringyes
location_idstring (uuid)yes
from_statusstringyes
to_statusstringyes
lot_idstring (uuid) or nullno

transfer.*​

transfer.received — version 1​

A transfer arrived at the site it was sent to.

FieldTypeAlways sent
transfer_idstring (uuid)yes
numberstringyes
from_site_idstring (uuid)yes
to_site_idstring (uuid)yes
completebooleanno

transfer.shipped — version 1​

A transfer left its site and is on the road.

FieldTypeAlways sent
transfer_idstring (uuid)yes
numberstringyes
from_site_idstring (uuid)yes
to_site_idstring (uuid)yes
completebooleanno

vendor.*​

vendor.approved — version 1​

A supplier was approved. Purchase orders may now name it.

FieldTypeAlways sent
vendor_idstring (uuid)yes
numberstringyes

vendor.held — version 1​

A supplier was put on hold. Nothing new is ordered from it.

FieldTypeAlways sent
vendor_idstring (uuid)yes
numberstringyes

vendor.licence_expiring — version 1​

A supplier's licence expires soon, or already has.

FieldTypeAlways sent
vendor_idstring (uuid)yes
licence_idstring (uuid)yes
licence_typestringyes
issuing_statestringyes
expires_onstring (date)yes
days_remainingintegeryes

vendor.merged — version 1​

Two suppliers were merged. The loser now resolves to the survivor.

FieldTypeAlways sent
survivor_idstring (uuid)yes
merged_idstring (uuid)yes

vendor.released — version 1​

A supplier came off hold.

FieldTypeAlways sent
vendor_idstring (uuid)yes
numberstringyes

vendor_portal.*​

vendor_portal.payment_sent — version 1​

A payment to a supplier with supplier-portal access posted; its people are emailed.

FieldTypeAlways sent
payment_idstring (uuid)yes
vendor_idstring (uuid)yes

warehouse_task.*​

warehouse_task.claimed — version 1​

Somebody, or something, took a warehouse task from the queue.

FieldTypeAlways sent
task_idstring (uuid)yes
numberstringyes
task_typestringyes
statestringyes
site_idstring (uuid)yes
item_idstring (uuid) or nullyes
handling_unit_idstring (uuid) or nullyes
quantitynumber or string or nullyes
from_location_idstring (uuid) or nullyes
to_location_idstring (uuid) or nullyes
origin_typestring or nullyes
origin_idstring (uuid) or nullyes
priorityintegeryes
assignee_kindstring or nullno
assignee_idstring (uuid) or nullno
done_quantitynumber or string or nullno
done_to_location_idstring (uuid) or nullno

warehouse_task.completed — version 1​

A warehouse task was done. The stock has moved.

FieldTypeAlways sent
task_idstring (uuid)yes
numberstringyes
task_typestringyes
statestringyes
site_idstring (uuid)yes
item_idstring (uuid) or nullyes
handling_unit_idstring (uuid) or nullyes
quantitynumber or string or nullyes
from_location_idstring (uuid) or nullyes
to_location_idstring (uuid) or nullyes
origin_typestring or nullyes
origin_idstring (uuid) or nullyes
priorityintegeryes
assignee_kindstring or nullno
assignee_idstring (uuid) or nullno
done_quantitynumber or string or nullno
done_to_location_idstring (uuid) or nullno

warehouse_task.created — version 1​

A warehouse task was raised: something is to be put, picked or moved.

FieldTypeAlways sent
task_idstring (uuid)yes
numberstringyes
task_typestringyes
statestringyes
site_idstring (uuid)yes
item_idstring (uuid) or nullyes
handling_unit_idstring (uuid) or nullyes
quantitynumber or string or nullyes
from_location_idstring (uuid) or nullyes
to_location_idstring (uuid) or nullyes
origin_typestring or nullyes
origin_idstring (uuid) or nullyes
priorityintegeryes
assignee_kindstring or nullno
assignee_idstring (uuid) or nullno
done_quantitynumber or string or nullno
done_to_location_idstring (uuid) or nullno

warehouse_task.failed — version 1​

A warehouse task could not be done as given. Nothing moved.

FieldTypeAlways sent
task_idstring (uuid)yes
numberstringyes
task_typestringyes
statestringyes
site_idstring (uuid)yes
item_idstring (uuid) or nullyes
handling_unit_idstring (uuid) or nullyes
quantitynumber or string or nullyes
from_location_idstring (uuid) or nullyes
to_location_idstring (uuid) or nullyes
origin_typestring or nullyes
origin_idstring (uuid) or nullyes
priorityintegeryes
assignee_kindstring or nullno
assignee_idstring (uuid) or nullno
done_quantitynumber or string or nullno
done_to_location_idstring (uuid) or nullno

workflow.*​

workflow.approval_decided — version 2​

An approval request was approved or rejected.

FieldTypeAlways sent
request_idstring (uuid)yes
workflow_keystringyes
record_typestringyes
record_idstring (uuid)yes
approvedbooleanyes
decided_bystring (uuid) or nullno
batch_idstring (uuid) or nullno

workflow.approval_requested — version 3​

A transition is waiting for someone to approve it.

FieldTypeAlways sent
request_idstring (uuid)yes
workflow_keystringyes
transitionstringyes
record_typestringyes
record_idstring (uuid)yes
awaiting_rolestringyes
requested_bystring (uuid) or nullno
awaiting_peoplelist of string (uuid)no
step_sequenceinteger or nullno
step_keystring or nullno
batch_idstring (uuid) or nullno

workflow.approval_step_signed — version 1​

One step of an approval was signed and the next is waiting.

FieldTypeAlways sent
request_idstring (uuid)yes
workflow_keystringyes
record_typestringyes
record_idstring (uuid)yes
step_sequenceintegeryes
stepsintegeryes
decided_bystring (uuid) or nullno

workflow.record_transitioned — version 1​

A record moved from one state to another.

FieldTypeAlways sent
workflow_keystringyes
transitionstringyes
record_typestringyes
record_idstring (uuid)yes
from_statestringyes
to_statestringyes