Zum Inhalt springen

get_category_balances

Budgeted, spent (activity) and available (balance) per category for a month.

Amounts in currency units; activity is negative for spending. Hidden and internal categories are left out, and so are categories with nothing budgeted, spent or available unless include_empty is true. Use get_budget_vs_actual for the share of each budget consumed.

Art nur lesend
Bestätigung nein
Rückgängig nein
Idempotent ja
YNAB-Anfragen 1 für das Beispiel unten, leerer Cache
Name Typ Pflicht Standard Beschreibung
plan_id string ja — YNAB plan id or ‘last-used’.
month string nein "current" ‘YYYY-MM-01’ or ‘current’.
include_empty boolean nein false Also list categories with no amount at all.

array of object

Feld Typ Beschreibung
category_id string YNAB id of the category.
name string Category name.
group string Name of the category’s group.
budgeted number Amount assigned to the category this month.
activity number Amount spent (negative) or received in the category this month.
balance number Available at the end of the month: carried over, plus budgeted, plus activity.

Argumente:

{
"plan_id": "demo-budget",
"month": "2026-09-01"
}

Antwort auf dem Demo-Budget:

[
{
"category_id": "cat-rent",
"name": "Miete",
"group": "Fixkosten",
"budgeted": 950.0,
"activity": -950.0,
"balance": 0.0
},
{
"category_id": "cat-power",
"name": "Strom",
"group": "Fixkosten",
"budgeted": 70.0,
"activity": 0.0,
"balance": 70.0
},
{
"category_id": "cat-phone",
"name": "Handy",
"group": "Fixkosten",
"budgeted": 20.0,
"activity": -19.99,
"balance": 0.01
},
{
"category_id": "cat-groceries",
"name": "Lebensmittel",
"group": "Alltag",
"budgeted": 400.0,
"activity": 0.0,
"balance": 400.0
},
"… 5 more"
]
  • month must be 'current' or the first day of a month as YYYY-MM-01, got '{month}'.

Fehler von YNAB selbst kommen als Error calling tool '<tool>': YNAB <status>: <detail> zurück.

Inoffizielles Projekt. „We are not affiliated, associated, or in any way officially connected with YNAB or any of its subsidiaries or affiliates. The official YNAB website can be found at https://www.ynab.com. The names YNAB and You Need A Budget, as well as related names, tradenames, marks, trademarks, emblems, and images are registered trademarks of YNAB.“ Wir sind mit YNAB oder einer seiner Tochtergesellschaften oder verbundenen Unternehmen weder verbunden noch assoziiert noch in irgendeiner Weise offiziell verknüpft. Die offizielle Website von YNAB finden Sie unter https://www.ynab.com. Die Namen YNAB und You Need A Budget sowie zugehörige Namen, Handelsnamen, Zeichen, Marken, Embleme und Bilder sind eingetragene Marken von YNAB. avenir-mcp wird ohne Gewähr bereitgestellt und ist keine Finanzberatung. Rechtliche Hinweise · Datenschutz