# UK Late Payers: Payment Practices Reports (`digital_influx/uk-payment-practices`) Actor

How fast large UK companies pay their suppliers, from the government's payment practices register: average days to pay, invoices paid late and after 60 days, payment terms and the trend against each company's previous report. Search a company, rank the slowest payers or get new reports.

- **URL**: https://apify.com/digital_influx/uk-payment-practices.md
- **Developed by:** [Bruno Petrelli](https://apify.com/digital_influx) (community)
- **Categories:** Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $12.00 / 1,000 payment practices report saveds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## UK Late Payers: Payment Practices Reports

**How fast large UK companies pay their suppliers**, from the UK government's payment practices register. Large UK companies and LLPs must publish a report every six months saying how long they take to pay invoices. This Actor reads the whole register (over 116,000 reports from more than 10,000 companies since 2017) and gives you the reports you ask for, with one thing the register does not show: **the change against each company's previous report**.

Search a company before you sell to it, rank the slowest payers, or get the newly published reports on a schedule. No login, no API key, no proxies: the data is open (Open Government Licence v3.0).

### Who uses it

- **Suppliers, agencies and freelancers:** check how long a customer takes to pay before you sign, and what its contract terms are.
- **Invoice finance and factoring:** companies that pay in 60, 90 or 120 days have suppliers who need cash sooner.
- **Credit control and risk teams:** a customer whose average time to pay keeps growing is an early warning.
- **Journalists and researchers:** the slowest payers by period, and who got worse.

### What you get

One row per report:

| Field | Example |
|---|---|
| `company`, `companyNumber` | BAKER & MCKENZIE LLP, OC311297 |
| `periodStart`, `periodEnd`, `filingDate` | 2025-07-01, 2025-12-31, 2026-09-23 |
| `averageDaysToPay` | 142 |
| `pctPaidWithin30Days`, `pctPaid31To60Days`, `pctPaidAfter60Days` | 59, 10, 31 |
| `pctNotPaidWithinAgreedTerms` | 41 (the share of invoices paid late) |
| `pctNotPaidDueToDispute` | 0 |
| `trend`, `changeInAverageDaysToPay` | slower, 114 (days more than in the previous report) |
| `previousReport` | Its id, period end, average days to pay and share paid late |
| `shortestStandardPaymentPeriod`, `longestStandardPaymentPeriod`, `maximumContractualPaymentPeriod` | 0, 30, 30 (days) |
| `standardPaymentTerms`, `disputeResolutionProcess` | The company's own text |
| `offersEInvoicing`, `offersSupplyChainFinance`, `paymentCodes` | false, false, null |
| `chargedSuppliersToStayOnList` | false |
| `valuePaidWithin30Days` and the other value fields | In pounds, in the newer reports |
| `retention` | Retention clauses, for construction contracts |
| `isLatestReport`, `reportsFiled` | true, 17 |
| `reportUrl`, `companiesHouseUrl` | The report on GOV.UK and the company at Companies House |
| `dataWarnings` | Figures that look wrong as filed (see below) |

The run's **OUTPUT** record has the size of the register, the companies found for each name you gave, the medians of the saved reports and the attribution.

### Input

```json
{
  "filedWithinDays": 90,
  "minAverageDaysToPay": 60,
  "sortBy": "slowest",
  "maxResults": 20
}
```

| Field | What it does |
|---|---|
| `companies` | Names (`Tesco Stores`, `Boots`) or Companies House numbers (`00519500`). A name finds every company whose name has all its words, former names included. Empty = the whole register. |
| `latestOnly` | On (default): each company's most recent report. Off: every report since 2017. |
| `filedWithinDays` | Only reports published in the last N days. |
| `minAverageDaysToPay` | Average time to pay of N days or more. |
| `minPercentPaidLate` | This share of invoices or more not paid within the agreed terms. |
| `minPercentPaidAfter60Days` | This share of invoices or more paid later than 60 days. |
| `trend` | `slower` or `faster` than the company's previous report. |
| `sortBy` | `newest` (default), `slowest` or `mostLate`. |
| `maxResults` | Reports saved per run (default 100). |
| `onlyNew`, `memoryName` | For schedules: skip the reports an earlier run already saved. |
| `reuseDownloadHours` | Reuse the register an earlier run of yours downloaded (default 12 hours; 0 = always download). |

### Speed

The register is one file of about 105 MB, and the government service sends it at about 1 MB per second: **the first run takes around two and a half minutes**. The Actor keeps a compressed copy in a key-value store of your account (`digital-influx-uk-payment-practices`, about 15 MB), so the next runs within 12 hours finish in seconds. A daily schedule always downloads fresh data.

### Price

You pay per report saved. Reports left out by your filters, reports already saved by an earlier run (`onlyNew`) and runs that find nothing cost nothing.

**Free Apify plan:** a run saves at most 25 reports. Any paid Apify plan removes that limit.

### Things to know

- **Only large companies report:** a small company is not in the register, and the run tells you which of your names were not found.
- **The figures are what each company filed.** Nobody audits them, and some are plainly wrong (one report states an average of 4,323,394 days). An average over a year, payment bands that do not add up to 100% and percentages outside 0 to 100 are kept as filed and flagged in `dataWarnings`; with `sortBy: slowest`, averages over a year go last.
- **`trend` compares with the company's nearest earlier report that states an average.** A report with no payments in the period has no average and no trend.
- **A company with several legal entities files one report per entity** (Tesco Stores, Tesco Mobile...). A name search returns them all.
- The service is read once per run, through its own "Export data" file, with a User-Agent that names this Actor.

### Attribution

Contains public sector information licensed under the [Open Government Licence v3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/). Source: Payment practices reporting service, Department for Business and Trade.

# Actor input Schema

## `companies` (type: `array`):

Company names (Tesco Stores, Boots, Tata Steel) or Companies House numbers (00519500). A name finds every company whose name has all its words. Empty = the whole register. Only large UK companies and LLPs must report, so a small company is not in it.

## `latestOnly` (type: `boolean`):

On: one row per company, its most recent report. Off: every report since 2017 (companies report every six months), to see the history.

## `filedWithinDays` (type: `integer`):

Only reports published in the last N days. Empty = any date.

## `minAverageDaysToPay` (type: `integer`):

Only reports whose average time to pay an invoice is this many days or more. 60 finds the companies that take two months or longer. Empty = any.

## `minPercentPaidLate` (type: `integer`):

Only reports where this share of invoices or more was not paid within the agreed terms. Empty = any.

## `minPercentPaidAfter60Days` (type: `integer`):

Only reports where this share of invoices or more was paid later than 60 days. Empty = any.

## `trend` (type: `string`):

Slower: the average time to pay went up since the company's previous report. Faster: it went down.

## `sortBy` (type: `string`):

Which reports come first, and so which ones are saved when more match than the maximum below.

## `maxResults` (type: `integer`):

Reports saved per run; you pay per report saved. On the free Apify plan a run saves at most 25 reports; any paid Apify plan removes that limit.

## `onlyNew` (type: `boolean`):

For scheduled runs: skip the reports an earlier run of yours (with the same memory key) already saved, so a daily or weekly run gives you only the newly published ones.

## `memoryName` (type: `string`):

Give each scheduled search its own key (letters, digits, dot, dash, underscore), so they do not share their memory.

## `reuseDownloadHours` (type: `integer`):

The register is one file of about 105 MB that takes around 2 minutes to download. A run reuses the copy an earlier run of yours kept in your account when it is younger than this, and then finishes in seconds. 0 = always download.

## Actor input object example

```json
{
  "latestOnly": true,
  "filedWithinDays": 90,
  "minAverageDaysToPay": 60,
  "trend": "any",
  "sortBy": "slowest",
  "maxResults": 20,
  "onlyNew": false,
  "reuseDownloadHours": 12
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "filedWithinDays": 90,
    "minAverageDaysToPay": 60,
    "sortBy": "slowest",
    "maxResults": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("digital_influx/uk-payment-practices").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "filedWithinDays": 90,
    "minAverageDaysToPay": 60,
    "sortBy": "slowest",
    "maxResults": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("digital_influx/uk-payment-practices").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "filedWithinDays": 90,
  "minAverageDaysToPay": 60,
  "sortBy": "slowest",
  "maxResults": 20
}' |
apify call digital_influx/uk-payment-practices --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,digital_influx/uk-payment-practices"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/pQGBvBiu9tQiyf88X/builds/jx1ndRJcq7LakdFQA/openapi.json
