koshdocs
ourkosh.com

Household

Rules

You can write your own limits as Rules, for example "money out on food above a set amount a month" or "one Holding above 25% of net worth". Kosh checks each Rule against a month and states the fact. It never says what to do about it.

Write a Rule

The iPhone app has no Rule editor yet. Write a Rule with the REST API (POST /api/v1/rules), signed in as a Member. Each Rule has five parts:

PartValues
Name1 to 60 characters.
Measuremonthly_outflow, monthly_inflow, balance, share_of_net_worth.
Scopeall, or one category, account, member or holding (with its id). Leave out the id to check every one of that kind.
Opabove or below.
ThresholdA percent in basis points (2500 = 25%), or an amount in minor units with its currency.

A Rule is on when you write it. Turn it off with enabled: false (PATCH /api/v1/rules/{id}), or delete it.

What each measure checks

MeasureValue Kosh computesScopes that have a valueThreshold
monthly_outflowDebits of the month in the Base currency, without Transfersall, category, account, memberAmount
monthly_inflowCredits of the month in the Base currency, without Transfersall, category, account, memberAmount
balanceToday's balance of an Account in the Base currencyaccount (or all: each Account)Amount
share_of_net_worthOne Holding's value as a share of net worthholding (or all: each Holding)Percent

Write an amount threshold in the Base currency: Kosh compares it with values in the Base currency. The share of net worth has a value only while net worth is above zero.

Check the Rules

  • Ask "Did we break a Rule this month?" on the Ask tab.
  • Or call GET /api/v1/rules/status?period=YYYY-MM. It checks every enabled Rule against that month.

Each result names the subject and states the fact only, in this form:

"Food outflow in October: (amount), above your (limit) rule."

When the value is inside the limit, the text says "within" in place of "above" or "below".

What Kosh does not do

Kosh does not stop a write that breaks a Rule. It does not say how to get back inside a limit. Every Rule comes from the Household itself.

Kosh shows your numbers. It does not advise on investments.

ourkosh.com