cURL
curl -sS -X POST "$FLUIDE_BASE_URL/api/v1/payroll/payroll/string/reopen" \
-H "Authorization: Bearer $FLUIDE_ACCESS_TOKEN" \
-H "X-Fluide-Api-Key: $FLUIDE_API_KEY" \
-H "X-Fluide-Client-Id: fluide-developer"{
"organizationId": "<string>",
"companyId": "<string>",
"title": "<string>",
"periodMonth": 123,
"periodYear": 123,
"countryCode": "<string>",
"idempotencyKey": "<string>",
"totalGross": 123,
"totalDeductions": 123,
"totalNet": 123,
"currency": "<string>",
"totalsByCurrency": {},
"processedBy": "<string>",
"processedAt": "2023-11-07T05:31:56Z",
"lockedAt": "2023-11-07T05:31:56Z",
"submittedAt": "2023-11-07T05:31:56Z",
"approvedAt": "2023-11-07T05:31:56Z",
"rejectedAt": "2023-11-07T05:31:56Z",
"validatedAt": "2023-11-07T05:31:56Z",
"ruleSnapshotId": "<string>",
"calculationFingerprint": "<string>",
"includedEmployeeIds": [
"<string>"
],
"payrollCycleId": "<string>",
"isOffCycle": true,
"periodStart": "<string>",
"periodEnd": "<string>",
"payDate": "<string>",
"runType": {},
"offCycleReason": "<string>",
"retroEffectiveDate": "<string>",
"retroReason": "<string>",
"referencePayrollRunId": "<string>",
"settlementSnapshot": {},
"taxRemittanceDocumentUrl": "<string>",
"taxRemittanceArtifactId": "<string>",
"payslips": [
{
"payrollRunId": "<string>",
"payrollRun": "<unknown>",
"employeeId": "<string>",
"employee": {},
"basicSalary": 123,
"allowances": {},
"deductions": {},
"grossPay": 123,
"netPay": 123,
"currency": "<string>",
"payoutCurrency": "<string>",
"employerLegalName": "<string>",
"disbursementQueuedAt": "2023-11-07T05:31:56Z",
"disbursementReference": "<string>",
"disbursementError": "<string>",
"documentPublicUrl": "<string>",
"documentContentHash": "<string>",
"documentArtifactId": "<string>",
"documentReadyAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}Payroll
Reopen a rejected payroll run back to draft (clears approvals)
POST
/
api
/
v1
/
payroll
/
payroll
/
{id}
/
reopen
cURL
curl -sS -X POST "$FLUIDE_BASE_URL/api/v1/payroll/payroll/string/reopen" \
-H "Authorization: Bearer $FLUIDE_ACCESS_TOKEN" \
-H "X-Fluide-Api-Key: $FLUIDE_API_KEY" \
-H "X-Fluide-Client-Id: fluide-developer"{
"organizationId": "<string>",
"companyId": "<string>",
"title": "<string>",
"periodMonth": 123,
"periodYear": 123,
"countryCode": "<string>",
"idempotencyKey": "<string>",
"totalGross": 123,
"totalDeductions": 123,
"totalNet": 123,
"currency": "<string>",
"totalsByCurrency": {},
"processedBy": "<string>",
"processedAt": "2023-11-07T05:31:56Z",
"lockedAt": "2023-11-07T05:31:56Z",
"submittedAt": "2023-11-07T05:31:56Z",
"approvedAt": "2023-11-07T05:31:56Z",
"rejectedAt": "2023-11-07T05:31:56Z",
"validatedAt": "2023-11-07T05:31:56Z",
"ruleSnapshotId": "<string>",
"calculationFingerprint": "<string>",
"includedEmployeeIds": [
"<string>"
],
"payrollCycleId": "<string>",
"isOffCycle": true,
"periodStart": "<string>",
"periodEnd": "<string>",
"payDate": "<string>",
"runType": {},
"offCycleReason": "<string>",
"retroEffectiveDate": "<string>",
"retroReason": "<string>",
"referencePayrollRunId": "<string>",
"settlementSnapshot": {},
"taxRemittanceDocumentUrl": "<string>",
"taxRemittanceArtifactId": "<string>",
"payslips": [
{
"payrollRunId": "<string>",
"payrollRun": "<unknown>",
"employeeId": "<string>",
"employee": {},
"basicSalary": 123,
"allowances": {},
"deductions": {},
"grossPay": 123,
"netPay": 123,
"currency": "<string>",
"payoutCurrency": "<string>",
"employerLegalName": "<string>",
"disbursementQueuedAt": "2023-11-07T05:31:56Z",
"disbursementReference": "<string>",
"disbursementError": "<string>",
"documentPublicUrl": "<string>",
"documentContentHash": "<string>",
"documentArtifactId": "<string>",
"documentReadyAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}Authorizations
Access token JWT. Use as Authorization: Bearer . In the API playground, paste the JWT only.
Developer API key (fl_dev_...). Required on every API call with a machine access token.
First-party client audience. Must match the fluide_client_id claim on the JWT. Use fluide-developer for Connect.
Path Parameters
Response
Successful response
Reject a payroll run (as an assigned approver)Queue validated payslips for FluidePay disbursement (Kafka)
⌘I