---
title: "Compute budget vs actuals variance through the K-Φ budget engine: per-period and annual P&L lines (revenue, COGS, gross profit, personnel, opex, EBITDA, tax, net income) with actual, budget, variance"
method: GET
path: "/api/v1/get_variance"
---

# Compute budget vs actuals variance through the K-Φ budget engine: per-period and annual P&L lines (revenue, COGS, gross profit, personnel, opex, EBITDA, tax, net income) with actual, budget, variance

`GET /api/v1/get_variance`

## 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_variance`
- Auth: HTTP bearer

Compute budget vs actuals variance through the K-Φ budget engine: per-period and annual P&L lines (revenue, COGS, gross profit, personnel, opex, EBITDA, tax, net income) with actual, budget, variance and variance %. Uses a budget scenario's driver model converted to P&L — the same computation as the Variance Analysis screen.

## Query parameters

- `budget_id` string
- `version` string
- `entity` string

## 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)
