Event types

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:

ValueReceives
payslip.finalisedExactly 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-types replaces the list.
  • POST /endpoints/{endpointId}/event-types adds 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 in data: the payslip, the employee, the P60. You can act on the event without calling back.
  • Minimal puts only identifiers in data: 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

EventWhen it is sent
invoice.issuedAn invoice was issued to your client.
invoice.emailedYour accounting system confirmed it emailed the invoice to your client.
invoice.paidCredit allocated to an invoice brought the amount owed to zero.
invoice.reopenedA settled invoice is owed again because credit was removed from it.
invoice.voidedAn invoice was voided.
credit_note.authorisedA credit note was authorised.
credit_note.allocatedCredit from a credit note was applied to an invoice.
credit_note.allocation_removedCredit was taken back off an invoice.
credit_note.voidedA credit note was voided.
billing_client.createdA client you invoice was added.
billing_client.updatedA client's details were changed.
billing_client.archivedA client was archived.
billing_client.restoredAn archived client was made active again.
billing_client.deletedA client with no invoices was removed.

Connections

EventWhen it is sent
integration_connection.connectedA connection to a provider, such as your accounting system or pension provider, is ready to use.
integration_connection.disconnectedA connection to a provider was disconnected.
integration_connection.reauthorisation_requiredA provider stopped accepting a connection's sign-in. Reconnect it before anything else can be sent.
integration_connection.deletedA connection to a provider was removed.

Court orders

EventWhen it is sent
court_order.createdA court order was attached to an employee.
court_order.updatedSomeone changed a court order's terms, dates or status.
court_order.deletedA court order was removed.
court_order.status_changedA court order became active, suspended, on hold or discharged. The event says what it was before and why.
court_order.deduction_appliedA deduction was taken for a court order in a pay run, in full or reduced by protected earnings.
court_order.deduction_skippedA pay run called for a deduction but nothing could be taken, because of protected earnings or no eligible earnings.

Emails we send for you

EventWhen it is sent
payslip.emailedA payslip email was accepted for delivery.
payslip.email_failedA payslip email could not be delivered.
payslip.deliveredThe payslip email reached the employee's mail server.
payslip.bouncedThe payslip email was rejected by the employee's mail server.
payslip.complainedThe payslip email was marked as spam by its recipient.
p45.emailedA P45 email was accepted for delivery.
p45.email_failedA P45 email could not be delivered.
p45.deliveredThe P45 email reached the employee's mail server.
p45.bouncedThe P45 email was rejected by the employee's mail server.
p45.complainedThe P45 email was marked as spam by its recipient.
p60.emailedA P60 email was accepted for delivery.
p60.email_failedA P60 email could not be delivered.
p60.deliveredThe P60 email reached the employee's mail server.
p60.bouncedThe P60 email was rejected by the employee's mail server.
p60.complainedThe P60 email was marked as spam by its recipient.
pension_enrolment_letter.deliveredThe pension enrolment letter email reached the employee's mail server.
pension_enrolment_letter.bouncedThe pension enrolment letter email was rejected by the employee's mail server.
pension_enrolment_letter.complainedThe pension enrolment letter email was marked as spam by its recipient.
pension_re_enrolment_letter.deliveredThe pension re-enrolment letter email reached the employee's mail server.
pension_re_enrolment_letter.bouncedThe pension re-enrolment letter email was rejected by the employee's mail server.
pension_re_enrolment_letter.complainedThe pension re-enrolment letter email was marked as spam by its recipient.
pension_postponement_notice.deliveredThe pension postponement notice email reached the employee's mail server.
pension_postponement_notice.bouncedThe pension postponement notice email was rejected by the employee's mail server.
pension_postponement_notice.complainedThe pension postponement notice email was marked as spam by its recipient.
pension_opt_in_information.deliveredThe pension opt-in information letter email reached the employee's mail server.
pension_opt_in_information.bouncedThe pension opt-in information letter email was rejected by the employee's mail server.
pension_opt_in_information.complainedThe pension opt-in information letter email was marked as spam by its recipient.
pension_opt_in_confirmation.deliveredThe pension opt-in confirmation letter email reached the employee's mail server.
pension_opt_in_confirmation.bouncedThe pension opt-in confirmation letter email was rejected by the employee's mail server.
pension_opt_in_confirmation.complainedThe pension opt-in confirmation letter email was marked as spam by its recipient.
pension_join_confirmation.deliveredThe pension join confirmation letter email reached the employee's mail server.
pension_join_confirmation.bouncedThe pension join confirmation letter email was rejected by the employee's mail server.
pension_join_confirmation.complainedThe pension join confirmation letter email was marked as spam by its recipient.
report.emailedA report email was accepted for delivery.
report.email_failedA report email could not be delivered.
report.deliveredThe report email reached the recipient's mail server.
report.bouncedThe report email was rejected by the recipient's mail server.
report.complainedThe report email was marked as spam by its recipient.

Employees

EventWhen it is sent
employee.createdAn employee record was created.
employee.updatedAn 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.deletedAn employee record was deleted.
employee.tax_code_changedAn employee's tax code changed, whether edited directly or applied from an HMRC P6 or P9 notice.
employee.ni_category_changedAn employee's National Insurance category letter changed.
employee.salary_changedAn employee's contractual salary or hourly rate changed.
employee.student_loan_changedAn employee's student or postgraduate loan plan started or ended.
employee.working_pattern_changedAn employee's working pattern or working schedule changed.
employee.payroll_config_changedAn employee moved to a different payroll configuration.

HMRC notices

EventWhen it is sent
hmrc_notice.receivedHMRC 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_matchedAn HMRC notice was linked to an employee, automatically or by hand.
hmrc_notice.appliedAn HMRC notice was applied to the employee's record.
hmrc_notice.dismissedAn HMRC notice was dismissed without changing the employee's record.
hmrc_notice.reopenedAn applied or dismissed HMRC notice was marked as needing action again.
hmrc_notice_job.completedA check for HMRC notices, or a bulk apply or dismiss, finished.
hmrc_notice_job.failedA check for HMRC notices, or a bulk apply or dismiss, could not finish.
hmrc_notice_job.cancelledA notice job was stopped by a person before it finished.

HMRC RTI

EventWhen it is sent
rti.fps_acceptedHMRC accepted a Full Payment Submission.
rti.fps_rejectedHMRC rejected a Full Payment Submission, or it could not be sent. Carries HMRC's own error codes.
rti.eps_acceptedHMRC accepted an Employer Payment Summary.
rti.eps_rejectedHMRC rejected an Employer Payment Summary, or it could not be sent. Carries HMRC's own error codes.

Holiday and leave

EventWhen it is sent
holiday_leave.recordedA single day of leave was recorded.
holiday_leave.updatedA recorded day of leave was amended.
holiday_leave.deletedA recorded day of leave was removed.
holiday_accrual.recordedHoliday was accrued from a finalised payslip. Once per employee per pay run, for the percentage-of-time scheme.
holiday_rolled_up_pay.recordedRolled-up holiday pay was paid on a finalised payslip. Replaces an accrual-and-leave pair that would net to zero.
holiday_opening_balance.recordedAn opening holiday balance was set for an employee.
holiday_opening_balance.updatedAn opening holiday balance was corrected.
holiday_opening_balance.deletedAn opening holiday balance was removed.
holiday_employee_config.createdAn employee's holiday configuration was created, overriding the organisation's.
holiday_employee_config.updatedAn employee's holiday configuration was changed. Affects how every later payslip pays holiday.
holiday_employee_config.deletedAn employee's holiday configuration was removed, so they fall back to the organisation's.
holiday_organisation_config.createdAn organisation's holiday configuration was created.
holiday_organisation_config.updatedAn organisation's holiday configuration was changed.
holiday_organisation_config.deletedAn organisation's holiday configuration was removed.

Journals

EventWhen it is sent
journal.finalisedA pay run's journal was locked for the first time and is ready to post.
journal.reissuedA corrected version of a locked journal replaced the previous one. The event says which version it replaced.
journal.reissue_failedA requested correction could not be built, so the previous locked journal still stands.
journal.postedYour accounting system accepted the journal.
journal.post_failedYour accounting system refused the journal, or retries ran out.
journal.voidedThe accounting entry for a replaced journal version was reversed.
journal.void_failedReversing a replaced version's accounting entry failed, so the pay run may be in your ledger twice.

Leavers

EventWhen it is sent
employee.leaver.recordedAn employee was marked as leaving, with a leaving date.
employee.leaver.revertedA leaver marking was undone and the employee is active again.

P45s and P60s

EventWhen it is sent
p45.issuedA P45 was produced for a leaver.
p45.replacedA replacement P45 was issued, superseding the previous one.
p45.revokedAn issued P45 was withdrawn and its document deleted.
p60.issuedA P60 was produced for an employee at year end.
p60.replacedA replacement P60 was issued, superseding the previous one.
p60.revokedAn issued P60 was withdrawn and its document deleted.
p_form_bulk_send.completedA 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.failedA bulk P45/P60 send job could not run.

Pay run line items

EventWhen it is sent
payroll_line_item.createdA line item was added to a pay run.
payroll_line_item.updatedA line item on a pay run was changed.
payroll_line_item.deletedA line item was removed from a pay run.

Pay runs

EventWhen it is sent
payroll_run.openedA pay run was opened and is accepting changes.
payroll_run.lockedA pay run was locked. Final unless it is later reopened.
payroll_run.completedA pay run finished processing.
payroll_run.reopenedA 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.finalisedA tax year was finalised for the organisation.

Payments

EventWhen it is sent
payment_file.generatedThe payment file for a pay run is ready to download and send to your bank.
payment_file.failedThe payment file for a pay run could not be generated. The event says why and which employees need fixing.
payment_settings.createdBank account and payment file settings were added for a payroll.
payment_settings.updatedThe bank account and settings used to make payment files for a payroll were changed.
payment_settings.deletedThe payment settings for a payroll were removed, so no payment file can be made for it.

Payslips

EventWhen it is sent
payslip.createdA payslip was created, in preview or final state.
payslip.updatedAn existing payslip was recalculated or amended.
payslip.finalisedA payslip reached final state and the figures are settled. Sent again, with the next lockCycle, when a reopened payslip is locked again.
payslip.reopenedA 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.deletedA payslip was deleted.

Pensions

EventWhen it is sent
pension.employee_assessedAn employee was assessed for automatic enrolment in a pay run.
pension.employee_enrolledAn employee joined a pension scheme, automatically, at re-enrolment or by the employer.
pension.employee_enrolment_reversedAn automatic enrolment made in an open pay run was undone because the employee no longer qualifies.
pension.employee_group_changedAn employee's membership moved to a different pension group.
pension.employee_opted_outAn employee opted out of their pension scheme. Can arrive days after they acted, once the provider reports it.
pension.employee_ceasedAn employee's active membership ended for a reason other than opting out.
pension.opt_out_refund_decidedThe employer decided an opted-out employee's refund after the opt-out was recorded: refunded through payroll, or not, with the reason.
pension.postponement_appliedPostponement was applied, deferring automatic enrolment to a later date.
pension.enrolment_letter_sentThe employee's enrolment letter was accepted for delivery.
pension.enrolment_letter_failedThe employee's enrolment letter could not be delivered.
pension.re_enrolment_letter_sentThe employee's re-enrolment letter was accepted for delivery.
pension.re_enrolment_letter_failedThe employee's re-enrolment letter could not be delivered.
pension.postponement_notice_sentThe employee's postponement notice was accepted for delivery.
pension.postponement_notice_failedThe employee's postponement notice could not be delivered.
pension.opt_in_information_sentThe employee's opt-in and joining information was accepted for delivery.
pension.opt_in_information_failedThe employee's opt-in and joining information could not be delivered.
pension.opt_in_confirmation_sentThe enrolment letter for an employee who opted in was accepted for delivery.
pension.opt_in_confirmation_failedThe enrolment letter for an employee who opted in could not be delivered.
pension.join_confirmation_sentThe confirmation for an employee who asked to join was accepted for delivery.
pension.join_confirmation_failedThe confirmation for an employee who asked to join could not be delivered.
pension.employee_exemption_recordedThe employer recorded that an employee is exempt from automatic enrolment.
pension.employee_exemption_removedAn employee's exemption from automatic enrolment was removed.
pension.contributions_submittedA pay run's contribution schedule was sent to the pension provider.
pension.contributions_acceptedThe pension provider accepted a pay run's contribution schedule.
pension.contribution_submission_failedA pay run's contribution schedule did not reach the pension provider, or the provider refused it.
pension.member_enrolments_submittedNew members were sent to the pension provider.
pension.member_enrolments_acceptedThe pension provider accepted the new members sent to it.
pension.member_enrolment_submission_failedNew members did not reach the pension provider, or the provider refused them.
pension.contribution_payment_approvedSomeone approved paying a pay run's contributions to the pension provider.
pension.contribution_payment_confirmedThe pension provider confirmed the approval to pay a pay run's contributions.
pension.contribution_payment_approval_failedThe approval to pay a pay run's contributions did not reach the pension provider, or the provider refused it.

Recurring deductions and payments

EventWhen it is sent
recurring_line_item.createdA recurring deduction or payment was set up for an employee, either an ongoing schedule or a loan or advance.
recurring_line_item.updatedSomeone changed a recurring deduction, for example the amount on each payslip, its dates or the total to recover.
recurring_line_item.suspendedA recurring deduction was paused. Nothing is added to pay runs until it is resumed.
recurring_line_item.resumedA paused recurring deduction was restarted.
recurring_line_item.cancelledA recurring deduction was stopped before it finished.
recurring_line_item.completedA recurring deduction finished: a loan or advance was paid off, or an ongoing schedule reached its end date. Sent once.
recurring_line_item.deletedA recurring deduction was removed.
recurring_line_item.period_paidThe full amount was taken on a finalised payslip.
recurring_line_item.period_part_paidOnly part of the amount could be taken on a payslip, because of protected earnings or not enough take-home pay.
recurring_line_item.period_skippedNothing 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_changedSomeone changed the amount for one pay run before it was finalised.

Reports

EventWhen it is sent
report_export.completedA report export finished and its file is ready to download. Covers exports you queued and runs a schedule started.
report_export.failedA report export failed, so there is no file. The event says why.

Salary settings

EventWhen it is sent
salary_organisation_config.createdSalary settings were saved for the organisation for the first time.
salary_organisation_config.updatedThe organisation's salary calculation method (calendar or working days) changed, or salary calculation was switched on or off.
salary_organisation_config.deletedThe organisation's salary settings were removed.
salary_employee_config.createdAn employee was given their own salary calculation method.
salary_employee_config.updatedAn employee's own salary calculation method changed.
salary_employee_config.deletedAn employee's own salary calculation method was removed, so they follow the organisation's.
salary_organisation_statutory_leave_policy.createdThe organisation set what happens to salary during statutory leave for the first time.
salary_organisation_statutory_leave_policy.updatedThe organisation changed how salary is deducted or topped up during statutory leave.
salary_organisation_statutory_leave_policy.deletedThe organisation's statutory leave salary policies were removed, so the default applies.
salary_employee_statutory_leave_policy.createdAn employee was given their own statutory leave salary policy.
salary_employee_statutory_leave_policy.updatedAn employee's own statutory leave salary policy changed.
salary_employee_statutory_leave_policy.deletedAn employee's own statutory leave salary policy was removed, so they follow the organisation's.

Statutory pay

EventWhen it is sent
statutory_pay.createdA statutory pay record was added, by hand or by import. Covers SSP, SMP, SPP, ShPP, SAP, SPBP and SNCP.
statutory_pay.updatedSomeone changed a statutory pay record, for example its dates, a weekly amount or a payment made outside payroll.
statutory_pay.recalculatedThe figures changed without anyone editing the record, for example after a new working pattern, new statutory rates or a backdated pay rise.
statutory_pay.completedThe entitlement has been paid in full. Sent once.
statutory_pay.deletedA statutory pay record was removed.

Webhook health

EventWhen it is sent
webhook.endpoint.failingOne 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.disabledWe stopped sending to one of your endpoints, because it failed for 5 days or answered 410 Gone.
webhook.delivery.exhaustedAn 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.