2019-11-12 23:04:28 +03:00
|
|
|
# bankofireland-checking.csv.rules
|
2016-10-24 00:06:43 +03:00
|
|
|
|
|
|
|
# skip the header line
|
|
|
|
skip
|
|
|
|
|
|
|
|
# name the csv fields, and assign some of them as journal entry fields
|
|
|
|
fields date, description, amount-out, amount-in, balance
|
2019-11-12 23:04:28 +03:00
|
|
|
|
|
|
|
# We generate balance assertions by assigning to "balance"
|
|
|
|
# above, but you may sometimes need to remove these because:
|
|
|
|
#
|
2017-08-20 20:21:58 +03:00
|
|
|
# - the CSV balance differs from the true balance,
|
|
|
|
# by up to 0.0000000000005 in my experience
|
2019-11-12 23:04:28 +03:00
|
|
|
#
|
2017-08-20 20:21:58 +03:00
|
|
|
# - it is sometimes calculated based on non-chronological ordering,
|
|
|
|
# eg when multiple transactions clear on the same day
|
2016-10-24 00:06:43 +03:00
|
|
|
|
|
|
|
# date is in UK/Ireland format
|
|
|
|
date-format %d/%m/%Y
|
|
|
|
|
|
|
|
# set the currency
|
|
|
|
currency EUR
|
|
|
|
|
|
|
|
# set the base account for all txns
|
2019-11-12 23:04:28 +03:00
|
|
|
account1 assets:bank:boi:checking
|