Skip to content

Config file

Thérence F edited this page Apr 19, 2022 · 13 revisions

Global Settings section

Name Value Type Description
import-account-id-list Integer list List of your account numbers for which you want to import transactions
get-transactions-period-days Integer From how many days until now the script will search for transactions
max-transactions-per-get Integer Maximum transactions to get each time the script is run

Credit Agricole section

Name Value Type Description
bank-region Integer Your bank region, official list can be found here (todo here: list all regions in a wiki page)
bank-account-id Integer (11) Your bank account number credential to login
max-transactions-per-get Integer (6) Your bank password

FireflyIII section

Name Value Type Description
accounts-name-format                                 String FireflyIII accounts name format (with #bank-account-name# which will be replaced by your Credit Agricole account's name). Only useful if there's no FireflyIII account with the same account number as your Credit Agricole account, so the script needs to create it before importing transactions.
hostname String Hostname of your FireflyIII instance
personal-token               String (980) Your FireflyIII personal token

Auto Assignment sections

For each auto assignment section, the typo is the same : key = value1,value2,value3,..., the key will be selected if the transaction's title is value1 or value2 or value3.

You can use * if you want to make start, end or contain checks.

For example : key = *value1,*value2*,value3*,... means that key will be selected if the title of the transaction ends with value1 or contains value2 or starts with value3.

Section Example Description
Auto rename transactions [AutoRenameTransaction]
Transfer for Mathéo = WEB MATHO VIREMENT                                                                    
Sometimes the Credit Agricole transaction's name aren't very clear. Here, everytime you make a transfer to Mathéo (as "é" is a special character), Credit Agricole will write MATHO. So, we make that if the transaction name is "WEB MATHO VIREMENT", it will be renamed into "Transfer for Mathéo".
Auto assign budgets [AutoAssignBudget]
food = BAKERY
crypto = *BINANCE*
Will add the transaction to your food budget if the name of the transaction is BAKERY
Will add the transaction to your crypto budget if the transaction contains BINANCE.
Auto assign categories [AutoAssignCategory]
fun = *LEGO*,*DISNEY*
Will add every transactions with "LEGO" or "DISNEY" in the name to the category : Fun
Auto assign accounts [AutoAssignAccount]
crypto_exchange = *BINANCE*
super_market = *BAKERY*
Will set expense or revenue account to "Crypto exchange" if transaction's name contains BINANCE.
Will set expense or revenue account (depending if the amount is > or < to 0) to "Super market" if transaction's name contains BAKERY.
Auto assign tags [AutoAssignTags]
tech = APPLE*
Will add the tag "Tech" to transactions with a name starting with "APPLE"
Clone this wiki locally