eek/ing-homebank-get-all-transaction-history

CSV Output

Opened this issue · 0 comments

eek commented

It would be nice to also have the ability to get CSV instead of JSON.

the only issue is the different allDetails object from each transaction entry:

Some examples:

POS Purchases:

"allDetails": [
      {
        "description": "Card no",
        "identifier": "ATMC",
        "value": " 46xx xxxx xxxx xxxx"
      },
      {
        "description": "Terminal",
        "identifier": "MTDNME MCNTRY MCITY",
        "value": " PEP&PEPPER - PARK LA  RO  BUCURESTI"
      },
      {
        "description": "Date",
        "identifier": "ZZTRDAT AUTCODE",
        "value": " 27-04-2018 Auth. code: XXXXXX"
      }
]

or HomeBank Transfers:

    "allDetails": [
      {
        "description": "Beneficiary",
        "identifier": "RNAM",
        "value": " John Doe"
      },
      {
        "description": "To account",
        "identifier": "RCID",
        "value": " RO49INGBXXXXXXXXXXXXXXXX"
      },
      {
        "description": "Bank",
        "identifier": "RINS",
        "value": " INGB CENTRALA"
      },
      {
        "description": "Details",
        "identifier": "70-1",
        "value": " Cookies. EAT COOKIES"
      },
      {
        "description": "Reference number",
        "identifier": "REFNO",
        "value": " XXXXXXXXXXX"
      }
    ],