P32ReportResponse

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 P32 {P32}
stream
Contains PDF bytes when Type is application/octet-stream.
Null, String byte "string"
{
  "type": "string",
  "content": "string",
  "model": {
    "isQuarterly": true,
    "hmrcLiabilities": {},
    "employerOpeningBalances": {
      "smpRecovered": 0.0,
      "sppRecovered": 0.0,
      "sapRecovered": 0.0,
      "shPPRecovered": 0.0,
      "spbpRecovered": 0.0,
      "spbpNorthernIrelandRecovered": 0.0,
      "sncpRecovered": 0.0,
      "nicCompensationOnSMP": 0.0,
      "nicCompensationOnSPP": 0.0,
      "nicCompensationOnSAP": 0.0,
      "nicCompensationOnShPP": 0.0,
      "nicCompensationOnSPBP": 0.0,
      "nicCompensationOnSPBPNorthernIreland": 0.0,
      "nicCompensationOnSNCP": 0.0,
      "cisDeductionsSuffered": 0.0,
      "apprenticeshipLevy": 0.0,
      "employmentAllowance": 0.0
    },
    "openingBalancesTotals": {
      "employeesWithOpeningBalancesCount": 0,
      "taxYear": {},
      "previousEmployerGross": 0.0,
      "previousEmployerTax": 0.0,
      "currentEmployerGross": 0.0,
      "currentEmployerTax": 0.0,
      "currentEmployerNet": 0.0,
      "studentLoanDeductions": 0.0,
      "postgradLoanDeductions": 0.0,
      "empeePenContribnsPaid": 0.0,
      "empeePenContribnsNotPaid": 0.0,
      "smp": 0.0,
      "spp": 0.0,
      "sap": 0.0,
      "shpp": 0.0,
      "spbp": 0.0,
      "spbpNorthernIreland": 0.0,
      "sncp": 0.0,
      "realTimeClass1ANi": 0.0,
      "terminationPayments": 0.0,
      "mapsMiles": 0,
      "benefitsTaxedViaPayroll": 0.0,
      "nicSummaries": {},
      "foreignTaxCredit": 0.0,
      "foreignTaxCreditReclaimed": 0.0,
      "employee": {
        "id": "string",
        "name": "string",
        "metadata": "string",
        "url": "string"
      }
    },
    "report": {},
    "taxYear": {},
    "title": "string",
    "isDraft": true
  },
  "stream": "string"
}
Contained in Models

- none -

Consumed by Operations

- none -

Returned by Operations
P32