From f001b23114c43776b31681b1bc5d85b0238a39d7 Mon Sep 17 00:00:00 2001 From: Arto Jonsson Date: Tue, 20 Aug 2024 20:42:56 +0300 Subject: [PATCH] ;examples: csv: add Nordea CSV rules file --- examples/csv/nordea.rules | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 examples/csv/nordea.rules diff --git a/examples/csv/nordea.rules b/examples/csv/nordea.rules new file mode 100644 index 000000000..d932cad2c --- /dev/null +++ b/examples/csv/nordea.rules @@ -0,0 +1,25 @@ +skip 1 +separator ; +fields date_or_status, amount, from, to, name, note, code, balance, currency +newest-first +decimal-mark , +date-format %Y/%m/%d +status * + +description %from | %to %note + +# Nordea's transaction CSV has two sections: +# +# 1. A list of pending transactions where the date field has the value +# "Varaus" (in the Finnish version of the Netbank). +# +# 2. List of cleared transactions. +# +# Skip the pending transactions and import only cleared. +if %date_or_status Varaus + skip + +date %date_or_status + +if %currency EUR + currency €