# Calculate T+2 settlement dates around UK bank holidays

**Use case:** 

Add UK working days to a date (T+1, T+2, T+N), skipping weekends and GOV.UK bank holidays, e.g. for payment settlement, Bacs and invoice due dates over Christmas and Easter.

## Input

```json
{
  "calculations": [
    {
      "date": "2026-12-23",
      "addWorkingDays": 2
    },
    {
      "date": "2026-12-31",
      "addWorkingDays": 1
    },
    {
      "date": "2027-03-25",
      "addWorkingDays": 2,
      "region": "scotland"
    }
  ],
  "region": "england-and-wales"
}
```

## Output

```json
{
  "date": {
    "label": "Start date",
    "format": "string"
  },
  "isWorkingDay": {
    "label": "Start date is a working day",
    "format": "boolean"
  },
  "bankHoliday": {
    "label": "Bank holiday name on start date",
    "format": "string"
  },
  "nextWorkingDay": {
    "label": "Next working day",
    "format": "string"
  },
  "addWorkingDays": {
    "label": "Working days added",
    "format": "integer"
  },
  "resultDate": {
    "label": "Result date",
    "format": "string"
  },
  "holidaysSkipped": {
    "label": "Bank holidays skipped",
    "format": "array"
  },
  "region": {
    "label": "Region",
    "format": "string"
  },
  "warning": {
    "label": "Warning if beyond published holidays",
    "format": "string"
  },
  "ok": {
    "label": "Succeeded",
    "format": "boolean"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The UK Working Days & Settlement Date Calculator Actor is ready to run with the inputs already set for "Calculate T+2 settlement dates around UK bank holidays". [Sign up or log in](https://console.apify.com/create-task-from-example/oNbm0tN01c3Fbx4Ae) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Calculate T+2 settlement dates around UK bank holidays" task

The UK Working Days & Settlement Date Calculator Actor will start running based on the input automatically. You can also change all the input fields, like calculations and default region, to match your specific use case.

### 3. Receive the "Calculate T+2 settlement dates around UK bank holidays" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as start date, start date is a working day, bank holiday name on start date, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Calculate T+2 settlement dates around UK bank holidays" task via API](https://apify.com/sterlingverify/uk-working-days.md).

## About this Actor

This example demonstrates how to use [UK Working Days & Settlement Date Calculator](https://apify.com/sterlingverify/uk-working-days.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/sterlingverify/uk-working-days.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/sterlingverify/uk-working-days.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
