Request

POST https://api.yourpayroll.co.uk/api/v2/business/{businessId}/report/eps/epsxml

Path parameters

Parameter name Value Description Additional
businessId string Required

Request body

The request body takes a complete EmployerPaymentSummaryRequest resource, containing the following writable properties:

{
    "businessId": "int32",
    "isAutomaticSubmission": "boolean",
    "isFinalEps": "boolean",
    "isTest": "boolean",
    "jobDate": "date-time",
    "noPaymentDates": {
        "fromDate": "date-time",
        "toDate": "date-time"
    },
    "payeSchemeCeased": "boolean",
    "payeSchemeCeasedDate": "date-time",
    "periodEnd": "date-time",
    "periodOfInactivity": "boolean",
    "periodOfInactivityToDate": "date-time",
    "taxYear": "int32"
}

Properties

Name Type Description
businessId int32 Int32
isAutomaticSubmission boolean Boolean
isFinalEps boolean Boolean
isTest boolean Boolean
jobDate date-time DateTime
noPaymentDates object EpsPaymentDatesModel
noPaymentDates.fromDate date-time DateTime
noPaymentDates.toDate date-time DateTime
payeSchemeCeased boolean Boolean
payeSchemeCeasedDate date-time Nullable
periodEnd date-time DateTime
periodOfInactivity boolean Boolean
periodOfInactivityToDate date-time Nullable
taxYear int32 Int32

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

OK

EpsResponseXmlApiModel