Post Payments

Post
/employers/{employerId}/external-data/{id}/{taxYear}/{payPeriod}/{periodNumber}/payments

Post Payments for a payrun to the ExternalDataProvider
A 200 response does not mean the payments were necessarily successfully posted.
The BankPaymentInstruction is returned (without the payments) so that you can inspect the status to determine success

Store values

Parameters

string
string
string
To identify the PayRun
integer
To identify the PayRun
string
To identify the PayRun
boolean
Include payments for employees (optional)
boolean
Include payments for HMRC (if any) (optional)
boolean
Include payments for Pension Providers (if any) (optional)
boolean
Include any payment due as a result of AttachmentOrders (if any) (optional)
boolean
Include any payment due to Deductions that are set to be paid to a Payee (if any) (optional)
boolean
Set to true if you want to force the payments to be posted even if it already has been (optional)
integer
(optional)
string
Optional. If a value is provided then it'll be used in place of the payment date for the payment. (optional)
integer
Will indicate what version of the payrun will be the source for the payments. If left empty, will post full pay run payments. (optional)
Try it

Possible Responses

200 Success BankPaymentInstruction application/json