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
|
Exb
|
{Exb}
|
|
stream
byte array
|
string
byte
|
"string"
|
{
"type": "string",
"content": "string",
"model": {
"additionsAmount": 0.0,
"additionsDescription": "string",
"deductionsAmount": 0.0,
"deductionsDescription": "string",
"employeeCount": 0,
"totalBenefits": 0.0,
"totalAdjustedBenefits": 0.0,
"nicsRate": 0.0,
"nicsPayable": 0.0,
"expensesAndBenefits": {
"employer": {
"name": "string"
},
"declarations": {
"p11Dincluded": "string",
"p46CarDeclaration": "string"
},
"p11Db": {
"class1AcontributionsDue": "error too many levels"
},
"p11DrecordCount": 0,
"p46CarRecordCount": 0,
"p11D": [
{
"employee": "error too many levels",
"transferred": "error too many levels",
"payments": "error too many levels",
"vouchersOrCCs": "error too many levels",
"livingAccom": "error too many levels",
"mileageAllow": "error too many levels",
"cars": "error too many levels",
"vans": "error too many levels",
"loans": "error too many levels",
"medical": "error too many levels",
"relocation": "error too many levels",
"services": "error too many levels",
"assetsAvail": "error too many levels",
"other": "error too many levels",
"expPaid": "error too many levels"
}
],
"relatedTaxYear": "string"
},
"iRmark": "string",
"xml": "string",
"taxYear": "Year2017",
"employerReferences": {
"officeNo": "string",
"payeRef": "string",
"aoRef": "string",
"econ": "string",
"cotaxRef": "string",
"sautr": "string"
},
"govTalkSubmission": {
"rawResponse": "string",
"messageClass": "string",
"pollInterval": 0,
"lastPoll": "2024-11-21T14:21:05",
"correlationId": "string",
"url": "string",
"status": "NotSubmitted",
"message": "string",
"iRmark": "string",
"errorsJson": "string",
"errors": [
{
"raisedBy": "string",
"number": "string",
"type": "string",
"text": "string",
"location": "string"
}
],
"submittedAt": "2024-11-21T14:21:05",
"id": "string"
},
"id": "string"
},
"stream": "string"
}