hledger/examples/csv/mint.csv.rules
Simon Michael 28e76dd80e examples: mint csv rules tweak
[ci skip]
2019-01-19 15:31:21 -08:00

23 lines
651 B
Plaintext
Executable File

# hledger csv conversion rules v2
# mint.com
account1 assets:personal:bank:wells fargo:checking
# 0 1 2 3 4 5 6 7 8
#"Date","Description","Original Description","Amount","Transaction Type","Category","Account Name","Labels","Notes"
fields date, shortdesc, origdesc, amount, txntype, category, account, labels, notes
date-format %-m/%-d/%Y
skip 1
currency $
if ,debit,
amount -%amount
description: %shortdesc - %origdesc %category %account - %txntype
account2: expenses:personal:%category
if Home Improvement
account2: expenses:personal:home:home care