/fintech-to-ynab-js

Primary LanguageTypeScriptDo What The F*ck You Want To Public LicenseWTFPL

Travis CI Deploy

fintech-to-ynab-js

JS (TypeScript) port of fintech-to-ynab

Installing and gathering of requisite information is very similar to fintech-to-ynab, see their Getting Started wiki

Environment variables explained

variable description
YNAB_ACCESS_TOKEN Find this via: YNAB's developer docs. It will be in the format of a 64 character hexadecimal string
YNAB_BUDGET_ID See YNAB's developer docs.
YNAB_MONZO_ACCOUNT_ID See YNAB's developer docs.
YNAB_STARLING_ACCOUNT_ID See YNAB's developer docs.
URL_SECRET If deploying to Heroku this will be auto generated for you, find it in the 'Config vars' section of your Heroku settings (https://dashboard.heroku.com/apps/your-app-name/settings). It will be in the format of a 64 character hexadecimal string. Apply this secret to your webhooks, e.g. a Monzo webhook might be https://your-app-name.herokuapp.com/monzo?secret=5c1d7014f4ea8729627cb4e8b8b1e70f08eeadb45f3f5d99b5ed627a508c375c
APPLY_MEMO Whatever string you want to write into the memo field of every transaction, e.g. "Auto imported". So you can quickly recognise automatically import transactions
AUTO_CLEAR Boolean-ish. Leave empty or write false to disable auto clearing
FOREIGN_CURRENCY_APPLY_FLAG Apply a flag to all foreign currency transactions. One of: Red, Orange, Yellow, Green, Blue, or Purple. Leave blank for no flag
DOMESTIC_CURRENCY_APPLY_FLAG Apply a flag to all domestic currency transactions. One of: Red, Orange, Yellow, Green, Blue, or Purple. Leave blank for no flag