# csb43.csv.rules
# Rules for csb2format -f csv "${CSV_FILE}" -
# Using https://pypi.org/project/csb43/

# Skip header
skip 1

# Change to your taste
account1 assets:bank:csb43

# These appear to be the useful columns for hledger
fields _,_,_,_,_,_,currency,_,_,_,_,_,_,_,_,_,_,_,_,item1,item2,reference1,reference2,date,_,amount,_,_

# Merge items for the description
description %item1 %item2 %reference1 %reference2
