{"action":"created","issue":{"url":"https://api.github.com/repos/BananaAccounting/General/issues/4","labels_url":"https://api.github.com/repos/BananaAccounting/General/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/BananaAccounting/General/issues/4/comments","events_url":"https://api.github.com/repos/BananaAccounting/General/issues/4/events","html_url":"https://github.com/BananaAccounting/General/issues/4","id":119375592,"number":4,"title":"Import filter","user":{"login":"fuerst","id":582648,"avatar_url":"https://avatars.githubusercontent.com/u/582648?v=3","gravatar_id":"","url":"https://api.github.com/users/fuerst","html_url":"https://github.com/fuerst","followers_url":"https://api.github.com/users/fuerst/followers","following_url":"https://api.github.com/users/fuerst/following{/other_user}","gists_url":"https://api.github.com/users/fuerst/gists{/gist_id}","starred_url":"https://api.github.com/users/fuerst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fuerst/subscriptions","organizations_url":"https://api.github.com/users/fuerst/orgs","repos_url":"https://api.github.com/users/fuerst/repos","events_url":"https://api.github.com/users/fuerst/events{/privacy}","received_events_url":"https://api.github.com/users/fuerst/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-29T18:28:41Z","updated_at":"2015-11-30T13:45:01Z","closed_at":null,"body":"I'm looking for an examples of an import filter script for importing transactions (CSV) into accounting. In _General/TutorialApps/tutorial2.ac2_ there is an section _IMPORT_ within the _Documents_ tab. It is empty though. I tried to adopt the existing _ch.banana.filter.import.raiffeisen.js_ to the format used by my Bank (GLS Bank, Germany) but ended up with the _Unknow format_ error. \r\n\r\nQuestion is: how do I debug an import filter script? "},"comment":{"url":"https://api.github.com/repos/BananaAccounting/General/issues/comments/160631076","html_url":"https://github.com/BananaAccounting/General/issues/4#issuecomment-160631076","issue_url":"https://api.github.com/repos/BananaAccounting/General/issues/4","id":160631076,"user":{"login":"fuerst","id":582648,"avatar_url":"https://avatars.githubusercontent.com/u/582648?v=3","gravatar_id":"","url":"https://api.github.com/users/fuerst","html_url":"https://github.com/fuerst","followers_url":"https://api.github.com/users/fuerst/followers","following_url":"https://api.github.com/users/fuerst/following{/other_user}","gists_url":"https://api.github.com/users/fuerst/gists{/gist_id}","starred_url":"https://api.github.com/users/fuerst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fuerst/subscriptions","organizations_url":"https://api.github.com/users/fuerst/orgs","repos_url":"https://api.github.com/users/fuerst/repos","events_url":"https://api.github.com/users/fuerst/events{/privacy}","received_events_url":"https://api.github.com/users/fuerst/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T13:45:00Z","updated_at":"2015-11-30T13:45:00Z","body":"That works great, thanks! I know have an import filter for the CSV transaction export file of GLS Bank (Germany). \r\n\r\nTwo notes though:\r\n\r\n1. I have to `Banana.Converter.toInternalAmountFormat(convertedData[\"Income\"]);` inside `postProcessIntermediaryData()` to actually get the amount imported.\r\n2. After selecting a CSV file from the _Import into accounting_ dialog and clicking _OK_ I get a _File not found_ error (systemmsg::err_filenontrovato). Importing CSV data from the clipboard works well though. "}}