Skip to content
/ halp Public

Interecative command line to import data into ynab

Notifications You must be signed in to change notification settings

xild/halp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Interecative command line to import data into ynab

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages