Every event Flow Payroll can send, how to subscribe to one, a family or everything, and what the Full and Minimal payloads contain.
Each event has a type such as payslip.finalised: the thing it is about, then what happened to it. Open any event below to see its exact payload.
Subscribe to events
An endpoint's eventTypes accepts three kinds of value, and you can mix them:
| Value | Receives |
|---|---|
payslip.finalised | Exactly that event. |
payslip.* | Every event in the family, including ones added later. |
* | Everything, including families added later. |
Set them when you create the endpoint, or change them later:
PUT /endpoints/{endpointId}/event-typesreplaces the list.POST /endpoints/{endpointId}/event-typesadds to it.DELETE /endpoints/{endpointId}/event-types?eventType=payslip.deleted&eventType=payroll_run.*removes several at once.DELETE /endpoints/{endpointId}/event-types/{eventType}removes one.
Subscribe to what you handle, not to*Every delivery costs your server a request, and exact types mean an event added in future never reaches code that does not expect it.
GET /event-types returns the same catalogue as this page, so your integration can check it at runtime.
Full and Minimal payloads
Each endpoint chooses a payloadStyle.
Full(the default) puts the whole record indata: the payslip, the employee, the P60. You can act on the event without calling back.Minimalputs only identifiers indata: the kind of record, its id and, when the event is about an employee, the employee's id.metadata.resourceUrl, when the event has one, says where to fetch the rest with your own API credentials. Choose it if you want to fetch only the fields you use, or always want the current state rather than the state when the event was sent.
A Full payload is a snapshot of the record when the event happened. Events can arrive late or out of order, so for the current state fetch metadata.resourceUrl with your own credentials. See Treat a Full payload as a snapshot.
In both styles, payslip.created, payslip.updated, payslip.finalised, payslip.reopened and the P45 and P60 issued and replaced events also carry metadata.documentUrl: where to download the document itself as a PDF. Call it with your own credentials, exactly as you call resourceUrl. It is an API address, not a presigned link, so it only works for a caller with access to the organisation. Every other event, including payslip.deleted, carries null.
{
"data": {
"resourceType": "payslip",
"resourceId": "01J9ZQ9A1B3C5D7E9F1G3H5J7K",
"employeeId": "employee-001"
},
"metadata": {
"resourceUrl": "https://api.flowpayroll.ai/v1/payslip/data/employee-001/2026/6",
"documentUrl": "https://api.flowpayroll.ai/v1/payslip/data/employee-001/2026/6/file?frequency=Monthly",
"payloadStyle": "Minimal",
"payloadDowngraded": false
}
}A Full payload over 256 KB is sent as Minimal instead, with payloadDowngraded: true, so a very large record never fails to arrive. Fetch it from resourceUrl. Keep payloads in mind if your receiver limits request size: most are well under 20 KB.
Personal data in payloads
A Full payload carries the whole record, and Flow Payroll does not remove sensitive fields from it. Depending on the event, that can include employees' names, National Insurance numbers, dates of birth, home and email addresses, phone numbers, bank details, passport numbers, pay, tax and deductions. The email events (payslip.emailed, p60.email_failed and the others) carry the address the email was sent to.
What Flow Payroll never sends is a link that works on its own. A presigned download link attached to a payslip email is removed before delivery, and resourceUrl and documentUrl are always API addresses that need your credentials.
A Minimal payload has no names, pay, tax, National Insurance numbers, bank or contact details. Its ids still point to a real employee, so treat it as personal data too.
Once a delivery reaches your receiver, you decide how it is stored, who can see it and how long it is kept. See Protect what you receive.
Versions
Every payload carries apiVersion, a date such as 2026-10-01. An endpoint keeps the version it was created with until you choose to move it: Flow Payroll never changes an existing endpoint's payloads for you.
Within a version, changes only ever add to what you receive:
- a new optional field on a payload;
- a new event type;
- a new value in a field documented as open-ended.
Write your receiver to ignore fields and values it does not know. Anything that would break a receiver (renaming or removing a field, changing its type or meaning) only ever arrives in a new version, served alongside the old one. Event types are never renamed: a replacement is a new type, and the old one is deprecated with a date.
Events you can subscribe to
Billing your clients
| Event | When it is sent |
|---|---|
invoice.issued | An invoice was issued to your client. |
invoice.emailed | Your accounting system confirmed it emailed the invoice to your client. |
invoice.paid | Credit allocated to an invoice brought the amount owed to zero. |
invoice.reopened | A settled invoice is owed again because credit was removed from it. |
invoice.voided | An invoice was voided. |
credit_note.authorised | A credit note was authorised. |
credit_note.allocated | Credit from a credit note was applied to an invoice. |
credit_note.allocation_removed | Credit was taken back off an invoice. |
credit_note.voided | A credit note was voided. |
billing_client.created | A client you invoice was added. |
billing_client.updated | A client's details were changed. |
billing_client.archived | A client was archived. |
billing_client.restored | An archived client was made active again. |
billing_client.deleted | A client with no invoices was removed. |
Connections
| Event | When it is sent |
|---|---|
integration_connection.connected | A connection to a provider, such as your accounting system or pension provider, is ready to use. |
integration_connection.disconnected | A connection to a provider was disconnected. |
integration_connection.reauthorisation_required | A provider stopped accepting a connection's sign-in. Reconnect it before anything else can be sent. |
integration_connection.deleted | A connection to a provider was removed. |
Court orders
| Event | When it is sent |
|---|---|
court_order.created | A court order was attached to an employee. |
court_order.updated | Someone changed a court order's terms, dates or status. |
court_order.deleted | A court order was removed. |
court_order.status_changed | A court order became active, suspended, on hold or discharged. The event says what it was before and why. |
court_order.deduction_applied | A deduction was taken for a court order in a pay run, in full or reduced by protected earnings. |
court_order.deduction_skipped | A pay run called for a deduction but nothing could be taken, because of protected earnings or no eligible earnings. |
Emails we send for you
| Event | When it is sent |
|---|---|
payslip.emailed | A payslip email was accepted for delivery. |
payslip.email_failed | A payslip email could not be delivered. |
payslip.delivered | The payslip email reached the employee's mail server. |
payslip.bounced | The payslip email was rejected by the employee's mail server. |
payslip.complained | The payslip email was marked as spam by its recipient. |
p45.emailed | A P45 email was accepted for delivery. |
p45.email_failed | A P45 email could not be delivered. |
p45.delivered | The P45 email reached the employee's mail server. |
p45.bounced | The P45 email was rejected by the employee's mail server. |
p45.complained | The P45 email was marked as spam by its recipient. |
p60.emailed | A P60 email was accepted for delivery. |
p60.email_failed | A P60 email could not be delivered. |
p60.delivered | The P60 email reached the employee's mail server. |
p60.bounced | The P60 email was rejected by the employee's mail server. |
p60.complained | The P60 email was marked as spam by its recipient. |
pension_enrolment_letter.delivered | The pension enrolment letter email reached the employee's mail server. |
pension_enrolment_letter.bounced | The pension enrolment letter email was rejected by the employee's mail server. |
pension_enrolment_letter.complained | The pension enrolment letter email was marked as spam by its recipient. |
pension_re_enrolment_letter.delivered | The pension re-enrolment letter email reached the employee's mail server. |
pension_re_enrolment_letter.bounced | The pension re-enrolment letter email was rejected by the employee's mail server. |
pension_re_enrolment_letter.complained | The pension re-enrolment letter email was marked as spam by its recipient. |
pension_postponement_notice.delivered | The pension postponement notice email reached the employee's mail server. |
pension_postponement_notice.bounced | The pension postponement notice email was rejected by the employee's mail server. |
pension_postponement_notice.complained | The pension postponement notice email was marked as spam by its recipient. |
pension_opt_in_information.delivered | The pension opt-in information letter email reached the employee's mail server. |
pension_opt_in_information.bounced | The pension opt-in information letter email was rejected by the employee's mail server. |
pension_opt_in_information.complained | The pension opt-in information letter email was marked as spam by its recipient. |
pension_opt_in_confirmation.delivered | The pension opt-in confirmation letter email reached the employee's mail server. |
pension_opt_in_confirmation.bounced | The pension opt-in confirmation letter email was rejected by the employee's mail server. |
pension_opt_in_confirmation.complained | The pension opt-in confirmation letter email was marked as spam by its recipient. |
pension_join_confirmation.delivered | The pension join confirmation letter email reached the employee's mail server. |
pension_join_confirmation.bounced | The pension join confirmation letter email was rejected by the employee's mail server. |
pension_join_confirmation.complained | The pension join confirmation letter email was marked as spam by its recipient. |
report.emailed | A report email was accepted for delivery. |
report.email_failed | A report email could not be delivered. |
report.delivered | The report email reached the recipient's mail server. |
report.bounced | The report email was rejected by the recipient's mail server. |
report.complained | The report email was marked as spam by its recipient. |
Employees
| Event | When it is sent |
|---|---|
employee.created | An employee record was created. |
employee.updated | An employee record changed, in a way with no more specific event. When one change also touches a field below, that field has its own event and this one covers only the rest. |
employee.deleted | An employee record was deleted. |
employee.tax_code_changed | An employee's tax code changed, whether edited directly or applied from an HMRC P6 or P9 notice. |
employee.ni_category_changed | An employee's National Insurance category letter changed. |
employee.salary_changed | An employee's contractual salary or hourly rate changed. |
employee.student_loan_changed | An employee's student or postgraduate loan plan started or ended. |
employee.working_pattern_changed | An employee's working pattern or working schedule changed. |
employee.payroll_config_changed | An employee moved to a different payroll configuration. |
HMRC notices
| Event | When it is sent |
|---|---|
hmrc_notice.received | HMRC sent a notice, such as a new tax code (P6 or P9), a student or postgraduate loan start or stop, or a general message, and it is waiting to be reviewed. |
hmrc_notice.employee_matched | An HMRC notice was linked to an employee, automatically or by hand. |
hmrc_notice.applied | An HMRC notice was applied to the employee's record. |
hmrc_notice.dismissed | An HMRC notice was dismissed without changing the employee's record. |
hmrc_notice.reopened | An applied or dismissed HMRC notice was marked as needing action again. |
hmrc_notice_job.completed | A check for HMRC notices, or a bulk apply or dismiss, finished. |
hmrc_notice_job.failed | A check for HMRC notices, or a bulk apply or dismiss, could not finish. |
hmrc_notice_job.cancelled | A notice job was stopped by a person before it finished. |
HMRC RTI
| Event | When it is sent |
|---|---|
rti.fps_accepted | HMRC accepted a Full Payment Submission. |
rti.fps_rejected | HMRC rejected a Full Payment Submission, or it could not be sent. Carries HMRC's own error codes. |
rti.eps_accepted | HMRC accepted an Employer Payment Summary. |
rti.eps_rejected | HMRC rejected an Employer Payment Summary, or it could not be sent. Carries HMRC's own error codes. |
Holiday and leave
| Event | When it is sent |
|---|---|
holiday_leave.recorded | A single day of leave was recorded. |
holiday_leave.updated | A recorded day of leave was amended. |
holiday_leave.deleted | A recorded day of leave was removed. |
holiday_accrual.recorded | Holiday was accrued from a finalised payslip. Once per employee per pay run, for the percentage-of-time scheme. |
holiday_rolled_up_pay.recorded | Rolled-up holiday pay was paid on a finalised payslip. Replaces an accrual-and-leave pair that would net to zero. |
holiday_opening_balance.recorded | An opening holiday balance was set for an employee. |
holiday_opening_balance.updated | An opening holiday balance was corrected. |
holiday_opening_balance.deleted | An opening holiday balance was removed. |
holiday_employee_config.created | An employee's holiday configuration was created, overriding the organisation's. |
holiday_employee_config.updated | An employee's holiday configuration was changed. Affects how every later payslip pays holiday. |
holiday_employee_config.deleted | An employee's holiday configuration was removed, so they fall back to the organisation's. |
holiday_organisation_config.created | An organisation's holiday configuration was created. |
holiday_organisation_config.updated | An organisation's holiday configuration was changed. |
holiday_organisation_config.deleted | An organisation's holiday configuration was removed. |
Journals
| Event | When it is sent |
|---|---|
journal.finalised | A pay run's journal was locked for the first time and is ready to post. |
journal.reissued | A corrected version of a locked journal replaced the previous one. The event says which version it replaced. |
journal.reissue_failed | A requested correction could not be built, so the previous locked journal still stands. |
journal.posted | Your accounting system accepted the journal. |
journal.post_failed | Your accounting system refused the journal, or retries ran out. |
journal.voided | The accounting entry for a replaced journal version was reversed. |
journal.void_failed | Reversing a replaced version's accounting entry failed, so the pay run may be in your ledger twice. |
Leavers
| Event | When it is sent |
|---|---|
employee.leaver.recorded | An employee was marked as leaving, with a leaving date. |
employee.leaver.reverted | A leaver marking was undone and the employee is active again. |
P45s and P60s
| Event | When it is sent |
|---|---|
p45.issued | A P45 was produced for a leaver. |
p45.replaced | A replacement P45 was issued, superseding the previous one. |
p45.revoked | An issued P45 was withdrawn and its document deleted. |
p60.issued | A P60 was produced for an employee at year end. |
p60.replaced | A replacement P60 was issued, superseding the previous one. |
p60.revoked | An issued P60 was withdrawn and its document deleted. |
p_form_bulk_send.completed | A bulk P45/P60 send job finished. Names up to 100 employees who were not sent theirs, each with a reason, and counts every failure by reason. |
p_form_bulk_send.failed | A bulk P45/P60 send job could not run. |
Pay run line items
| Event | When it is sent |
|---|---|
payroll_line_item.created | A line item was added to a pay run. |
payroll_line_item.updated | A line item on a pay run was changed. |
payroll_line_item.deleted | A line item was removed from a pay run. |
Pay runs
| Event | When it is sent |
|---|---|
payroll_run.opened | A pay run was opened and is accepting changes. |
payroll_run.locked | A pay run was locked. Final unless it is later reopened. |
payroll_run.completed | A pay run finished processing. |
payroll_run.reopened | A locked pay run was unlocked for correction, for every employee or for some. Its payslips in scope are reopened one by one, each announced as payslip.reopened, and the run is locked again afterwards: that lock's payroll_run.locked and payroll_run.completed carry the next lockCycle and isRelock: true. |
tax_year.finalised | A tax year was finalised for the organisation. |
Payments
| Event | When it is sent |
|---|---|
payment_file.generated | The payment file for a pay run is ready to download and send to your bank. |
payment_file.failed | The payment file for a pay run could not be generated. The event says why and which employees need fixing. |
payment_settings.created | Bank account and payment file settings were added for a payroll. |
payment_settings.updated | The bank account and settings used to make payment files for a payroll were changed. |
payment_settings.deleted | The payment settings for a payroll were removed, so no payment file can be made for it. |
Payslips
| Event | When it is sent |
|---|---|
payslip.created | A payslip was created, in preview or final state. |
payslip.updated | An existing payslip was recalculated or amended. |
payslip.finalised | A payslip reached final state and the figures are settled. Sent again, with the next lockCycle, when a reopened payslip is locked again. |
payslip.reopened | A final payslip was reopened by an unlock of its pay run and accepts changes again until the run is locked again. Sent on every recalculation while it is reopened, with status: "Reopened" and the next lockCycle; the earlier figures stay readable as a version of the payslip. |
payslip.deleted | A payslip was deleted. |
Pensions
| Event | When it is sent |
|---|---|
pension.employee_assessed | An employee was assessed for automatic enrolment in a pay run. |
pension.employee_enrolled | An employee joined a pension scheme, automatically, at re-enrolment or by the employer. |
pension.employee_enrolment_reversed | An automatic enrolment made in an open pay run was undone because the employee no longer qualifies. |
pension.employee_group_changed | An employee's membership moved to a different pension group. |
pension.employee_opted_out | An employee opted out of their pension scheme. Can arrive days after they acted, once the provider reports it. |
pension.employee_ceased | An employee's active membership ended for a reason other than opting out. |
pension.opt_out_refund_decided | The employer decided an opted-out employee's refund after the opt-out was recorded: refunded through payroll, or not, with the reason. |
pension.postponement_applied | Postponement was applied, deferring automatic enrolment to a later date. |
pension.enrolment_letter_sent | The employee's enrolment letter was accepted for delivery. |
pension.enrolment_letter_failed | The employee's enrolment letter could not be delivered. |
pension.re_enrolment_letter_sent | The employee's re-enrolment letter was accepted for delivery. |
pension.re_enrolment_letter_failed | The employee's re-enrolment letter could not be delivered. |
pension.postponement_notice_sent | The employee's postponement notice was accepted for delivery. |
pension.postponement_notice_failed | The employee's postponement notice could not be delivered. |
pension.opt_in_information_sent | The employee's opt-in and joining information was accepted for delivery. |
pension.opt_in_information_failed | The employee's opt-in and joining information could not be delivered. |
pension.opt_in_confirmation_sent | The enrolment letter for an employee who opted in was accepted for delivery. |
pension.opt_in_confirmation_failed | The enrolment letter for an employee who opted in could not be delivered. |
pension.join_confirmation_sent | The confirmation for an employee who asked to join was accepted for delivery. |
pension.join_confirmation_failed | The confirmation for an employee who asked to join could not be delivered. |
pension.employee_exemption_recorded | The employer recorded that an employee is exempt from automatic enrolment. |
pension.employee_exemption_removed | An employee's exemption from automatic enrolment was removed. |
pension.contributions_submitted | A pay run's contribution schedule was sent to the pension provider. |
pension.contributions_accepted | The pension provider accepted a pay run's contribution schedule. |
pension.contribution_submission_failed | A pay run's contribution schedule did not reach the pension provider, or the provider refused it. |
pension.member_enrolments_submitted | New members were sent to the pension provider. |
pension.member_enrolments_accepted | The pension provider accepted the new members sent to it. |
pension.member_enrolment_submission_failed | New members did not reach the pension provider, or the provider refused them. |
pension.contribution_payment_approved | Someone approved paying a pay run's contributions to the pension provider. |
pension.contribution_payment_confirmed | The pension provider confirmed the approval to pay a pay run's contributions. |
pension.contribution_payment_approval_failed | The approval to pay a pay run's contributions did not reach the pension provider, or the provider refused it. |
Recurring deductions and payments
| Event | When it is sent |
|---|---|
recurring_line_item.created | A recurring deduction or payment was set up for an employee, either an ongoing schedule or a loan or advance. |
recurring_line_item.updated | Someone changed a recurring deduction, for example the amount on each payslip, its dates or the total to recover. |
recurring_line_item.suspended | A recurring deduction was paused. Nothing is added to pay runs until it is resumed. |
recurring_line_item.resumed | A paused recurring deduction was restarted. |
recurring_line_item.cancelled | A recurring deduction was stopped before it finished. |
recurring_line_item.completed | A recurring deduction finished: a loan or advance was paid off, or an ongoing schedule reached its end date. Sent once. |
recurring_line_item.deleted | A recurring deduction was removed. |
recurring_line_item.period_paid | The full amount was taken on a finalised payslip. |
recurring_line_item.period_part_paid | Only part of the amount could be taken on a payslip, because of protected earnings or not enough take-home pay. |
recurring_line_item.period_skipped | Nothing was taken on a payslip, because there was no take-home pay, the protection rule stopped it, nothing was due, or someone skipped or removed it. |
recurring_line_item.period_amount_changed | Someone changed the amount for one pay run before it was finalised. |
Reports
| Event | When it is sent |
|---|---|
report_export.completed | A report export finished and its file is ready to download. Covers exports you queued and runs a schedule started. |
report_export.failed | A report export failed, so there is no file. The event says why. |
Salary settings
| Event | When it is sent |
|---|---|
salary_organisation_config.created | Salary settings were saved for the organisation for the first time. |
salary_organisation_config.updated | The organisation's salary calculation method (calendar or working days) changed, or salary calculation was switched on or off. |
salary_organisation_config.deleted | The organisation's salary settings were removed. |
salary_employee_config.created | An employee was given their own salary calculation method. |
salary_employee_config.updated | An employee's own salary calculation method changed. |
salary_employee_config.deleted | An employee's own salary calculation method was removed, so they follow the organisation's. |
salary_organisation_statutory_leave_policy.created | The organisation set what happens to salary during statutory leave for the first time. |
salary_organisation_statutory_leave_policy.updated | The organisation changed how salary is deducted or topped up during statutory leave. |
salary_organisation_statutory_leave_policy.deleted | The organisation's statutory leave salary policies were removed, so the default applies. |
salary_employee_statutory_leave_policy.created | An employee was given their own statutory leave salary policy. |
salary_employee_statutory_leave_policy.updated | An employee's own statutory leave salary policy changed. |
salary_employee_statutory_leave_policy.deleted | An employee's own statutory leave salary policy was removed, so they follow the organisation's. |
Statutory pay
| Event | When it is sent |
|---|---|
statutory_pay.created | A statutory pay record was added, by hand or by import. Covers SSP, SMP, SPP, ShPP, SAP, SPBP and SNCP. |
statutory_pay.updated | Someone changed a statutory pay record, for example its dates, a weekly amount or a payment made outside payroll. |
statutory_pay.recalculated | The figures changed without anyone editing the record, for example after a new working pattern, new statutory rates or a backdated pay rise. |
statutory_pay.completed | The entitlement has been paid in full. Sent once. |
statutory_pay.deleted | A statutory pay record was removed. |
Webhook health
| Event | When it is sent |
|---|---|
webhook.endpoint.failing | One of your endpoints has failed every attempt for 24 hours. We are still retrying, and it is disabled if it keeps failing for 5 days. |
webhook.endpoint.disabled | We stopped sending to one of your endpoints, because it failed for 5 days or answered 410 Gone. |
webhook.delivery.exhausted | An event could not be delivered to one of your endpoints after every retry. Fetch it from the events list or replay it. |
Reopened pay runs
Unlocking a pay run sends payroll_run.reopened once, then payslip.reopened for each payslip in scope, and payslip.finalised, payroll_run.locked and payroll_run.completed again when the run is locked back. Every one of those carries lockCycle (1 for a run locked once, 2 after the first unlock, and so on), so a consumer that stores a pay run or a payslip by its id can tell a re-issue from a repeat: treat a higher lockCycle as replacing what it holds. The run's earlier state is not withdrawn by an event of its own.
