# -*- coding: utf-8 -*-
# vim: sw=4:ts=4:expandtab
# pylint: disable=invalid-name
"""
csv2ofx.mappings.ingdirect
~~~~~~~~~~~~~~~~~~~~~~~~

Provides a mapping for transactions obtained via ING Direct
(Australian bank)
"""
from __future__ import absolute_import

from operator import itemgetter

mapping = {
    'is_split': False,
    'has_header': True,
    'account': itemgetter('Account'),
    'date': itemgetter('Date'),
    'amount': lambda tr: tr['Credit'] + tr['Debit'],
     'desc': itemgetter('Description'),
}

Create mapping for ING Direct
Create mapping for ING Direct
