Given a csv, import into YNAB what is not present, eg:
bank has transaction 1, transaction 2, and transaction 3
ynab has transaction 2
halp will suggest the creation of the transaction 1 and 2, giving the opportunity to select a category.
All transaction created will have a memo "sowhat? #cmdline" so it will be easier to remove or reject the transaction in case of fire.
Get ynab api token here
go get -u github.com/xild/halp
or clone.
YNAB_TOKEN=$TOKEN go run main.go
The csv should be delimited with a semilon ;
and must have the following structure, without a header:
-
Column - The date in ISO format (e.g. 2016-12-01)
-
Column - The Payee name
-
Column - The category (not used yet)
-
Column - The transaction amount
2019-08-19 | Japanese Market | Food & Groceries | -14.32 |
2019-08-19 | Helles Bier Market | Fun | -0.23 |
2019-08-19 | Movies | Fun | -8.20 |