sms-import-for-ynab
September 3, 2019 ยท View on GitHub
Android app which parses bank messages that can then be synced with YNAB. Helpful for those who are not able to use the auto import feature from YNAB.
Where to find the apk?
Go the the Releases tab and get the latest apk from Assets section.
How to use this app [video]?
Check this Youtube video for a small tutorial.
How to use this app [detailed instructions, if you didn't like the video]?
- Set Access Token
- Go to
Settingstab (last one) in the app - Click on
Get Access Tokenlink at the bottom - Log in with your YNAB credentials
- Scroll down and click on
Developer Settings - Click on
New Token - Key in your password again & click on Generate
- Copy the whole generated token.
- Scroll down and click on
- Paste the generate token in
SMS to YNABapp after tapping on theAccess Tokencard in theSettingspage. - Tap on
Set. If the access token is valid, you can choose budget now.
- Go to
- Choose your desired budget by tapping on the
Budgetcard fromSettingstab. - Accounts will be automatically updated now.
Accountscard will display the number of accounts available in the selected budget. - Generate Template for incoming SMS
- Go to the
Templatestab (middle one). - Click on the
+icon at the right bottom. - Choose the message type you want to parse. You will be navigated to
Configure Templatescreen- Trigger: Select a unique text from this message which will act as the trigger. This text will be searched in the new messages to check whether it needs to be parsed or not. If the trigger phrase doesn't match, it will not try to parse the message.
- Price: Choose the price text. Do not include anything other than the numbers. If it is like
spent USD14.00in the message, select only14.00 - Date: Choose the date text. There will be three options after selecting date text. Don't select options containing 'NaN' in them(I have to fix them :/). 'NaN' comes when the code is unable to fetch the appropriate date. In that case, use
Auto Fetchoption. It will ignore the selected date from text and use the SMS received date to send the data. It is always safe to useAuto Fetchoption. - Memo: Choose the text which indicates where you have spend the money. Make sure you are not selecting any leading or trailing space.
- Ignore: Use this to select text which are varying in every message. For instance, if the bank is notifying you about available balance or time in which the transaction is being carried out, choose them to ignore. Anything which is not static and is of no value to us should be ignored.
- Give the template a name, choose the account and mark it as expense/income.
- Finally click on
Generate Template.
- Go to the
- Wait for a new message to come with the trigger phrase in its content(For testing you can send a message to yourself and click on sync button).
- Tap on the sync button from the home tab.
- Voila! Your new message will be parsed and sent to YNAB.
- Check Status
SUCCESS- Green on the right side of the cardERROR- Red on the right side of the card- Tap on the failed message card to see error details
- Create a new issue if you think it needs to be fixed.
How to debug in browser?
npm install;
ionic serve;
How to debug in android?
- Enable USB debugging in your device
- Connect your android device
- Run this command:
ionic cordova run android