#The command line to get the list of accounts in the standard output, something like this:
#id;label;type;balance
#12345@bankname;John Smith Account;0;123.45
#78900@bankname;John Smith Account;0;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 -v

#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]
getoperations=boobank -q -f csv -n %2 history "%1"

#The csv columns. See CSV import settings for more detail.
csvcolumns=|date||mode|comment||payee|amount
