Skip to content

Latest commit

 

History

History
46 lines (24 loc) · 1.3 KB

README.md

File metadata and controls

46 lines (24 loc) · 1.3 KB

halp

Interactive command line to import a csv of transaction into YNAB

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.

Run

Get ynab api token here

go get -u github.com/xild/halp or clone.

YNAB_TOKEN=$TOKEN go run main.go

How to

The csv should be delimited with a semilon ; and must have the following structure, without a header:

  1. Column - The date in ISO format (e.g. 2016-12-01)

  2. Column - The Payee name

  3. Column - The category (not used yet)

  4. 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