Create a payroll run
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
The ID of the payroll configuration to use.
The payroll year (e.g., 2024).
The payroll period (e.g., 1 for January, 12 for December, or period number for other frequencies).
Query Parameters
Optional override for the payment date (format: yyyy-MM-dd).
Response
Payroll run created successfully
The organisation ID
"LOAD_TEST"
The payroll config ID
"01JNR9P81W74HYCN35X1EEFDZE"
The payment date in format yyyy-mm-dd
"2024-05-06"
The year in format yyyy
2024
The period in format mm
"2"
The pay frequency, Valid values: 'Annual', 'Monthly', 'FourWeekly', 'Fortnightly', 'Weekly', 'Daily'.
Annual, Monthly, FourWeekly, Fortnightly, Weekly, Daily "Monthly"
The start date of the tax period in format yyyy-mm-dd
"2024-05-06"
The end date of the tax period in format yyyy-mm-dd
"2024-06-05"
The start date of the pay period in format yyyy-mm-dd
"2024-05-01"
The end date of the pay period in format yyyy-mm-dd
"2024-05-31"
The status of the payroll run, Valid values: 'Completed', 'Processing'.
Completed, Processing, Open "Completed"
The status of the payroll run, Valid values: "Locked", "Unlocked".
Locked, Unlocked "Locked"
The total number of employees in the payroll run, including employees with no payroll line items.
10
The total number of employees in the payroll run that have successfully been processed.
10
The total number of employees in the payroll run that have failed to be processed.
0
The user ID of who created the payroll run
"System"
The date and time the payroll run was created
"2025-03-21T14:17:16.126Z"
The user ID of who updated the payroll run
"System"
The date and time the payroll run was updated
"2025-03-21T14:17:19.320Z"
The date and time the payroll run was completed
"2025-03-21T14:17:19.320Z"
The user ID of who locked the payroll run
"System"
The HMRC details for the payroll run
The balances for the payroll run