Skip to content
Kaizena FlowDocs
Search

Search the docs

work_invoice.credited

Work invoice credited: a credit note was issued against a Work invoice.

  • Topic: work_invoice.credited, in the Kaizena-Webhook-Topic header and the body's topic

  • Sent to: Your own endpoints

  • About: the work_invoice, under data.work_invoice

  • Payload version: 1

Payload

FieldTypeDescription
idstring (uuid)The delivery's id: the same when a delivery is sent again, so a receiver can do it once.
topic"work_invoice.credited"
version1The payload's version; a change to a shape raises it.
storeobject
store.slugstring
store.namestring
created_atstring (date-time)When the event happened.
dataobject
data.work_invoiceobject
data.work_invoice.idstring (uuid)
data.work_invoice.numberstring or nullThe invoice's number, such as W-1042; null for a draft.
data.work_invoice.statusone of draft, sent, paid, void, lost
data.work_invoice.client_idstring (uuid)
data.work_invoice.assignment_idstring (uuid) or null
data.work_invoice.currencystring
data.work_invoice.subtotalnumberAn amount in the currency's units, such as 199.5 (not minor units).
data.work_invoice.vatnumberAn amount in the currency's units, such as 199.5 (not minor units).
data.work_invoice.totalnumberAn amount in the currency's units, such as 199.5 (not minor units).
data.work_invoice.paidnumberWhat payments have covered.
data.work_invoice.creditednumberWhat credit notes have taken off.
data.work_invoice.issued_onstring or nullA date, YYYY-MM-DD.
data.work_invoice.due_onstring or nullA date, YYYY-MM-DD.
data.work_invoice.sent_atstring (date-time) or null
data.work_invoice.paid_atstring (date-time) or null
data.work_invoice.admin_urlstringWhere it is in the store's admin; empty in a sample.

Example

{
  "id": "3f2b8c1e-6d4a-4b9e-8c7f-1a2b3c4d5e6f",
  "topic": "work_invoice.credited",
  "version": 1,
  "store": {
    "slug": "your-store",
    "name": "Example"
  },
  "created_at": "2026-11-03T09:30:00Z",
  "data": {
    "work_invoice": {
      "id": "3f2b8c1e-6d4a-4b9e-8c7f-1a2b3c4d5e6f",
      "number": "W-1042",
      "status": "draft",
      "client_id": "17b828d8-0b79-4604-9706-33b5c550ad85",
      "assignment_id": "c0bdaab6-cce1-4a00-8793-b9eb02207b59",
      "currency": "NOK",
      "subtotal": 199.5,
      "vat": 199.5,
      "total": 199.5,
      "paid": 1,
      "credited": 1,
      "issued_on": "example",
      "due_on": "example",
      "sent_at": "2026-11-03T09:30:00Z",
      "paid_at": "2026-11-03T09:30:00Z",
      "admin_url": "https://kaizenaflow.com/admin/your-store"
    }
  }
}

Every value is an example of its type, not a real store's.

Signature and retries

Each delivery carries the headers every topic has and is signed: check the signature before you trust it. One not answered with a 2xx status is tried again.

Made from the API contract, version 1.57This page as Markdown

Was this page helpful?