This scripts allows the export of PostFinance account flow data for YNAB 4 using Tampermonkey. The export is not based on the CSV generated by the Post as it does not adhere to the standard but makes use of the data loaded on the client side for doing said CSV export.
If Tampermonkey is installed you can click on the RAW view of the postfinance-ynab.user.js
file of this Gist.
Tampermonkey should ask you whether or not you would like to install this script.
Tip: if you have a lot of transactions make sure to increase the shown amount from
25
to100
somewhere in the settings.
Navigate to the account flow data in PostFinance (Konto -> Bewegungen) and:
- Click on the YNAB Export button.
- Hit the import button in the YNAB account view.
Minor update due to the following issue:
Changing accounts in the "Konto -> Bewegungen" screen does not change the URL (not deeplinkable) which also means that performing a page refresh resets the selected account to the first one thus making it impossible to export YNAB data for all accounts but the first one.
--> This has now been fixed. The script will monitor changes to the UI and if the "Konto -> Bewegungen" page is browsed and will add the "YNAB Export" button if it has not yet been added to the action buttons.