VarianceReportReportResponse

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
Null, String "string"
content
Contains the filename for application/octet-stream, HTML or other text content depending on Type.
For the deprecated application/pdf type, this contains a link to the PDF file; its end-of-life date is 1st February 2027.
Null, String "string"
model VarianceReport {VarianceReport}
stream
Contains PDF bytes when Type is application/octet-stream.
Null, String byte "string"
{
  "type": "string",
  "content": "string",
  "model": {
    "showDifferenceAsPercentage": true,
    "minimumChangePercentage": 0.0,
    "primary": {
      "forCis": true,
      "lines": {},
      "cisLines": {},
      "employer": {
        "id": "string",
        "name": "string",
        "metadata": "string",
        "url": "string"
      },
      "payPeriod": {},
      "ordinal": 0,
      "period": 0,
      "version": 0,
      "periodTo": 0,
      "startPeriodName": "string",
      "endPeriodName": "string",
      "startDate": "2026-12-05",
      "endDate": "2026-12-05",
      "report": {},
      "taxYear": {},
      "title": "string",
      "isDraft": true
    },
    "secondary": {
      "forCis": true,
      "lines": {},
      "cisLines": {},
      "employer": {
        "id": "string",
        "name": "string",
        "metadata": "string",
        "url": "string"
      },
      "payPeriod": {},
      "ordinal": 0,
      "period": 0,
      "version": 0,
      "periodTo": 0,
      "startPeriodName": "string",
      "endPeriodName": "string",
      "startDate": "2026-12-05",
      "endDate": "2026-12-05",
      "report": {},
      "taxYear": {},
      "title": "string",
      "isDraft": true
    },
    "joiners": {},
    "leavers": {},
    "hasDepartments": true,
    "commonLines": {},
    "hasVariances": true,
    "report": {},
    "taxYear": {},
    "title": "string",
    "isDraft": true
  },
  "stream": "string"
}
Contained in Models

- none -

Consumed by Operations

- none -

Returned by Operations
Variance Report