PapdisDocumentReportResponse

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
PAPDIS stands for 'Payroll and Pension Data Interface Standard'.
It is an industry standard for exchanging data between payroll software and pension providers.
Our system provides an export of data in this standard and these models are used to represent the data.
Whilst the relevant reporting API endpoint can provide this data as a JSON entity, it is usually represented in CSV or XML format which our API also provides.
PapdisDocument {PapdisDocument}
stream
byte array
string byte "string"
{
  "type": "string",
  "content": "string",
  "model": {
    "messageFunctionCode": "Enrol",
    "version": "PAP10",
    "messageFunctionCodeInt": 0,
    "pensionProvider": {
      "pensionProviderId": "string",
      "employers": [
        {
          "pensionRule": "ReliefAtSource",
          "employerId": "string",
          "group": "string",
          "subGroup": "string",
          "payrollPeriod": "error too many levels",
          "stagingDate": "2024-04-25",
          "cyclicalReenrolmentDate": "2024-04-25",
          "name": "string",
          "postalAddress": "error too many levels",
          "fullTimeContractedHours": 0.0,
          "fullTimeContractedWeeks": 0.0,
          "contractedWeeks": 0.0,
          "id": 0
        }
      ],
      "accountNo": "string"
    },
    "report": "GrossToNet",
    "taxYear": "Year2017",
    "title": "string",
    "isDraft": true
  },
  "stream": "string"
}
Contained in Models

- none -

Consumed by Operations

- none -

Returned by Operations
PAPDIS File