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

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.

post/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

Request body

budget_idstring

Budget scenario id (see kphi_get_budgets). Omit to use the most recent scenario.

versionstring

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.

entitystring

Filter both sides to one entity. Omit for the consolidated total.

Response

OK

dataobject

Changes

No recorded changes to this operation across all 1 revision of this API.