PayrunPaymentsReportReportResponse

Used to encapsulate a response for any of the reports.
See the Introduction Guide for Reports for more details

Name / Description Type / Format Example
type
The content-type, this would usually be the same as the accept header you provided when you requested the report
string "string"
content
This could contain a link to a PDF file, HTML content or other content, depending on the Type value.
string "string"
model
After finalising a PayRun, employees need to actually be paid.
This model is returned by the Reports API and is used to provide details of a payment that needs to be made.
PayrunPaymentsReport {PayrunPaymentsReport}
{
  "type": "string",
  "content": "string",
  "model": {
    "payments": [
      {
        "type": "Employee",
        "payee": {
          "id": "string",
          "name": "string",
          "metadata": {},
          "url": "string"
        },
        "date": "2021-10-23",
        "method": "Cash",
        "amount": 0.0,
        "reference": "string",
        "bankDetails": {
          "bankName": "string",
          "bankBranch": "string",
          "bankReference": "string",
          "accountName": "string",
          "accountNumber": "string",
          "sortCode": "string",
          "note": "string"
        },
        "bacsHash": "string",
        "bacsSubReference": "string"
      }
    ],
    "status": "Queued",
    "statusMessage": "string",
    "link": "string",
    "employer": {
      "id": "string",
      "name": "string",
      "metadata": {},
      "url": "string"
    },
    "payPeriod": "Custom",
    "ordinal": 0,
    "period": 0,
    "periodTo": 0,
    "startPeriodName": "string",
    "endPeriodName": "string",
    "startDate": "2021-10-23",
    "endDate": "2021-10-23",
    "report": "GrossToNet",
    "taxYear": "Year2017"
  }
}
Contained in Models

- none -

Consumed by Operations

- none -

Returned by Operations
PayRun Payments