Update P45 Value

Put
/employers/{employerId}/employees/{employeeId}/openingBalances/p45

Updates the P45 Values on the Opening Balances for an Employee.
This would ideally be done when the Opening Balances are updated but if payruns have already been started for the employee then Opening Balances can't be updated - hence this API call just to update the P45 values.
There must be a currently open PayRun for the employee.
Only the PreviousEmployerGross and PreviousEmployerTax properties of the submitted OpeningBalances model are updated.

Store values

Parameters

string
The Id of the Employer to which the Employee belongs
string
The Id of the Employee for which you want to update P45 figures

OpeningBalances
Try it

Possible Responses

200 Success OpeningBalances text/plain
400 Bad Request
404 Not Found