hledger/examples/csv/nordea.rules
2024-08-20 20:06:58 +01:00

26 lines
541 B
Plaintext

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 €