/usr/share/skrooge/backends/weboob.backend is in skrooge-common 2.7.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | #The command line to get the list of accounts in the standard output, something like this:
#id;balance
#12345@bankname;123.45
#78900@bankname;789.00
#
#The command must provide one line per account. This could be a csv or a text plain file.
#Warning: The first line is ignored
#%3 will be replaced by the password requeted interactively to the en user
getaccounts=boobank ls -q -f csv -s id,balance
#Regular to capture the account id of each accounts
#For the regexp syntax, you can consult this page: http://qt-project.org/doc/qt-4.8/qregexp.html
#If the account id is something like aa@bb then aa is the account identifier and bb the bank name.
getaccountid=([^;]*);
#Regular to capture the account balance of each accounts
#The account balance is used only during the first import to compute the initial balance of the account.
#For an existing account with already some operations, this is not used.
#This is not mandatory.
getaccountbalance=[^;]*;([^;]*)
#The command line to get the csv operations list.
#Example:
#id;date;rdate;type;raw;category;label;amount
#0@creditcooperatif;2013-04-12;2013-04-12;1;VIREMENT I.P.E.C.A. PREVOYANCE- VIRT IPECA - FRAIS DE SANTE;Not available;I.P.E.C.A. PREVOYANCE;16.80
#0@creditcooperatif;2013-04-12;2013-04-12;1;VIR C.P.A.M. TOULOUSE- 000000 131000017450;Not available;C.P.A.M. TOULOUSE;16.10
#0@creditcooperatif;2013-04-12;2013-04-12;3;CHEQUE NC 1962805;Not available;CHEQUE NC 1962805;-319.00
#
#The command must provide one line per account. This must be csv file.
#
#In the command line:
# %1 will be replaced by the account id [MANDATORY]
# %2 will be replaced by the nb max operations to download [NOT MANDATORY]
# %3 will be replaced by the password) [NOT MANDATORY]
# %4 will be replaced by the begin date (format: YYYY-MM-DD) of operations [NOT MANDATORY]
getoperations=boobank -q -f csv history "%1" -s rdate,type,raw,label,amount --condition "rdate>%4 OR date>%4 OR rdate>%4 00:00:00 OR date>%4 00:00:00" -n 99999
#The csv columns. See CSV import settings for more detail.
csvcolumns=date|mode|comment|payee|amount
|