payroll_line_item.deleted
A line item was removed from a pay run.
{
"id": "evt_01M5HRJED0KXMNC2SWZT62W20S",
"type": "payroll_line_item.deleted",
"timestamp": "2026-10-22T12:15:00.000Z",
"apiVersion": "2026-10-01",
"organisationId": "org-test-1",
"customerId": "customer-test-1",
"livemode": true,
"data": {
"organisationId": "org-test-1",
"clientId": null,
"employeeId": "employee-001",
"payrollLineId": "line-item-001",
"eventType": "Deleted",
"eventDate": "2026-10-22T12:15:00.000Z",
"payrollLine": {
"id": "line-item-001",
"clientId": null,
"employeeId": "employee-001",
"date": "2026-10-17",
"payrollDate": "2026-10-31",
"description": "Overtime",
"unitName": "Hour",
"units": 8,
"payRate": 21.63,
"chargeRate": null,
"chargeUnits": null,
"chargeDescription": null,
"payElementId": "pay-element-overtime",
"taxType": "Taxable",
"niType": "Niable",
"payType": "Payable",
"isPensionable": true,
"tags": [],
"statutoryType": "None",
"createdDate": "2026-10-20T10:15:00.000Z",
"createdBy": "user-001",
"updatedDate": "2026-10-22T12:15:00.000Z",
"updatedBy": "user-001",
"poNumber": null,
"originalValue": null,
"canEdit": true,
"unitType": "Amount",
"lineItemMetadata": null,
"eligibility": null,
"paymentDetails": null,
"attachmentUploadUrls": null,
"attachments": null,
"invoiceId": null,
"creditNoteId": null,
"billingStatus": "None",
"paymentAfterLeavingPattern": null
},
"previousClientId": null,
"previousInvoiceId": null
},
"metadata": {
"resourceUrl": null,
"correlationId": "01K6B3N8Z4Q2W7X5Y9T1V3M6RA",
"documentUrl": null,
"payloadStyle": "Full",
"payloadDowngraded": false,
"dateFormat": "yyyy-MM-dd",
"dateTimeFormat": "yyyy-MM-ddTHH:mm:ss.fffZ"
}
}Headers
Space-delimited signatures over {id}.{timestamp}.{body}: every v1,{base64} HMAC-SHA256 entry, then every v1a,{base64} ed25519 entry. Verify v1a with the endpoint's public key, which we recommend because a receiver holding only a public key cannot sign events, or v1 with the signing secret, comparing in constant time. More than one of each appears during a secret rotation; accepting any match rotates with no downtime.
Body
The signed event envelope. The body is byte-identical across every delivery attempt; verify the signature against these raw bytes.
Response
Any 2xx acknowledges receipt. Respond quickly and do the work asynchronously: an attempt that has not finished within 15 seconds counts as failed.
Was this page helpful?
{
"id": "evt_01M5HRJED0KXMNC2SWZT62W20S",
"type": "payroll_line_item.deleted",
"timestamp": "2026-10-22T12:15:00.000Z",
"apiVersion": "2026-10-01",
"organisationId": "org-test-1",
"customerId": "customer-test-1",
"livemode": true,
"data": {
"organisationId": "org-test-1",
"clientId": null,
"employeeId": "employee-001",
"payrollLineId": "line-item-001",
"eventType": "Deleted",
"eventDate": "2026-10-22T12:15:00.000Z",
"payrollLine": {
"id": "line-item-001",
"clientId": null,
"employeeId": "employee-001",
"date": "2026-10-17",
"payrollDate": "2026-10-31",
"description": "Overtime",
"unitName": "Hour",
"units": 8,
"payRate": 21.63,
"chargeRate": null,
"chargeUnits": null,
"chargeDescription": null,
"payElementId": "pay-element-overtime",
"taxType": "Taxable",
"niType": "Niable",
"payType": "Payable",
"isPensionable": true,
"tags": [],
"statutoryType": "None",
"createdDate": "2026-10-20T10:15:00.000Z",
"createdBy": "user-001",
"updatedDate": "2026-10-22T12:15:00.000Z",
"updatedBy": "user-001",
"poNumber": null,
"originalValue": null,
"canEdit": true,
"unitType": "Amount",
"lineItemMetadata": null,
"eligibility": null,
"paymentDetails": null,
"attachmentUploadUrls": null,
"attachments": null,
"invoiceId": null,
"creditNoteId": null,
"billingStatus": "None",
"paymentAfterLeavingPattern": null
},
"previousClientId": null,
"previousInvoiceId": null
},
"metadata": {
"resourceUrl": null,
"correlationId": "01K6B3N8Z4Q2W7X5Y9T1V3M6RA",
"documentUrl": null,
"payloadStyle": "Full",
"payloadDowngraded": false,
"dateFormat": "yyyy-MM-dd",
"dateTimeFormat": "yyyy-MM-ddTHH:mm:ss.fffZ"
}
}