Finalises the specified pay run. A pay run can only be finalised if there are no calculations in progress.
POST https://api.yourpayroll.com.au/api/v2/business/{businessId}/payrun/{payRunId}/finalise
Parameter name | Value | Description | Additional |
---|---|---|---|
payRunId | int32 | Required | |
businessId | string | Required |
The request body takes a complete FinalisePayRunOptions resource, containing the following writable properties:
{
"datePaid": "date-time",
"exportJournals": "boolean",
"exportJournalsDateTime": "date-time",
"exportJournalsPreference": "string",
"finaliseAsAdmin": "boolean",
"fromPayRunAutomation": "boolean",
"lodgeFinalPayRun": "boolean",
"lodgePayRun": "boolean",
"lodgePayRunDateTime": "date-time",
"lodgePayRunInTestMode": "boolean",
"lodgePayRunPreference": "string",
"payRunId": "int32",
"publishPaySlips": "string",
"publishPaySlipsDateTime": "date-time",
"publishPaySlipsPreference": "string",
"relodgeHmrcLateSubmissionReason": "string",
"relodgeSelectedEmployeesOnly": "boolean",
"reportPacksToRun": [
"int32"
],
"runReportPacksDateTime": "date-time",
"runReportPacksPreference": "string",
"saveChangesToDefaultSettings": "boolean",
"submitToPensionSync": "boolean",
"submitToPensionSyncDateTime": "date-time",
"submitToPensionSyncPreference": "string",
"superPaymentPreference": "boolean",
"suppressNotifications": "boolean"
}
Name | Type | Description |
---|---|---|
datePaid | date-time |
Nullable |
exportJournals | boolean | Boolean |
exportJournalsDateTime | date-time |
Nullable |
exportJournalsPreference | string |
Nullable Possible values are:
|
finaliseAsAdmin | boolean | Boolean |
fromPayRunAutomation | boolean | Boolean |
lodgeFinalPayRun | boolean | Boolean |
lodgePayRun | boolean | Boolean |
lodgePayRunDateTime | date-time |
Nullable |
lodgePayRunInTestMode | boolean | Boolean |
lodgePayRunPreference | string |
Nullable Possible values are:
|
payRunId | int32 | Int32 |
publishPaySlips | string |
PublishPaySlipsPreference
Possible values are:
|
publishPaySlipsDateTime | date-time |
Nullable |
publishPaySlipsPreference | string |
Nullable Possible values are:
|
relodgeHmrcLateSubmissionReason | string |
Nullable Possible values are:
|
relodgeSelectedEmployeesOnly | boolean | Boolean |
reportPacksToRun[] | array of int32 | |
runReportPacksDateTime | date-time |
Nullable |
runReportPacksPreference | string |
Nullable Possible values are:
|
saveChangesToDefaultSettings | boolean | Boolean |
submitToPensionSync | boolean | Boolean |
submitToPensionSyncDateTime | date-time |
Nullable |
submitToPensionSyncPreference | string |
Nullable Possible values are:
|
superPaymentPreference | boolean | Boolean |
suppressNotifications | boolean | Boolean |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
PayRunFinaliseResult |
Powered by DapperDox