---
title: "Claude Haiku 5.5 on Pydantic AI Companies House"
description: "Extracting UK company accounts into a nested Pydantic model, checked against the filer's tags. Tool calling 60%; rank 18 of 20."
canonical: https://models.pydantic.dev/models/claude-haiku-5.5/companies_house/
---

# Claude Haiku 5.5 on Pydantic AI Companies House

> Extracting UK company accounts into a nested Pydantic model, checked against the filer's tags. Tool calling 60%; rank 18 of 20.
>
> Markdown copy of https://models.pydantic.dev/models/claude-haiku-5.5/companies_house/. Index for agents: https://models.pydantic.dev/llms.txt

**Agents: use the API for model information.** It answers a question in one request, where the pages need several.

- Choose a model for an agent: `POST https://models.pydantic.dev/api/select` with a JSON body such as `{"description": "what the agent does"}`. It returns up to five ranked models with reasons. Format: https://models.pydantic.dev/select.md
- Search models by name: `GET https://models.pydantic.dev/api/search?query=<text>`
- List, filter and sort models: `GET https://models.pydantic.dev/api/models`, for example `?weights=open&max_price=2&sort=efficiency`
- One model in full: `GET https://models.pydantic.dev/api/models/<slug>`

Add `intent=<intent>&stack=<stack>&harness=<harness>` to the query string of the first three. An `OPTIONS` request to any endpoint returns its schema. The same four are tools of the MCP server at `https://models.pydantic.dev/mcp`. More: https://models.pydantic.dev/usage.md

About the benchmark: https://models.pydantic.dev/benchmarks/companies_house.md. The model on every Pydantic AI benchmark: https://models.pydantic.dev/models/claude-haiku-5.5.md

| Mode         | Score | Tasks passed | Cost   | Requests | Tool calls | Time    |
| ------------ | ----- | ------------ | ------ | -------- | ---------- | ------- |
| Tool calling | 60%   | 6 of 10      | $0.048 | 10       | 10         | 1.7 min |

Each task was run once per mode.

## Review

Written by an LLM from the runs' transcripts.

#### Overall

The model passed 6 of 10 cases, all run in tool-calling mode. Every case finished in a single request. Cost per case ranged from $0.0042 to $0.0064, averaging about $0.0048 and totalling $0.0483. By tier:

| Tier | Passed |
| ---- | ------ |
| 1    | 0/2    |
| 2    | 1/2    |
| 3    | 2/2    |
| 4    | 2/2    |
| 5    | 1/2    |

The failures are not concentrated in the harder tiers. They come from rule-following lapses rather than extraction errors.

#### Where it does well

- **Group vs parent separation.** It reliably kept consolidated and parent-company figures apart, including prior-year comparatives that differ slightly. Examples:
  - tier3-05959188: group intangibles 14,896,135 vs parent 14,896,091.
  - tier4-NI626135: amounts owed to group 3,668,476 vs 10,067,741.
- **Signs.** It handled signs consistently: deficits, net liabilities and negative reserves were negative, while costs, creditors and tax charges were positive. This held even in failed runs.
- **Reconciliation.** Creditor lines reconciled to totals in tier4-05840865 and tier4-NI626135.
- **Missing lines.** Lines absent from the accounts were usually left null (tier2-11600506, tier5-NI037684).
- **Metadata.** Company details were correct everywhere they were noted, including a director who resigned mid-year (tier5-12026946).

#### Mistakes it makes

- **Ignoring the £000 rule (3 of 4 failures).** In tier1-07054261, tier1-11022760 and tier2-SC121467, figures were entered as printed in thousands, without the ×1,000 the handbook requires. Every money field was therefore 1,000 times too small. In SC121467 the strategic report stated "£140,000" while the model entered 140, so the error was detectable.
- **Non-schema field name (1 failure).** In tier5-12026946, the group's net current liabilities went under `net_current_liabilities`, which is not a schema field. As a result, `net_current_assets` came out null for both years.
- **Confusing null and 0.** The model was inconsistent in both directions:
  - It returned null where 0 was expected (tier1-11022760, prior other operating income).
  - It returned 0 where null was expected (tier5-12026946, parent creditors and a prior trade creditors figure).
  - Similar ungraded or uncertain cases appear in tier2-SC121467 and tier5-NI037684.
- **No self-checking.** It submitted after one call with no check of units or schema.
- **Possible ungraded copy error.** In tier3-09727592, the parent's provisions (5,889 in both years) are identical to the group's. Reviewers flagged this as a possible copy-across, but the field was not graded.

#### Tool calling compared with code mode

All ten cases were run in tool-calling mode only, so no comparison with code mode is possible from these notes. In tool mode the model always answered in one call. That keeps cost low, but it never gave the model a chance to catch the unit and schema errors that caused every failure.

## Runs

### tier1-07054261

**Tool calling: failed.** The agent extracted all figures correctly in a single accounts call but returned them as shown in £000 without multiplying by 1,000. Every monetary field is therefore 1,000 times too small, and the run failed. ($0.0051, 1 requests, 9 s)
- Right: Company details were all correct: name, number, full accounts, audited, not consolidated, and both period dates.
- Right: The relative values of every balance sheet and P&L line match the expected answer, including the signs on the negative reserves and profits and the prior-year tax credit of -138.
- Right: Bracketed costs were kept positive and net figures negative, as the handbook requires.
- Mistake: In the single accounts call, the agent entered every monetary figure in thousands as printed (e.g. turnover 16382, cash 1687, called_up_share_capital 1). It should have multiplied by 1,000 (16382000, 1687000, 1000), as the handbook's £000 rule requires.
- Mistake: It submitted once without checking the presentation unit against the handbook.

### tier1-11022760

**Tool calling: failed.** The agent pulled every figure from TaskUs Limited's £000 accounts in a single `accounts` call but never multiplied by 1,000, so every money field is 1,000 times too small. It also returned null for prior other_operating_income where 0 was expected. ($0.0042, 1 requests, 9 s)
- Right: Company details were all correct: name, number, full/audited/not consolidated, and both periods.
- Right: Balance sheet signs and line mapping were right, including negative net current assets, net assets and reserves, and the share capital of 0.
- Right: Tax was entered as a positive charge and the loss before and after tax as negatives, all matching the expected values before scaling.
- Mistake: In the single `accounts` call, every money figure was entered exactly as shown in £000 (e.g. cash 3269, creditors_within_one_year 50167, net_assets -20029) without the ×1,000 the handbook requires. Expected values are 3269000, 50167000, -20029000 and so on.
- Mistake: prior_profit_and_loss.other_operating_income was set to null, but 0 was expected; the prior-year column most likely shows a dash or nil against a line that exists.
- Mistake: No validation or second look before submitting; one call produced the final answer.

### tier2-11600506

**Tool calling: passed.** The agent pulled the group's consolidated balance sheet and P&L for both years in a single accounts call. Every expected field matched and the run passed. ($0.0042, 1 requests, 7 s)
- Right: Got the deficit signs right: net assets (-2896388), net current assets (-6090208), total assets less current liabilities (-857995) and the P&L reserve (-2896788) are negative, while costs and creditors stay positive.
- Right: Used the group (consolidated) figures, not the parent company balance sheet.
- Right: Left fields the accounts do not show (distribution costs, investments, share premium, investment property) out of the call, and the final output records them as null.
- Right: Finished in one call with no validation failures.

### tier2-SC121467

**Tool calling: failed.** The agent pulled all group balance sheet and P&L figures for both years in a single accounts call, but it entered them as shown in £000 and never multiplied by 1,000, so every money field is 1,000 times too small and the run failed. ($0.0047, 1 requests, 8 s)
- Right: Each figure matches the expected value in the thousands it was shown in (e.g. cash 2855, net assets 8263, profit before tax 439, prior tax -571).
- Right: Signs were handled correctly: the negative profit and loss reserve (-1296 and -1176), the prior-year losses and the prior-year tax credit (-571) are negative, while costs and interest payable are positive.
- Right: It picked the group (consolidated) figures, not the parent company's own.
- Mistake: In the only accounts call it entered every monetary figure as presented in £000 (e.g. called_up_share_capital 9559 instead of 9559000, cash 2855 instead of 2855000). The handbook requires multiplying £000 figures by 1,000.
- Mistake: It did not check the presentation unit. The strategic report quoted 'profit after taxation ... £140,000' while it entered profit_after_tax as 140, which should have shown the scaling was missing.
- Mistake: It entered creditors_after_one_year as 0 for the current year rather than null; the transcript does not show whether the accounts list this line.

### tier3-05959188

**Tool calling: passed.** The agent pulled the group and parent company balance sheets for 2025 and 2024 from Tribe Payments Limited's accounts in one accounts call. The submission passed and every expected field matched. ($0.0052, 1 requests, 8 s)
- Right: It kept the group (consolidated) figures separate from the parent company's own figures and filled both periods for each.
- Right: Net assets, net liabilities and reserves in deficit were given as negative numbers (e.g. net_assets -13564855, profit_and_loss_reserve -25824630), while creditors stayed positive.
- Right: It used null for lines not shown on the balance sheets (stocks, provisions, group investments).
- Right: It took the group and parent prior-year figures from their own statements, so they differ correctly (e.g. intangibles 14896135 for the group vs 14896091 for the parent).
- Right: It answered in a single call with no validation failures.

### tier3-09727592

**Tool calling: passed.** The agent read the Tyk Technologies group accounts and made a single `accounts` call returning group and parent company balance sheets for both years. Every graded field matched the expected answer and the run passed. ($0.0044, 1 requests, 9 s)
- Right: It kept the group consolidated figures apart from the parent company figures, e.g. group cash 2,720,339 vs company cash 2,017,699, and group P&L reserve -32,613,535 vs company -30,571,508.
- Right: It signed deficits correctly: group net assets -3,674,263 (current) and -1,437,569 (prior), while the parent's prior net assets stayed positive at 783,514.
- Right: It set the parent's prior-year investments to 0 rather than null, which matches the expected answer.
- Right: It finished in one call with no validation failures.
- Mistake: The parent's provisions are given as 5,889 in both years, the same as the group's in both years. That looks like a possible copy-across, though the field was not graded, so it could not be checked.
- Mistake: Group creditors_after_one_year (4,414,189 current, 2,280,471 prior) and debtors were not in the expected answer, so these figures could not be verified.

### tier4-05840865

**Tool calling: passed.** The agent read the group and company staff costs and creditors notes and submitted all figures in a single accounts call. Every graded field matched the expected answer and the run passed. ($0.0043, 1 requests, 9 s)
- Right: Correctly separated group and parent company figures for staff costs and creditors, including prior-year comparatives.
- Right: Reported bank loans as 0 for the current year with a prior of 10,251, matching the note.
- Right: Mapped the parent company's amounts owed to group undertakings (1,538,825 / 1,524,980) to the amounts_owed_to_group category.
- Right: Creditor line items reconcile to the totals: group 4,229,724 and parent 1,808,163.
- Right: Passed on the first submission with no validation failures.
- Mistake: No substantive mistakes. It included extra fields that were not graded (social security costs, group after-one-year creditors) and omitted the group amounts_owed_to_group row, which was expected as 0. These did not affect the result.

### tier4-NI626135

**Tool calling: passed.** The agent made one `accounts` call holding the group and parent company staff costs and creditors (current and prior years). Every graded field matched the expected answer, so the run passed. ($0.0048, 1 requests, 10 s)
- Right: It kept the group figures apart from the parent's, e.g. amounts owed to group of 3,668,476 for the group against 10,067,741 for the parent, and creditors within one year of 15,752,489 against 17,897,307.
- Right: It reported bank loans due after one year as 0 for the current year with 5,836 as the prior amount, rather than leaving the line null.
- Right: Within-one-year totals are consistent with their parts: the group's eight within-one-year lines sum to 15,752,489, the reported total.
- Right: It finished in a single call with no validation failures and no wasted retries.

### tier5-12026946

**Tool calling: failed.** The agent extracted group and parent figures in a single `accounts` call. It filed the group's net current liabilities under a non-schema key, `net_current_liabilities`, so group net_current_assets came out null for both years and the run failed. ($0.0064, 1 requests, 20 s)
- Right: Group P&L, balance sheet, creditors and staff costs for both years match the expected values, including correct signs for the losses and the tax charge and credit.
- Right: Parent company balance sheet figures (investments, debtors, cash, creditors, reserves, shareholders' funds) match for both years.
- Right: Company metadata and all four directors were captured correctly, including Mr R Thompson, who resigned during the year.
- Mistake: In the `accounts` call the agent put the group's -14613956 (current) and -15203694 (prior) under `net_current_liabilities`, which is not a schema field. The final output therefore shows `net_current_assets: null` for both group balance sheets. These figures should have gone under `net_current_assets` as negative numbers, since the handbook says a line shown under a different label still counts.
- Mistake: For the parent's current-year `creditors_after_one_year` the agent entered 0, but the expected answer has no such value (null). The expected answer also has no prior-year figure for parent trade creditors, yet the agent gave it a prior_amount of 0. The agent seems to have filled blanks or dashes with zeros where null was expected.

### tier5-NI037684

**Tool calling: passed.** The agent extracted the group and parent company figures for John Mulholland Motors Limited in a single accounts call, covering both balance sheets, the P&L, staff costs and the creditors notes. The submission was accepted and matched the expected answer. ($0.0050, 1 requests, 14 s)
- Right: Correctly separated group (consolidated) and parent company figures, including the creditors note columns, where the trade creditors and other figures differ slightly between group and company.
- Right: Identified the parent's £300 investment and fixed assets of 3,599,359 versus group tangible assets of 4,122,359.
- Right: Treated the tax charge and costs as positive amounts and the period dates correctly.
- Right: Left fields the accounts do not show (creditors after one year, share premium, distribution costs) as null.
- Right: Finished in one call with no failed checks.
- Mistake: It reported parent prior-year investments as 0 rather than null, which is a minor risk since the line may not be shown for the prior year. The expected answer does not score this field, so it had no effect.
