# supplier_spend: Total paid to a supplier

Total paid to a supplier. Totals what UK central government paid one supplier over a period, grouped by paying department (default), month, financial year...

Canonical: https://pellroll.bulkhead.solutions/docs/supplier_spend

Totals what UK central government paid one supplier over a period, grouped by paying department (default), month, financial year or expense type, with the first and last payment, the source files that carry the most value (URL, title and publication page), and coverage notes when a department has not yet published the end of the period. Ends with summary, one sentence to quote. Call it for questions like how much the Home Office paid Serco in 2025-26 or how a supplier's central government revenue moved by month. Use supplier_payments for the individual lines. These are payments as published (invoices, grants, credit notes), not contract values, and they include VAT where the department published gross amounts.

Input schema:

```json
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "supplier"
  ],
  "properties": {
    "supplier": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "A supplier_id from find_supplier (a Companies House number such as 00242246, or an id such as n-network-rail), a Companies House number, or the supplier's exact name."
    },
    "from": {
      "type": "string",
      "maxLength": 10,
      "description": "Start of the period, YYYY-MM-DD, YYYY-MM or YYYY. The ledger starts on 2024-04-01."
    },
    "to": {
      "type": "string",
      "maxLength": 10,
      "description": "End of the period, YYYY-MM-DD, YYYY-MM or YYYY, inclusive. Defaults to the newest payment."
    },
    "financial_year": {
      "type": "string",
      "maxLength": 12,
      "description": "UK financial year instead of from and to, for example 2025-26 (1 April 2025 to 31 March 2026)."
    },
    "group_by": {
      "type": "string",
      "enum": [
        "publisher",
        "month",
        "financial_year",
        "expense_type"
      ],
      "description": "How to group the total: publisher (default), month, financial_year or expense_type."
    }
  }
}
```

Example: POST https://pellroll.bulkhead.solutions/v1/tools/supplier_spend {"supplier":"00242246","financial_year":"2025-26"}

Result (trimmed):

```json
{
  "supplier": {
    "supplier_id": "00242246",
    "name": "SERCO LIMITED",
    "company_number": "00242246",
    "company_status": "Active",
    "company_category": "Private Limited Company",
    "match": {
      "method": "exact",
      "postcode_confirmed": true
    },
    "published_names": [
      "SERCO LTD",
      "SERCO LIMITED",
      "Serco Limited",
      "Serco Ltd",
      "... 1 more"
    ],
    "total_gbp": 1571401507.36,
    "payments": 2627,
    "first_payment": "2024-04-02",
    "last_payment": "2026-09-30",
    "paid_by": [
      {
        "publisher": "MOJ",
        "total_gbp": 618735649.54,
        "payments": 509
      },
      {
        "publisher": "MOD",
        "total_gbp": 346538460.59,
        "payments": 453
      },
      {
        "publisher": "DWP",
        "total_gbp": 307231149.92,
        "payments": 1078
      },
      {
        "publisher": "HO",
        "total_gbp": 286861605.21,
        "payments": 401
      },
      "... 1 more"
    ]
  },
  "period": {
    "from": "2025-04-01",
    "to": "2026-03-31",
    "financial_year": "2025-26"
  },
  "total_gbp": 829044352.8,
  "payments": 1258,
  "first_payment": "2025-04-01",
  "last_payment": "2026-03-31",
  "group_by": "publisher",
  "groups": [
    {
      "publisher": "MOJ",
      "total_gbp": 329805623.75,
      "payments": 277
    },
    {
      "publisher": "MOD",
      "total_gbp": 218989917.29,
      "payments": 255
    },
    {
      "publisher": "HO",
      "total_gbp": 137918355.57,
      "payments": 188
    },
    {
      "publisher": "DWP",
      "total_gbp": 137818033.26,
      "payments": 455
    },
    "... 7 more"
  ],
  "groups_total": 11,
  "source_files": [
    {
      "file_url": "https://assets.publishing.service.gov.uk/media/685d6969e44db4975be00af0/Home-Office-Spending-Over-25000-Apr-2025.csv",
      "file_title": "Home Office: April 2025",
      "publication_url": "https://www.gov.uk/government/publications/home-office-spending-over-25000-2025",
      "total_gbp": 74316052.51,
      "payments": 27
    },
    {
      "file_url": "https://assets.publishing.service.gov.uk/media/68c2d77ceeb238b20672a9f5/MOD_s_spending_over__25_000_for_July_2025.ods",
      "file_title": "MOD’s spending over £25,000 for July 2025",
      "publication_url": "https://www.gov.uk/government/publications/mod-spending-over-25000-january-to-december-2025",
      "total_gbp": 37461000.94,
      "payments": 24
    },
    {
      "file_url": "https://assets.publishing.service.gov.uk/media/69df4e6a3e81003ae0422579/HMPPS_-_spend_Jun_2025.csv",
      "file_title": "HMPPS spending over £25,000 for June 2025",
      "publication_url": "https://www.gov.uk/government/publications/hm-prison-and-probation-service-spending-over-25000-2025",
      "total_gbp": 32931243.68,
      "payments": 27
    },
    {
      "file_url": "https://assets.publishing.service.gov.uk/media/69df4e52b0b0b93055e04fd0/HMPPS_-_spend_May_2025.csv",
      "file_title": "HMPPS spending over £25,000 for May 2025",
      "publication_url": "https://www.gov.uk/government/publications/hm-prison-and-probation-service-spending-over-25000-2025",
      "total_gbp": 31474715.2,
      "payments": 29
    },
    "... 6 more"
  ],
  "source_files_total": 85,
  "coverage_notes": [
    "Not yet published to 2026-03: FCDO (newest payment 2025-01-31)",
    "Totals for the end of the period may grow as these publishers catch up."
  ],
  "summary": "SERCO LIMITED received £829,044,352.80 in 1,258 published payments over £25,000 from UK central government between 2025-04-01 and 2026-03-31, per Pellroll's ledger of GOV.UK spend files (data version 3fca2c047bbf).",
  "as_of": {
    "latest_payment": "2026-11-04",
    "built_at": "2026-11-14",
    "data_version": "3fca2c047bbf",
    "ledger_from": "2024-04-01",
    "companies_house_snapshot": "2026-11-01"
  }
}
```

---

Automated and unreviewed. Pellroll reads the spend files UK government bodies publish and no person checks each answer. Data can be incomplete, late or wrong, and a name match to Companies House can be wrong. Verify against the published file linked with every answer before you act. Not financial, credit or legal advice. A payment is not a contract value.

Contains public sector information licensed under the Open Government Licence v3.0. Company details from Companies House.
