Last updated 9 October 2026View as Markdown

Statutory notice

POST /v1/notice-pay Needs a key

The least notice an employer must give, and the notice pay for it when a weekly pay is given.

Request

A JSON body. Fields not listed here are rejected.

FieldTypeDescription
months_of_service requiredintegerMonths of continuous employment. Allowed: 0 to 1,000.
tax_year optionalstringThe tax year, such as 2026-27. The latest when not given. Default "2026-27".
weekly_pay optionalnumberA week's pay, for the notice pay. Allowed: 0 or more, under 100,000,000.

Example

cURL

curl https://api.checktakehomepay.co.uk/v1/notice-pay \
  -H "Authorization: Bearer $CHECKTAKEHOMEPAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "months_of_service": 59,
  "weekly_pay": 512.5
}'

Response

200, with the result and what produced it: tax_year, engine, hmrc_test_data, assumptions and sources. This is the example's real response. Every field's type is in the OpenAPI document.

200 OK
{
  "tax_year": "2026-27",
  "engine": "2026-27.1",
  "hmrc_test_data": "rest of UK and Welsh tax v1.0, Scottish tax v1.1, NI v1.0, directors NI v1.0, student loans v1.0",
  "notice_weeks": 4,
  "notice_pay": 2050,
  "assumptions": [
    "The least notice an employer must give: a week after a month of continuous employment, then a week for each full year from 2 years, up to 12 weeks.",
    "A contract can give more, and the employee gives at least a week after a month."
  ],
  "sources": [
    "https://www.legislation.gov.uk/ukpga/1996/18/section/86"
  ]
}

Errors

  • 400 INVALID_INPUT: the message names each field that is wrong.
  • 401 UNAUTHENTICATED (no key) or INVALID_KEY (a key we don’t know, or a revoked one).

Every code, and how to handle them: Errors.