# Prepare a Financial Forecast

> Projects monthly revenue, expenses, EBITDA and cash for one or more scenarios from the client's trial balance. Only clientid is required; the horizon…

POST /api/v1/skills/reports.forecast.prepare/invoke

Projects monthly revenue, expenses, EBITDA and cash for one or more scenarios from the client's trial balance. Only client_id is required; the horizon, scenarios, statements, seasonality and output format all have defaults, and growth_assumptions overrides the drivers. The answer holds the monthly figures for each scenario, an assumptions register and data-quality notes.

Body parameters

client_id string · uuid Required

UUID of the client entity to forecast.

horizon_months integer · default 12

Number of months to project from the latest period; 12 when omitted.

scenarios array of enum

Scenarios to model, any of base, optimistic and pessimistic.

base optimistic pessimistic

projection_type array of enum

Statements to project, any of pnl, cashflow and balance_sheet.

pnl cashflow balance_sheet

seasonal_adjustment boolean · default true

Whether to apply monthly seasonal factors to the projection.

growth_assumptions object

Numeric overrides keyed revenue_growth_annual (a fraction, so 0.05 is 5%), dso_days, dpo_days and seasonal_factor_01 to seasonal_factor_12.

output_format enum · default both

What to return: data, document or both.

data document both

Returns

Skill executed successfully

skill string Required

Example prepare_forecast

output object Required

output.artifact_id string · uuid

output.download_url string · default

output.summary string · default

output.citations array of values

output.warnings array of strings

output.stub_fields array of strings

output.forecast_id string · uuid

output.horizon_months integer · default 0

output.base_period string · default

output.currency string · default AUD

output.scenarios object

output.assumptions_register array of objects

output.data_quality object

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 ← Generate a Financial Report](https://heyarchie.com/en-gb/developers/api-reference/reports/generate-a-financial-report/)[Next Prepare a Tax Return Artifact →](https://heyarchie.com/en-gb/developers/api-reference/reports/prepare-a-tax-return-artifact/)

```
curl https://uk.heyarchie.com/api/v1/skills/reports.forecast.prepare/invoke \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{
       "client_id": "00000000-0000-0000-0000-000000000000",
       "horizon_months": 0,
       "scenarios": [
         "base"
       ],
       "projection_type": [
         "pnl"
       ],
       "seasonal_adjustment": false,
       "growth_assumptions": {},
       "output_format": "data"
     }'
```

```
from heyarchie import Archie
archie = Archie(api_key="sk_...")
result = archie.skills.invoke(
    "reports.forecast.prepare",
    client_id="00000000-0000-0000-0000-000000000000",
    horizon_months=0,
    scenarios=["base"],
    projection_type=["pnl"],
    seasonal_adjustment=False,
    growth_assumptions={},
    output_format="data",
)
print(result)
```

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

const archie = new Archie({ apiKey: "sk_..." });
const result = await archie.skills.invoke("reports.forecast.prepare", {
  "client_id": "00000000-0000-0000-0000-000000000000",
  "horizon_months": 0,
  "scenarios": [
    "base"
  ],
  "projection_type": [
    "pnl"
  ],
  "seasonal_adjustment": false,
  "growth_assumptions": {},
  "output_format": "data"
});
console.log(result);
```

Response

```
{
  "skill": "prepare_forecast",
  "output": {
    "assumptions_register": [
      {
        "name": "revenue_growth_annual",
        "source": "growth_assumptions",
        "value": 0.05
      },
      {
        "name": "expense_ratio_to_revenue",
        "source": "tb_derived",
        "value": 0.8
      },
      {
        "name": "dso_days",
        "source": "growth_assumptions",
        "value": 40
      },
      {
        "name": "dpo_days",
        "source": "growth_assumptions",
        "value": 30
      },
      {
        "name": "seasonal_adjustment",
        "source": "input",
        "value": false
      }
    ],
    "base_period": "2026-09",
    "currency": "GBP",
    "data_quality": {
      "cash_open": 184000,
      "scenarios_emitted": [
        "base"
      ],
      "tb_expenses_annual": 960000,
      "tb_revenue_annual": 1200000
    },
    "forecast_id": "79aa701d-c37b-4748-9461-ed9d66e6eb26",
    "horizon_months": 3,
    "scenarios": {
      "base": {
        "2026-10": {
          "cash": 203864.2,
          "cash_delta": 19864.2,
          "ebitda": 20081.48,
          "expenses": 80325.93,
          "revenue": 100407.41
        },
        "2026-11": {
          "cash": 223809.32,
          "cash_delta": 19945.13,
          "ebitda": 20163.3,
          "expenses": 80653.19,
          "revenue": 100816.48
        },
        "2026-12": {
          "cash": 243835.7,
          "cash_delta": 20026.38,
          "ebitda": 20245.44,
          "expenses": 80981.78,
          "revenue": 101227.22
        }
      }
    },
    "stub_fields": [],
    "summary": "Three-month base-case forecast for Northwind Trading Ltd: revenue of about £101,000 a month by December 2026.",
    "warnings": []
  },
  "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.
