Request

POST https://api.yourpayroll.co.uk/api/v2/business/{businessId}/report/p11d/xml

Path parameters

Parameter name Value Description Additional
businessId string Required

Request body

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

{
    "exbSubmissionType": "string",
    "taxYearEnding": "int32"
}

Properties

Name Type Description
exbSubmissionType string ExbSubmissionType

Possible values are:

  • Unknown
  • P11d
  • P11db
  • P46
taxYearEnding int32 Int32

Response

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

Status code Description Resource
200 OK

OK

ExbResponseXmlModel