Rule expressions
Firefly III v6.1.20
This feature is enabled in Firefly III v6.1.20 and later
Firefly III features a powerful rule engine that comes with an expression language to execute actions on your transactions.
Full syntax
The full syntax of the expression language is documented in the Symfony documentation.
The expression language features something called "variables" that you can use in your expression. For example:
This will join the description and the notes together. A few examples can be found on the pages linked earlier in the text. But then the question becomes, which variables can I use? Well, here they are.
Text fields
notestransaction_group_titledescriptionbudget_namecategory_nametags
Use these fields to refer to specific fields in the transaction
Account and amount fields
Amount fields:
amountcurrency_codecurrency_namecurrency_symbolcurrency_decimal_placesforeign_amountforeign_currency_codeforeign_currency_nameforeign_currency_symbolforeign_currency_decimal_places
Account fields:
source_account_idsource_account_namesource_account_ibansource_account_typedestination_account_iddestination_account_namedestination_account_ibandestination_account_type
Dates
created_atupdated_atgroup_created_atgroup_updated_atdateinterest_datepayment_dateinvoice_datebook_datedue_dateprocess_date
These fields contain specific transaction dates, or "" when empty.