Employments

employment.eor_hiring.invoice_created

This event is triggered when a invoice report is created for a employment.

postWebhookemployment.eor_hiring.invoice_created

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.

invoice_report_idstring required

The unique identifier of the invoice report.

Example payload

{
  "company_id": "f2a1b3c4-d5e6-7f8g-9h0i-j1k2l3m4n5o6",
  "employment_id": "f8e9d2c7-3a1b-4f5c-9e6d-8b7a2c1d0e3f",
  "event_type": "employment.eor_hiring.invoice_created",
  "invoice_report_id": "c7f8e9d2-3a1b-4f5c-9e6d-8b7a2c1d0e3f"
}

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.