Re: Timezones and price fetcher

2018-04-17 Thread Martin Blais
Fixed:
https://bitbucket.org/blais/beancount/commits/2171ff658cc4ed507376fed1811b9e9b798fb30f

Green CI build now:
https://bitbucket.org/blais/beancount/addon/pipelines/home#!/results/17


On Sun, Apr 15, 2018 at 12:51 PM, Martin Michlmayr  wrote:

> * Martin Blais  [2018-04-11 16:29]:
> > You ask at 14:00 in which timezone? US 14:00 or Europe 14:00?
> > If you don't know the instrument trades in the US, you ask at 14:00 in
> > Europe timezone?
>
> Sorry, I thought you told the API "I want the exchange rate at 14:00
> time".  If so, we'd all get the same answer regardless of our local
> timezone.  It would be nice to know what the APIs timezone is so we
> know what "14:00" really means but that doesn't matter for beancount.
>
> If you only tell the API "I want the exchange rate now", then I think
> beancount should store the time in UTC.
>
> > Our current API doesn't support you providing a time, just a date.
> > You request for a price at a particular date.
>
> Ok, (I think) I see the problem.
>
> If the API queried by beancount only provides 1 rate per day, we could
> easily find out what a "day" is according to them by doing a query
> every hour for 24 hours.
>
> Or just pick mid-day UTC.
>
> --
> Martin Michlmayr
> http://www.cyrius.com/
>
> --
> You received this message because you are subscribed to the Google Groups
> "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beancount+unsubscr...@googlegroups.com.
> To post to this group, send email to beancount@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/beancount/20180415165103.zaixqwtthtn35fuu%40jirafa.cyrius.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAK21%2BhNe%2BNhNQxQ%3DUPs5b9kTBgnrQ9U-QdT3PU%2Bm8Kd7eC-M2g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: bean-doctor context

2018-04-17 Thread Jason Chu
vim-beancount uses it (
https://github.com/nathangrigg/vim-beancount/blob/8b8073706f800f10acc5e107fe2d77f68bcc3458/autoload/beancount.vim#L255).
There is code to handle the root file case, but it isn't used for context.
I should probably fix that.

On Tue, Apr 17, 2018, 5:28 PM Martin Blais  wrote:

> Does anyone here use bean-doctor context?
> I just realized it doesn't work in a multiple file setting.
> You'd have to provide the filename of the top-level file, and then the
> filename:lineno close to the transaction you're trying to identify.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beancount+unsubscr...@googlegroups.com.
> To post to this group, send email to beancount@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/CAK21%2BhPQ8tYTjn4aYCTHToySbAGM2QidJ3ykDaqUzjrG%3DqARCQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAFFHUgvoM7Jfnyiu3OLaavCQo069S83PJHmFWe8p7kZo%3DKxHBg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: bean-doctor context

2018-04-17 Thread Martin Blais
https://bitbucket.org/blais/beancount/commits/bbc9e992660b4c5a2085ceb6cc6b39bba227e50d

On Tue, Apr 17, 2018 at 8:27 PM, Martin Blais  wrote:

> Does anyone here use bean-doctor context?
> I just realized it doesn't work in a multiple file setting.
> You'd have to provide the filename of the top-level file, and then the
> filename:lineno close to the transaction you're trying to identify.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAK21%2BhM8d6UjW_9-kogyqKWL17Kp8a1bMHvfHu3XpToA-FdEmQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


bean-doctor context

2018-04-17 Thread Martin Blais
Does anyone here use bean-doctor context?
I just realized it doesn't work in a multiple file setting.
You'd have to provide the filename of the top-level file, and then the
filename:lineno close to the transaction you're trying to identify.

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAK21%2BhPQ8tYTjn4aYCTHToySbAGM2QidJ3ykDaqUzjrG%3DqARCQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


smart_importer

2018-04-17 Thread Martin Blais
Works great on my credit card account!
https://github.com/johannesjh/smart_importer

Another way I'm finding I'd like to invoke this is by invocation of an
Emacs binding to auto-complete one particular transaction based on a stored
model.
Basically put the cursor over an incomplete transaction and have it be
completed by the ML classification.
Just an idea.

Awesome work! :-)

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAK21%2BhM-FDXwjM%2BtwCDDZUWpFyeFLBJpdtbVjbiF9VmqFT%2BD9A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Anyone got some sort of python headless browser script to fetch ofx file from their bank website?

2018-04-17 Thread Vivek Gani
Haven't looked into it much, but ledger reconciler ( 
https://disjoint.ca/projects/ledger-reconciler/ ) works via downloading 
over headless chrome.

On Tuesday, November 3, 2015 at 5:09:03 AM UTC-8, Jacques Gagnon wrote:
>
> Hi,
>
> Login to all my banks account to fetch the ofx files annoy me a lot.
> I'm from Canada so their is no such thing as "Direct OFX". So I have to do 
> some web scrapping here.
>
> I want something that do not involve me storing my password either locally 
> or on a 3rd party (for obvious reason).
>
> I started working on a python script with MechanicalSoup (I might switch 
> to RoboBrowser however) that just prompt at the terminal for filing the 
> forms etc..  but at some point javascript get in my way.
>
> Here a list of all headless browser:
> http://www.asad.pw/HeadlessBrowsers/
>
> Anyone already got something working that could be share?
> I'm mostly interested in example on how people are dealing with web 
> redirect and javascript to get my own script working. :)
>
> Eventually it would be nice to keep a repo with such script for different 
> banks. This would complement LedgerHub nicely.
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/ba80d87f-316b-4a6b-b2f1-b3b0c4e9dd32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Anyone got some sort of python headless browser script to fetch ofx file from their bank website?

2018-04-17 Thread mployby
I saw the following post on reddit related to downloading data from banks. 
Maybe it will be helpful to you:

I'm new to the ledger-cli ecosystem, and spent many hours recently trying 
to get this all sorted out. I now have a more-or-less fully automated setup 
that works as such:

Component 1 is a small bash script that invokes plaid2qif to download a 
CSV of all transactions for each all of my bank accounts, investment 
accounts, and credit card accounts. https://github.com/ebridges/plaid2qif

Plaid is a back-end system that implements a common API for most financial 
institutions, so that you don't have to write and maintain separate chase 
vs. citibank vs. bofa scrapers. You can link up to 100 accounts with the 
development account for free.

Once I have a CSV with each account's transactions, I have another 
short script that invokes into-ledger on each file and imports all of the 
data

On Thursday, April 12, 2018 at 6:18:29 PM UTC-4, Jacques Gagnon wrote:
>
> I pretty much gave up, much easier to download the ofx manualy.
>
> Jacques Gagnon
> GTalk/E-Mail: darth...@gmail.com 
> WLM (MSN): clou...@msn.com 
>
> On Thu, Apr 12, 2018 at 6:12 PM,  
> wrote:
>
>> Hello Jacques,
>>
>> I read your messages with a lots of interest and i also trying to connect 
>> and scrap my bank statement on td canada.
>> I tried weboob which have a complete solutions for banks, but could not 
>> get to the login page, it seems than the website make your browser run a 
>> lots of operations way before you get the login prompt...
>>
>> Have you been able to get thru this first part with python...
>>
>> best regards
>> Nicolas
>>  
>>
>> On Friday, November 6, 2015 at 2:48:18 PM UTC+1, Jacques Gagnon wrote:
>>>
>>> Btw I come across this for bank of america:
>>> https://www.coshx.com/blog/2012/11/30/casperjs-automation/
>>>
>>> Haven't got time yet to adapt it for my needs.
>>>
>>> But I don't like the fact it use a dead project (CasperJS)
>>>
>>> Also the download part is kind of a hack since PhantomJS dont have 
>>> native support for download. (Download without direct link, ie resulting 
>>> from a POST)
>>> They got experimental support for download in a branch however, but it 
>>> never got in main line and it date from 2013 so probably wont happen.
>>>
>>> Nightmare look like the most future proof project to use, no download 
>>> support yet, but at least the headless browser they use Electron (base on 
>>> chromium) do have download support.
>>>
>>> Jacques Gagnon
>>> GTalk/E-Mail: darth...@gmail.com
>>> WLM (MSN): clou...@msn.com
>>>
>>> On Fri, Nov 6, 2015 at 8:41 AM, Martin Blais  wrote:
>>>
 No idea, but the portion that pulls the file down should be reusable


 On Thu, Nov 5, 2015 at 10:40 PM, Dave Stephens  
 wrote:

> Does ledger-autosync work with Beancount? 
>
> On Tue, 3 Nov 2015 at 13:24 Simon Michael  wrote:
>
>> ledger-autosync will also process an OFX file you downloaded yourself.
>>
>> On 11/3/15 8:46 AM, Jacques Gagnon wrote:
>> > ledger-autosync is for bank who support the ofx protocol,
>> > we dont have that in Canada, only so random website that once 
>> logged in you
>> > can download the ofx file
>> >
>> > I'll take a look a weboob or PhantomJS
>> > I wanted to stay around python, but I'll use what it take and adapt 
>> it to
>> > my need.
>> >
>> > We might not end up with script for all banks, but at least with a 
>> couple
>> > examples someone would be able hack something for its own need.
>> >
>> > On Tuesday, November 3, 2015 at 11:03:44 AM UTC-5, Simon Michael 
>> wrote:
>> >>
>> >> https://gitlab.com/egh/ledger-autosync is pretty good, and/or the
>> >> ofxclient tool it uses.
>> >>
>> >>
>> >
>>
>>
>> --
>> You received this message because you are subscribed to the Google 
>> Groups "Beancount" group.
>> To unsubscribe from this group and stop receiving emails from it, 
>> send an email to beancount+...@googlegroups.com.
>> To post to this group, send email to bean...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/beancount/n1b8m6%24hu1%241%40ger.gmane.org
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> -- 
> You received this message because you are subscribed to the Google 
> Groups "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it, send 
> an email to beancount+...@googlegroups.com.
> To post to this group, send email to bean...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beancount/CALRNXuF%2BjkPv10W17GJChaNwNgc1endq3Af1LGGK89pZdiwS6A%40mail.gmail.com
>  
> 

Re: Importing transactions from bank.

2018-04-17 Thread mployby
Martin, thank you for your detailed reply! Now it's super clear :)

On Tuesday, April 17, 2018 at 1:45:23 AM UTC-4, Martin Blais wrote:
>
> On Sun, Apr 15, 2018 at 8:35 PM,  wrote:
>
>> I've started playing with import scripts,the sample files provided in 
>> repo are very useful, just have couple of additional questions i was not 
>> able to figure out/not 100% sure about:
>>
>
> Really glad the example files are useful.
>
>
> 1 bean-extract does not write transactions in main beancount file 
>> (personal.beancount), it generates output into command line or 
>> tmp.beancount and we enter them manually, right?
>>
>
> Correct. You redirect its output to a temp file and using your editor, 
> cut/paste them to your main file wherever makes most sense for you (and 
> complete them, e.g., categorize the expenses).
>
>  
>
>>
>> 2 when running  "bean-extract -e BEANCOUNT_FILE" what is the algorithm 
>> used to check duplication? Does it check only for same amounts? Or also 
>> takes into consideration additional clues (payee, date range, etc)?
>>
>
> Not so great, definitely could use some improvement:
>
> https://bitbucket.org/blais/beancount/src/cd5fe599fdc80d47caa8a2618f5ee489ce88d101/beancount/ingest/similar.py
>
> https://bitbucket.org/blais/beancount/issues/185/make-duplicate-detection-configureable
>
>
> 3 When filing files bean-file example.import ../Downloads/ -o documents/ 
>> how are name and date generated?
>> Seems it is picks up date from original file name (example 
>> UTrade20160215.csv), but when it's not in file name how ofxdownload.ofx 
>> turns to 2013-12-18.bofa.ofx
>>
>
> From the file_name() and file_date() methods of your importer 
> implementation:
>
> https://bitbucket.org/blais/beancount/src/cd5fe599fdc80d47caa8a2618f5ee489ce88d101/beancount/ingest/importer.py
> If you use the example CSV importer it does what it can.
> Typically you'd write your own and choose what you want it to be.
>
>  
>
>>
>> 4 Main value of regression testing is to insure that new 
>> changes/additions to importers still work with old input files,
>> It's not so useful to help importers work with new formats if format was 
>> changed by bank, right?
>>
>
> Both.
> Those importer codes are typically the last thing you want to do on a 
> Saturday night, so they tend to be kludgey.
> - When you need to support something new, you want to make sure you don't 
> break old functionality.
> - When the Java programmers at your favorite bank change the output format 
> without warning you (or realize 10 years after that escaping the commas in 
> the CSV fields might have been a good idea), there's no faster way to test 
> a new / updated importer than to plot a newer file in the directory and run 
> regression tests
>
>
> On Mon, Apr 16, 2018 at 8:30 AM,  wrote:
>
>> 5 Also what's the right way to calculate balance 
>> ?
>>
>
> Ideally you don't calculate it. Ideally you find it somewhere and enter it.
>
>  
>
>>
>> Chase have the following CSV structure, 
>> 
>>
>> Balance fields are included in checking CSV, so i guess i can use balance 
>> of the last transactions for balance.
>> They are not included in credit card CSV however. Is there a way to 
>> calculate them?
>>
>> And how important "balance" in the first place? Cause for example this 
>> import script 
>> https://gist.github.com/mterwill/7fdcc573dc1aa158648aacd4e33786e8#file-importers-chase-py
>>  does not have "balance".
>>
>
> They're optional.
>
> The reason for Balance directives is to assert (and I mean that in the 
> computer programming sense as well) that your ledger's calculated balance 
> matches the institution's idea of what it should be. The picture perfect 
> idea of a Balance directive is a fuddy duddy accountant type wearing brown 
> socks staring at the bottom line of his paper statement carefully through 
> bifocals and manually copying the number to a Balance directive in 
> Beancount.
>
> My understanding is that most systems work on the basis of 
> "reconciliation", which is a fancy way of saying that you're meant to 
> eyeball what you've entered and confirm it perfect, and after that it's 
> frozen. I preferred granting my users the superpowers of changing the past 
> at will, so I decided to encode that as allowing you to assert balances at 
> particular points in time - Beancount will always automatically complain is 
> a computed balance fails to match your bank's expectation. All the 
> assertions are always checked. Adding Balance directives often also allows 
> you to zero in on errors faster when you're debugging things (e.g. some 
> missing transaction which for whatever reason you failed to enter - it 
> happens).
>
> If your downloaded file contains a parseable balance field, I encourage 
> you to make that importer automatically generate a corresponding Balance 
> directive.
> Otherwise, you can manually insert one 

Re: Best format for importing from bank

2018-04-17 Thread mployby
Martin, thank you for your detailed reply! Now it's super clear :)

On Tuesday, April 17, 2018 at 2:00:11 AM UTC-4, Martin Blais wrote:
>
> On Mon, Apr 16, 2018 at 7:08 AM,  wrote:
>
>> Guys hi,
>>
>> From docs (Importing External Data in Beancount 
>> )
>>  
>> i've understood that PDF is not easy format to work with.
>> But how other formats compare?
>>
>
> PDF contains blocks of text with their coordinates and a bunch of 
> PostScript formatting directives (it's a fun language, you should learn it) 
> and other binary objects. Split lines might generate multiple blocks of 
> text. It's a drawing. There isn't much structure to read, if you embark on 
> that project, you have to use a bunch of heuristics to figure out the 
> original structure from the blocks of text and their location. It's not 
> quite a research problem but it's not a job you'll ace in one or two 
> weekends of hacking (though it might be very rewarding, I have an 
> incomplete stab at extracting tables from PDF that looks promising so I 
> have a feeling it's definitely doable).
>
>
> In chase bank i can choose - CSV, QFX, QIF, IIF or QBO 
>> 
>>
>
> CSV or QIF are your easiest ones here.
> QFX and QBO are variants of an XML format called OFX with a large set of 
> tags which are often produced inconsistently by the same Java programmers I 
> alluded to in the other thread. (Or they might have been .NET programmers, 
> if I'm not mistaken OFX was born in the guts of the evil empire itself, but 
> probably before .NET days.)
>
>
> Which one is better?
>>
>
> If all have the same numbers, the simplest one.
> If some have more information, judge whether the extra data is something 
> you want and worth the extra hacking effort.
>
> I'd shoot for CSV myself (I like it simple and I prefer spending weekend 
> time in the kitchen than in front of the computer).
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/f85bd99f-37f9-4c97-8c2a-73d802938310%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Loosely tracking shared expenses between partners

2018-04-17 Thread Justin Abrahms
That makes perfect sense. Thanks. :)

On Mon, Apr 16, 2018 at 10:22 PM, Martin Blais  wrote:

> There are two methods going on in this thread, a simple method of keeping
> a running account of the other person's contributions and paying their
> share of expenses from that account, and a more complex method of
> maintaining a separate beancount ledger dedicated for the project and that
> recording contributions from all parties. I'll assume you meant the former,
> simpler method, not the latter.
>
> It's simple: you book the other side of the deposit to the account for
> each person's contribution:
>
> 2018-01-25 * "Money for rent and other expenses"
>   Assets:Pending:Bob  -1000.00 USD
>   Assets:Checking  1000.00 USD
>
> 2018-01-25 * "Money for rent and other expenses"
>   Assets:Pending:Alice-1100.00 USD
>   Assets:Checking  1100.00 USD
>
> When it's time to pay the rent, you just pay your bit (Expenses:Rent) and
> use their account to pay the remaining portions:
>
> 2018-02-01 * "Paying the rent"
>   Assets:Checking-2400.00 USD
>   Assets:Pending:Bob   800.00 USD
>   Assets:Pending:Alice 800.00 USD
>   Expenses:Rent 800.00 USD
>
> Whether you choose to maintain their accounts as assets or liabilities -
> merely a naming change - is a matter of whether they choose to pay you
> ahead of time most of the time (you safeguard some of their money in
> preparation for spending - Assets), or after the fact, i.e., after expenses
> have accrued (they always owe you after you've paid for them -
> Liabilities). In either case, the signs all stay the same. When you pay the
> rent, you increase their accounts (if they started at zero, those hold a
> receivable that you have on them). When they pay you, you decrease that
> receivable  (or increase the liability - a negative number).
>
> Hope this helps,
>
>
>
>
>
>
> On Tue, Apr 17, 2018 at 12:21 AM,  wrote:
>
>> This thread feels suspiciously close to the change I'm trying to model,
>> but it's still not quite making sense to me.
>>
>> I have several roommates. I originally thought that each person would pay
>> into an "Asset:Pending:GoesToRent" account, then that would pay out to the
>> "Expenses:Housing:TheMortgage" expense.
>>
>> The wrinkle comes in that they're paying me into my "Assets:Checking"
>> account, and I want to do balance assertions on it. The account diversion
>> stuff mentioned previously appears to be just syntatic sugar for mapping to
>> a tag. Is that right?
>>
>> My goal is to understand how much of my housing expense is coming from me
>> versus everyone else, so an intermediate account seems necessary?
>>
>> Would love to hear your thoughts,
>>  -justin
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Beancount" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to beancount+unsubscr...@googlegroups.com.
>> To post to this group, send email to beancount@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/beancount/d85bad13-fd62-4241-80bf-13654e122045%40googlegroups.com
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Beancount" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/beancount/p05e3hMqpJY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> beancount+unsubscr...@googlegroups.com.
> To post to this group, send email to beancount@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/beancount/CAK21%2BhOwYTMgQLDb07wQMjGjV7j9iyY-
> vg8X%2B1y7h2E_rL%3DU2A%40mail.gmail.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAL33uUv0fvdSh6_9XDrqa9VDg3gcMW%2BgY_%3DsQP3vc6-W%2BfWm0Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Best format for importing from bank

2018-04-17 Thread Martin Blais
On Mon, Apr 16, 2018 at 7:08 AM,  wrote:

> Guys hi,
>
> From docs (Importing External Data in Beancount
> )
> i've understood that PDF is not easy format to work with.
> But how other formats compare?
>

PDF contains blocks of text with their coordinates and a bunch of
PostScript formatting directives (it's a fun language, you should learn it)
and other binary objects. Split lines might generate multiple blocks of
text. It's a drawing. There isn't much structure to read, if you embark on
that project, you have to use a bunch of heuristics to figure out the
original structure from the blocks of text and their location. It's not
quite a research problem but it's not a job you'll ace in one or two
weekends of hacking (though it might be very rewarding, I have an
incomplete stab at extracting tables from PDF that looks promising so I
have a feeling it's definitely doable).


In chase bank i can choose - CSV, QFX, QIF, IIF or QBO
> 
>

CSV or QIF are your easiest ones here.
QFX and QBO are variants of an XML format called OFX with a large set of
tags which are often produced inconsistently by the same Java programmers I
alluded to in the other thread. (Or they might have been .NET programmers,
if I'm not mistaken OFX was born in the guts of the evil empire itself, but
probably before .NET days.)


Which one is better?
>

If all have the same numbers, the simplest one.
If some have more information, judge whether the extra data is something
you want and worth the extra hacking effort.

I'd shoot for CSV myself (I like it simple and I prefer spending weekend
time in the kitchen than in front of the computer).

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAK21%2BhOqzCrkxg54uvp9w-ih_W6n47_uYVqM%2Bk8EjUpzMkykWQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.