# ledger_coverage: What the ledger covers

What the ledger covers. Shows which departments are in the ledger, how many files and payments each has, its first and newest payment, and months missing...

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

Shows which departments are in the ledger, how many files and payments each has, its first and newest payment, and months missing since April 2024; with publisher, also the months with totals and the files read (including nil returns). Call it before telling a user that a payment does not exist, or to explain why a recent month is empty: departments publish one to three months late, and some stopped or have gaps (FCDO's last published month is January 2025). It costs nothing to call and does not count supplier data.

Input schema:

```json
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "publisher": {
      "type": "string",
      "minLength": 2,
      "maxLength": 120,
      "description": "Paying department: a short code (HMRC, MOD, DWP, HO, MOJ, DfE, DfT, DHSC, CO, HMT, DBT, DESNZ, Defra, DSIT, DCMS, FCDO, MHCLG, HMLR, UKEF, CMA, AGO, NIO, SO, OAG) or its GOV.UK slug."
    }
  }
}
```

Example: POST https://pellroll.bulkhead.solutions/v1/tools/ledger_coverage {"publisher":"FCDO"}

Result (trimmed):

```json
{
  "publisher": {
    "short": "FCDO",
    "name": "Foreign, Commonwealth & Development Office",
    "slug": "foreign-commonwealth-development-office",
    "files": 10,
    "first_payment": "2024-04-01",
    "latest_payment": "2025-01-31",
    "months_with_payments": 10,
    "months_missing": [],
    "payments": 45057,
    "total_gbp": 7464527564.49
  },
  "months": [
    {
      "month": "2024-04",
      "payments": 3629,
      "total_gbp": 655882802.93,
      "not_named_payments": 255
    },
    {
      "month": "2024-05",
      "payments": 4411,
      "total_gbp": 871698351.35,
      "not_named_payments": 170
    },
    {
      "month": "2024-06",
      "payments": 4867,
      "total_gbp": 639746596.3,
      "not_named_payments": 172
    },
    {
      "month": "2024-07",
      "payments": 2919,
      "total_gbp": 634138433.28,
      "not_named_payments": 147
    },
    "... 6 more"
  ],
  "files": [
    {
      "month": "2025-01",
      "title": "FCDO’s spending over £25,000 for January 2025",
      "file_url": "https://assets.publishing.service.gov.uk/media/67c03784b0bb6528ee866b78/FCDO_Spend_25k_January_2025.csv",
      "publication_url": "https://www.gov.uk/government/publications/foreign-commonwealth-development-office-spending-over-25000-january-2025",
      "payments_served": 4418
    },
    {
      "month": "2024-12",
      "title": "FCDO’s spending over £25,000 for December 2024",
      "file_url": "https://assets.publishing.service.gov.uk/media/67c03842a0f0c95a498d2027/FCDO_Spend_25k_December_2024.csv",
      "publication_url": "https://www.gov.uk/government/publications/foreign-commonwealth-development-office-spending-over-25000-december-2024",
      "payments_served": 7278
    },
    {
      "month": "2024-11",
      "title": "FCDO’s spending over £25,000 for November 2024",
      "file_url": "https://assets.publishing.service.gov.uk/media/67c038c072e83aab48866b7c/FCDO_Spend_25k_November_2024.csv",
      "publication_url": "https://www.gov.uk/government/publications/foreign-commonwealth-development-office-spending-over-25000-november-2024",
      "payments_served": 2438
    },
    {
      "month": "2024-10",
      "title": "FCDO’s spending over £25,000 for October 2024",
      "file_url": "https://assets.publishing.service.gov.uk/media/67449fc34a89e48361cb35dd/FCDO_spend_25k_October_2024.csv",
      "publication_url": "https://www.gov.uk/government/publications/foreign-commonwealth-development-office-spending-over-25000-october-2024",
      "payments_served": 6652
    },
    "... 6 more"
  ],
  "files_total": 10,
  "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.
