Models

RuleUpdate

object
titlestring
Example
First rule title.
descriptionstring
Example
First rule description
rule_group_idstring

ID of the rule group under which the rule must be stored. Either this field or rule_group_title is mandatory.

Example
81
orderinteger<int32>
Example
5
triggerRuleTriggerTypestore-journalupdate-journalmanual-activation

Which action is necessary for the rule to fire? Use either store-journal, update-journal or manual-activation.

Example
store-journal
activebooleantrue

Whether or not the rule is even active. Default is true.

Example
true
strictboolean

If the rule is set to be strict, ALL triggers must hit in order for the rule to fire. Otherwise, just one is enough. Default value is true.

Example
true
stop_processingbooleanfalse

If this value is true and the rule is triggered, other rules after this one in the group will be skipped. Default value is false.

Example
false
Show child attributes
typeRuleTriggerKeywordfrom_account_startsfrom_account_endsfrom_account_isfrom_account_containsto_account_startsto_account_endsto_account_isto_account_containsamount_lessamount_exactlyamount_moredescription_startsdescription_endsdescription_containsdescription_istransaction_typecategory_isbudget_istag_iscurrency_ishas_attachmentshas_no_categoryhas_any_categoryhas_no_budgethas_any_budgethas_no_taghas_any_tagnotes_containsnotes_startsnotes_endnotes_areno_notesany_notessource_account_isdestination_account_issource_account_starts

The type of thing this trigger responds to. A limited set is possible

Example
user_action
valuestring

The accompanying value the trigger responds to. This value is often mandatory, but this depends on the trigger. If the rule trigger is something like 'has any tag', submit the string 'true'.

Example
tag1
orderinteger<int32>

Order of the trigger

Example
5
activeboolean

If the trigger is active.

Example
true
stop_processingboolean

When true, other triggers will not be checked if this trigger was triggered.

Example
false
Show child attributes
typeRuleActionKeyworduser_actionset_categoryclear_categoryset_budgetclear_budgetadd_tagremove_tagremove_all_tagsset_descriptionappend_descriptionprepend_descriptionset_source_accountset_destination_accountset_notesappend_notesprepend_notesclear_noteslink_to_billconvert_withdrawalconvert_depositconvert_transferdelete_transaction

The type of thing this action will do. A limited set is possible.

Example
set_category
valuestring | null

The accompanying value the action will set, change or update. Can be empty, but for some types this value is mandatory.

Example
Daily groceries
orderinteger<int32>

Order of the action

Example
5
activeboolean

If the action is active.

Example
true
stop_processingboolean

When true, other actions will not be fired after this action has fired.

Example
false