# 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

