DEPRECATED - YNAB has implemented an official solution. See this YNAB blog post for how to set up imports on iOS 17.4+: Introducing Effortless Apple Card Imports with YNAB
Uses cardvisionpy and ynab-api to parse Apple Card transaction screenshots and send them to YNAB as transactions.
- Pipenv
- Python 3.9+
- Tesseract
-
Create the Pipenv
pipenv install
-
Copy template.env to .env and enter the variables.
YNAB_API_KEY= YNAB_BUDGET_ID= YNAB_APPLE_CARD_ACCOUNT_ID=
-
Run the script, optionally including arguments specifying the
--inputPath
folder and--outputPath
file for CardVision.pipenv run python main.py
-
Review the resulting transactions and enter
y
orn
to confirm or cancel uploading the transactions to YNAB.