mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-07 21:15:19 +03:00
60b26b8e4b
csb2format deals with the CSB43/AEB43 format, which all banks operating in Spain must support. Having these example rules enables easens bootstraping for users with a Spanish bank account.
16 lines
419 B
Plaintext
16 lines
419 B
Plaintext
# 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
|