Upload payroll lines
Uploads a list of payroll lines to the system. The system will attempt to process each line and return a list of validation issues for any lines that fail. The successful lines will be returned in the response. The combination of employeeID and id must be unique. There’s a hard limit of 100 items per request. In addition to the input data, the response contain an additional field ‘payrollDate’ - which corresponds to the date that will be considered for the payroll process. The payrollDate will always be populated - either with the date in the input - or with the very next yet unlocked date, in case the period for the given date is already locked. On HMRC submission, the system will use the date as reference to the period.
Documentation Index
Fetch the complete documentation index at: https://docs.flowpayroll.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Access token obtained from OAuth2 client credentials flow
Path Parameters
Body
Hour, Day, Week, Month, Year, Fixed, Informational, Percentage The ID of the pay element associated with this payroll line.
Optional unique identifier for the payroll line
Purchase order number for billing purposes
"PO-2025-001"
The unit type for calculation. Amount uses payRate * units, Percentage uses payRate * (units / 100)
Amount, Percentage 1
The charge value times the charge units
100
Charge description for billing; when not provided and clientId is set, defaults to the pay description.
Eligibility flags for this payroll line (court orders, pensions, etc.)
{
"courtOrders": {
"cmsDeo": true,
"dea": true,
"aeoPriority": false,
"aeoNonPriority": false,
"ctaeo": false,
"ea": false,
"mcaeo": false
}
}Payment details (BACS information) that can override default employee bank account
Attachment metadata to include when creating the payroll line item (optional, only used during batch upload)
Pre-signed S3 URLs for uploading attachments (only present when attachments were provided in the request)
The ID of the invoice associated with the payroll line item
"INV-001"
The billing status of the payroll line item
None, Accrued, Invoiced "None"