Creates a Statutory Parental Bereavement Leave period for an employee

Request

POST https://api.yourpayroll.co.uk/api/v2/business/{businessId}/employee/{employeeId}/statutoryleave/spbp

Path parameters

Parameter name Value Description Additional
employeeId int32 Required
businessId string Required

Request body

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

{
    "averageWeeklyEarningsOverride": "double",
    "childDeathDate": "date-time",
    "doNotPayReason": "string",
    "employerPensionProtection": "double",
    "id": "int32",
    "notes": "string",
    "offsetSpbp": "boolean",
    "payLumpSum": "boolean",
    "prevSpbpEndDate": "date-time",
    "prevSpbpStartDate": "date-time",
    "spbp": [
        {
            "daysPaid": "int32",
            "earnings": "double",
            "payRunId": "int32"
        }
    ],
    "spbpAdjust": "double",
    "startDate": "date-time",
    "weeksPaid": "double",
    "weeksToPay": "double"
}

Properties

Name Type Description
averageWeeklyEarningsOverride double Nullable
childDeathDate date-time DateTime
doNotPayReason string Nullable

Possible values are:

  • NotEmployedLongEnough
  • LeaveNoticeInvalid
  • EvidenceInvalid
  • EntitledToSsp
  • AweNotHighEnough
  • InLegalCustody
  • DidNotClaimSoonEnough
  • WorkedDuringPeriod
employerPensionProtection double Nullable
id int32 Int32
notes string String
offsetSpbp boolean Boolean
payLumpSum boolean Boolean
prevSpbpEndDate date-time Nullable
prevSpbpStartDate date-time Nullable
spbp[] array
spbp[].daysPaid int32 Int32
spbp[].earnings double Nullable
spbp[].payRunId int32 Int32
spbpAdjust double Nullable
startDate date-time DateTime
weeksPaid double Decimal
weeksToPay double Nullable

Response

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

Status code Description Resource
200 OK

OK

UkSpbpDataApiResponseModel