0 null category # the "/dev/null" of categories. # # category number zero is assigned as default by Xfinans when # a transaction file without category numbers is read. # # since this definition is "empty" (i.e. contains only comments), # transactions with cat. number zero are not processed further. # If you want to record the transactions in this category, activate # the following statement: # &enter($catNum, $date, $transNum, $text, $amount, $commit); #enddef 10 misc.expenses # enter transaction in this category (cat.num 10): &std_expense(); # also enter transaction in the "total" category: ©_to(100); #enddef 20 car expenses # enter transaction in this category (cat.num 20): &std_expense(); # also enter transaction in the "total" category: ©_to(100); #enddef 100 expenses, total # enter transaction in this category: &std_expense(); #enddef 200 misc.income # enter transaction in this category (cat.num 200): &std_income(); # (which is equivalent to the following:) # &enter($catNum, $date, $transNum, $text, $amount, $commit); # also enter transaction in the "income, total" category: ©_to(300); # (which is equivalent to the following:) # &recursiveEnter(300, $date, $transNum, $text, $amount, $commit); #enddef 210 salary # enter transaction in this category (cat.num 210): &std_income(); # also enter transaction in the "income, total" category: ©_to(300); #enddef 300 income, total # enter transaction in this category: &std_income(); #enddef