# getUkCompanyFilings

**Identifier:** `companieshouse_getUkCompanyFilings`

**Provider:** [Companies House](https://kirha.com/providers/companieshouse.md)

Filing history of a UK company at Companies House, most recent first: accounts, confirmation statements, officer changes, capital, charges and insolvency documents, with date and form type. Use it to check that a company files on time or to find when an event was registered.

## Run it with the CLI

```bash
kirha tools run companieshouse_getUkCompanyFilings \
  --input '{
    "companyNumber": "08804411 or SC123456"
  }'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "companieshouse_getUkCompanyFilings",
  "input": {
    "companyNumber": "08804411 or SC123456"
  }
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "category": {
      "enum": [
        "accounts",
        "confirmation-statement",
        "officers",
        "capital",
        "mortgage",
        "incorporation",
        "insolvency",
        "resolution",
        "address",
        "persons-with-significant-control"
      ],
      "type": "string"
    },
    "companyNumber": {
      "description": "Companies House number, e.g., 08804411 or SC123456",
      "pattern": "^[A-Za-z0-9]{6,8}$",
      "type": "string"
    },
    "limit": {
      "default": 20,
      "maximum": 100,
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "companyNumber"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "companyNumber": {
      "type": "string"
    },
    "context": {
      "type": "string"
    },
    "filings": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "category": {
            "type": "string"
          },
          "date": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "formType": {
            "type": "string"
          },
          "pages": {
            "type": "number"
          },
          "url": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "found": {
      "type": "boolean"
    },
    "totalFilings": {
      "type": "number"
    }
  },
  "required": [
    "context",
    "companyNumber",
    "found",
    "totalFilings",
    "filings"
  ],
  "type": "object"
}
```

-----

[All Companies House tools](https://kirha.com/providers/companieshouse.md) · [< Back to tools list](https://kirha.com/tools.md)