Calculation
- Type: object
- createdType: stringFormat: date-time
At requiredWhen PayrollKit created the Calculation.
- idType: stringmin length:1max length:200required
PayrollKit Calculation ID.
- payType: string
Run Id min length:1max length:200requiredPay Run being calculated.
- snapshotType: string
Id min length:1max length:200requiredFixed Snapshot used for this Calculation.
- statusType: stringenumrequired
Processing state.
completeandfailedare final.valuesqueuedrunningcompletefailed - statusType: stringFormat: uri
Url requiredURL to retrieve this Calculation until it reaches a final state.
- approvalType: object
Request Properties: 1Exact request body to send unchanged to Approve a Pay Run. Present only when the Calculation is complete and ready for approval.
- completedType: stringFormat: date-time
At When the Calculation completed or failed. Present only in a final state.
- employmentType: stringFormat: uri
Results Url URL of the paginated Employment results. Present only when the Calculation is complete.
- issuesType: array of object 1…Properties: 9
Problems that caused the Calculation to fail. Present when
statusisfailed. - totalsType: objectProperties: 5
Reconciled employer totals. Present only when the Calculation is complete.