Payslip
- createdType: stringFormat: date-time
At requiredthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- employmentType: string
Calculation Id min length:1max length:200required - employmentType: string
Id min length:1max length:200required - formatconst:pdfrequired
- formatType: string
Version required - idType: stringmin length:1max length:200required
- issuesType: array of objectrequiredProperties: 9
Problems affecting Payslip generation. The array is empty unless
statusisfailed. - nextType: "none" or "wait" or "contact_support"enum
Action requiredWhat the Partner should do next.
noneapplies when the Payslip is available,waitwhile generation continues andcontact_supportwhen PayrollKit cannot complete it automatically. - payType: string
Run Id min length:1max length:200required - statusType: "pending" or "available" or "failed"enumrequired
Generation state. Wait while
pending;availableincludes a download link;failedincludes issues explaining what to do next. - downloadType: objectProperties: 2
Send an unauthenticated
GETrequest to the URL as supplied. Do not add the Partner API bearer token. Available Payslips useapplication/pdf; Payment Instruction Files and exports usetext/csv; charset=utf-8. Downloads include aContent-Disposition: attachmentfilename. Treat the URL as sensitive and do not log or share it. After it expires, retrieve the output resource again to receive a fresh link.