P60
Generate P60
POST
Generate P60
Path Parameters
Body
application/json
Trigger body. format selects the deliverable: xlsx → four-sheet summary
workbook, zip → pack of per-employee PDFs. Both share ReportType.P60_GB.
Typed as plain string literals (not Literal[ReportFormat.XLSX, ReportFormat.ZIP]):
a Literal of enum members reprs each member with its class name in the 422 body
(Input should be <ReportFormat.XLSX: 'XLSX'> or <ReportFormat.ZIP: 'ZIP'>); string
literals produce the clean Input should be 'XLSX' or 'ZIP'.