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
|
UmbrellaReconciliationReport
|
{UmbrellaReconciliationReport}
|
|
stream
byte array
|
string
byte
|
"string"
|
{
"type": "string",
"content": "string",
"model": {
"lines": [
{
"employee": {
"id": "string",
"name": "string",
"metadata": {},
"url": "string"
},
"period": "string",
"payrollCode": "string",
"department": "string",
"totalGross": 0.0,
"netPay": 0.0,
"tax": 0.0,
"employeeNi": 0.0,
"employerNi": 0.0,
"employeePension": 0.0,
"employerPension": 0.0,
"expenses": 0.0,
"fee": 0.0,
"appLevy": 0.0,
"invoiceValue": 0.0,
"employeeCosts": 0.0,
"employerCosts": 0.0,
"total": 0.0
}
],
"employer": {
"id": "string",
"name": "string",
"metadata": {},
"url": "string"
},
"payPeriod": "Custom",
"ordinal": 0,
"period": 0,
"periodTo": 0,
"startPeriodName": "string",
"endPeriodName": "string",
"startDate": "2024-10-13",
"endDate": "2024-10-13",
"report": "GrossToNet",
"taxYear": "Year2017",
"title": "string",
"isDraft": true
},
"stream": "string"
}
- none -
- none -