A customer changed
A customer was created, changed, switched off or deleted, in Tabba or on the accounting platform, where a change is seen at the next import. data is the customer as GET /customers/{ref} answers it, with archived_at and deleted_at. Two changes in quick succession may both carry the later state.
Header Parameters
t=<unix seconds>,v1=<hex>: v1 is the HMAC-SHA256, in hex, of <t>.<body> under the endpoint's signing secret, where <body> is the request body byte for byte. Verify it before you trust the body, and refuse a t more than 300 seconds from your own clock. A retry and a replay carry the same body under a new signature.
The event's id, as in the body.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
Example Requests
/customer.updatedA credit note was booked Webhook
The accounting platform booked a credit note: one an admin or a key asked for, or one a recurring series' end queued. Sent once per credit note.
An invoice was issued Webhook
The accounting platform booked the invoice: by the daily run, by an admin at the desk, or by a call to the issue route. Sent once per invoice. `data` is the invoice as `GET /invoices/{ref}` answers it.