# getUkCompanyCharges

**Identifier:** `companieshouse_getUkCompanyCharges`

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

Charges registered against a UK company at Companies House (mortgages, debentures and other security given to lenders): lender, creation date, status outstanding or satisfied, fixed or floating. Use it to assess a UK company's secured debt and who its lenders are.

## Run it with the CLI

```bash
kirha tools run companieshouse_getUkCompanyCharges \
  --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_getUkCompanyCharges",
  "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": {
    "companyNumber": {
      "description": "Companies House number, e.g., 08804411 or SC123456",
      "pattern": "^[A-Za-z0-9]{6,8}$",
      "type": "string"
    },
    "outstandingOnly": {
      "type": "boolean"
    }
  },
  "required": [
    "companyNumber"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "charges": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "chargeCode": {
            "type": "string"
          },
          "createdOn": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "fixedCharge": {
            "type": "boolean"
          },
          "floatingCharge": {
            "type": "boolean"
          },
          "floatingCoversAllAssets": {
            "type": "boolean"
          },
          "kind": {
            "type": "string"
          },
          "lenders": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "negativePledge": {
            "type": "boolean"
          },
          "satisfiedOn": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "lenders"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "companyNumber": {
      "type": "string"
    },
    "context": {
      "type": "string"
    },
    "outstandingCharges": {
      "type": "number"
    },
    "totalCharges": {
      "type": "number"
    }
  },
  "required": [
    "context",
    "companyNumber",
    "totalCharges",
    "outstandingCharges",
    "charges"
  ],
  "type": "object"
}
```

-----

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