# NHS trusts' supplier payment performance

**Use case:** 

Payment performance reports from NHS trusts and other bodies with NHS identifiers, published in the last six months under the Procurement Act 2023, worst first. Each row has the share of invoices paid within 30 days, the average days to pay, the share paid late, and the trend since the previous report.

## Input

```json
{
  "noticeTypes": [
    "payments-compliance"
  ],
  "daysBack": 180,
  "authorities": [
    "NHS"
  ],
  "onlyNew": false,
  "maxResults": 300
}
```

## Output

```json
{
  "authorityName": {
    "label": "Authority name",
    "format": "string"
  },
  "paidWithin30DaysPct": {
    "label": "Paid within30days pct",
    "format": "number"
  },
  "averageDaysToPay": {
    "label": "Average days to pay",
    "format": "number"
  },
  "paidAfter30DaysPct": {
    "label": "Paid after30days pct",
    "format": "number"
  },
  "duePaymentsNotMadePct": {
    "label": "Due payments not made pct",
    "format": "number"
  },
  "paymentPeriodStart": {
    "label": "Payment period start",
    "format": "string"
  },
  "paymentPeriodEnd": {
    "label": "Payment period end",
    "format": "string"
  },
  "paymentTrend": {
    "label": "Payment trend",
    "format": "string"
  },
  "paidWithin30DaysChange": {
    "label": "Paid within30days change",
    "format": "number"
  },
  "averageDaysToPayChange": {
    "label": "Average days to pay change",
    "format": "number"
  },
  "previousPeriodEnd": {
    "label": "Previous period end",
    "format": "string"
  },
  "contractsCovered": {
    "label": "Contracts covered",
    "format": "string"
  },
  "authorityType": {
    "label": "Authority type",
    "format": "string"
  },
  "authorityKey": {
    "label": "Authority key",
    "format": "string"
  },
  "emptyReport": {
    "label": "Empty report",
    "format": "boolean"
  },
  "publishedAt": {
    "label": "Published at",
    "format": "string"
  },
  "noticeUrl": {
    "label": "Notice url",
    "format": "string"
  }
}
```

## How it works

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

The UK Late Payers & Procurement Act Notices from Find a Tender Actor is ready to run with the inputs already set for "NHS trusts' supplier payment performance". [Sign up or log in](https://console.apify.com/create-task-from-example/MQfQepDbttPbgbyo1) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "NHS trusts' supplier payment performance" task

The UK Late Payers & Procurement Act Notices from Find a Tender Actor will start running based on the input automatically. You can also change all the input fields, like notice types, days back, and more, to match your specific use case.

### 3. Receive the "NHS trusts' supplier payment performance" 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 authority name, paid within30days pct, average days to pay, 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 "NHS trusts' supplier payment performance" task via API](https://apify.com/locaihost/uk-procurement-act.md).

## About this Actor

This example demonstrates how to use [UK Late Payers & Procurement Act Notices from Find a Tender](https://apify.com/locaihost/uk-procurement-act.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/locaihost/uk-procurement-act.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/locaihost/uk-procurement-act.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`).
