Expenses

expense.submitted

This event is triggered when an expense is submitted by an employee.

postWebhookexpense.submitted

Payload

company_idstring required

The unique identifier of the related company.

employment_idstring required

The unique identifier of the related employment.

event_typestring required

The webhook event type identifier.

expense_idstring required

The unique identifier of the related expense.

Example payload

{
  "company_id": "d2091b1e-b1a4-437a-91ea-2809ffbb6d59",
  "employment_id": "2614f814-b08e-4c8e-8c4d-ddbcc4692d99",
  "event_type": "expense.submitted",
  "expense_id": "129d02bc-dd6a-11ed-ac99-cb057df06a33"
}

Response

Any 200 response confirms that the webhook was delivered.

Changes

Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.