API problem types / Employees and payroll
HTTP 409 · Conflict
Payslip Invalid Transition
https://corplyst.com/problems/payslip-invalid-transition
What it means
The payslip can't make this change in its current state. Only a draft can be edited or approved, only an approved payslip can be paid, and a paid payslip can't be voided.
What to do
Reload the payslip to see its current state.
Example response
Sent with Content-Type: application/problem+json. The detail field describes this specific occurrence.
{
"type": "https://corplyst.com/problems/payslip-invalid-transition",
"title": "Payslip Invalid Transition",
"status": 409,
"detail": "…"
}