# Analyse Client Financials

> Analyses a client's financials for an accountant, covering variance, trend, ratio, cashflow, profitability or working capital. You must supply client_id…

POST /api/v1/skills/financials.analyse/invoke

Analyses a client's financials for an accountant, covering variance, trend, ratio, cashflow, profitability or working capital. You must supply client_id, and can narrow the work with a period and a comparison period. It returns a written analysis with metrics, trends, findings, citations and a confidence score.

Body parameters

client_id string · uuid Required

UUID of the client whose financials are analysed.

analysis_type enum · default variance

Kind of analysis to run; defaults to a period-on-period variance review.

variance trend ratio cashflow profitability working_capital

period string

Period to analyse as a free-text label, for example 2026-06 or 2025-Q4.

compare_period string

Period to compare against, as a free-text label such as 2025-06.

Returns

Skill executed successfully

skill string Required

Example analyse_financials

output object Required

output.stub_fields array of strings

output.warnings array of strings

output.analysis string · default

output.metrics object

output.trends array of values

output.findings array of values

output.citations array of values

output.confidence number · default 0

correlation_id string Required

Errors

Status Type When

401 AUTH.TOKEN_INVALID Authentication required

403 PERMISSION.CAPABILITY_DENIED Insufficient permissions

404 SKILL.NOT_FOUND Skill not found

422 VALIDATION.INVALID_FORMAT Validation error

429 RATE_LIMIT.USER Rate limit exceeded

5XX INTERNAL.UNKNOWN Internal server error

[Previous ← Analyse an Uploaded Document](https://heyarchie.com/en-gb/developers/api-reference/analysis/analyse-an-uploaded-document/)[Next Analyse an Investment Portfolio →](https://heyarchie.com/en-gb/developers/api-reference/analysis/analyse-an-investment-portfolio/)

```
curl https://uk.heyarchie.com/api/v1/skills/financials.analyse/invoke \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{
       "client_id": "00000000-0000-0000-0000-000000000000",
       "analysis_type": "variance",
       "period": null,
       "compare_period": null
     }'
```

```
from heyarchie import Archie
archie = Archie(api_key="sk_...")
result = archie.skills.invoke(
    "financials.analyse",
    client_id="00000000-0000-0000-0000-000000000000",
    analysis_type="variance",
    period=None,
    compare_period=None,
)
print(result)
```

```
import { Archie } from "heyarchie";

const archie = new Archie({ apiKey: "sk_..." });
const result = await archie.skills.invoke("financials.analyse", {
  "client_id": "00000000-0000-0000-0000-000000000000",
  "analysis_type": "variance",
  "period": null,
  "compare_period": null
});
console.log(result);
```

Response

```
{
  "skill": "analyse_financials",
  "output": {
    "analysis": "Northwind Trading Ltd grew revenue 8.4% year on year to GBP 1,284,500 in June 2026, while operating costs rose faster than sales.",
    "citations": [
      {
        "confidence": 0.9,
        "section": "Section 5",
        "standard": "FRS 102"
      }
    ],
    "confidence": 0.86,
    "findings": [
      {
        "area": "Operating costs",
        "description": "Staff costs grew 12.1%, ahead of revenue growth.",
        "recommendation": "Review headcount plans against the forecast.",
        "severity": "medium"
      }
    ],
    "metrics": {
      "currency": "GBP",
      "prior_revenue": 1184900,
      "revenue": 1284500
    },
    "trends": [
      {
        "change_pct": 8.4,
        "direction": "up",
        "metric": "revenue"
      }
    ]
  },
  "correlation_id": "<string>"
}
```

```
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "retry_after_seconds": "<integer>"
  }
}
```

Every response also carries X-Request-ID. Quote it if you write to us about a call.
