---
title: "Get the K-Φ cash forecast projection: per-period sales, AR collections, AP payments, payroll, opex, tax, capex, debt service, scheduled flows, net flow and closing cash — driven by the tenant's config"
method: POST
path: "/api/v1/get_forecast"
---

# Get the K-Φ cash forecast projection: per-period sales, AR collections, AP payments, payroll, opex, tax, capex, debt service, scheduled flows, net flow and closing cash — driven by the tenant's config

`POST /api/v1/get_forecast`

## Request

- Base URL: `https://k-phi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://k-phi.com/api/v1/get_forecast`
- Auth: HTTP bearer

Get the K-Φ cash forecast projection: per-period sales, AR collections, AP payments, payroll, opex, tax, capex, debt service, scheduled flows, net flow and closing cash — driven by the tenant's configured flow rules (DSO/DPO timing, schedules). If no flow rules are configured, returns a blocked envelope explaining what is missing instead of fabricating numbers.

## Request body

- object
  - `version` string: GL version label (e.g. "2026-06"), from kphi_list_versions. Required when more than one version exists: without it the tool answers needs_version with the list instead of picking one.
  - `period` string: Filter to a single period (YYYY-MM). Omit to include all periods in the version.
  - `entity` string: Filter to a single entity code. Omit for consolidated view across all entities.
  - `bu` string: Filter to a single business unit. Omit for all BUs.
  - `horizon` integer: Projection horizon in months (1-24, default 12).

## Response `200`

OK

- object
  - `data` object
  - `meta` object
    - `api` string
    - `capability` string
    - `at` string

## Other responses

- `401`: No or invalid credential
- `403`: Scope, extension or Builder Mode refused
- `422`: The capability refused the input
- `429`: Rate or daily quota reached

---

[API](https://skmtc.dev/k-phi/apis/k-api.md) · [All operations](https://skmtc.dev/k-phi/apis/k-api/llms.txt) · [OpenAPI document](https://skmtc.dev/k-phi/apis/k-api/revisions/60b28690ec35?raw)
