Migrating from nYNAB
In order to export your budget from YNAB, you will need to use one of two methods.
3rd Party nYnab Exporter
This is the easiest method available. While we don't maintain this tool, https://json-exporter-for-ynab.netlify.app will handle authorizing with your account to export your nYNAB budget into JSON.
Export Using API Key
If you don't want to use a third party tool, you will need an API key.
If you haven't already got an API key, you'll need to:
Sign in to the YNAB web app
Go to the "Account Settings" page, then to the "Developer Settings" page
Under the "Personal Access Tokens" section, click "New Token"
Enter your password and click "Generate" to get a new access token
The API key is only shown once, so make sure you copy it down somewhere! More information on how to access the YNAB API can be found at https://api.youneedabudget.com/
Now open a terminal window / command prompt, and enter:
If you receive an error message like: Invoke-WebRequest : Cannot bind parameter 'Headers'
, this is because curl is probably aliased to the "Invoke-WebRequest" Powershell commandlet. Use curl.exe
instead of just curl
in the commands below to fix this.
curl -H "Authorization: Bearer <ACCESS_TOKEN>" https://api.youneedabudget.com/v1/budgets
This will get the list of all the budgets you have. You'll need to find the id of the budget you want to export and use it to perform the following API request:
curl -H "Authorization: Bearer <ACCESS_TOKEN>" https://api.youneedabudget.com/v1/budgets/<BUDGET ID> --output budget.json
Import the JSON File
- Open Actual
- Select the drop down menu and Close File
- Select Import file
- Select nYnab
- Choose the exported json file
Optional: Cleanup
Credit Cards (Fix Overspending)
If you import credit cards with previous debt, you must handle these differently. Otherwise, your budget months will show overspending. Actual does not handle carrying over debt the same way, but offers a more manual approach.
- From the Budget screen, create a category named
Credit Card
(perhaps under a Category Group ofDebt
). - Change all overspent transactions to have their category be this
Credit Card
category. - On the first month of overspending for this category, click on the Balance (it should show red) and select
Rollover overspending
. - Next, you must assign money each historical month to cover any payments of the
Credit Card
category. Open YNAB and look through each month to find the "extra" amount assigned to the card. (To find the "extra," open YNAB and look through each month. Find the amount assigned to the card in excess of any additional monthly spending, which is how much was used to pay the debt on the credit card.) Put this amount in yourCredit Card
category in Actual. - If your budget isn't zeroing out yet, follow the instructions below in Hold For Next Month.
A full description of how to carry over debt can be found in our Carrying Debt article.
Hold for Next Month (Fix Money Leftover in To Budget)
nYNAB calculates its Ready to Assign
value differently than Actual's To Budget
value.
There is no need to worry, we can make them match exactly with a simple change.
This is purely a visual change and doesn't affect the budget itself.
You will likely see money leftover in each of the imported months in your To Budget
.
This extra comes from nYNAB including funds budgeted in future months when calculating its Ready to Assign
value.
Actual does not include those funds by default, but offers a way to manually reserve funds for use in future months.
This is affectively the same thing nYNAB does, but in a manual form.
To hold
the leftover funds for the next month follow these steps:
- Click on your
To Budget
value for the month. - Select
Hold for next month
. - Fill in how much you would like to reserve for the future. By default the current
To Budget
value is filled in. Using this value will bring yourTo Budget
to zero. - Click
Hold
. - Repeat for all desired months.
A full description of how funds rollover and the hold
feature can be found in this article.