Re: Changing tags in a plugin? Help please

2017-02-18 Thread stalbansrfctreasurer
Now it works. This can flag cash accounts, but is now configurable to flag any transaction what contains any of the listed accounts. I still don't understand how this works, or what type an empty tag set is (tagset or set()) | set((tagged,)) Sample header in journal file: plugin

Re: Changing tags in a plugin? Help please

2017-02-18 Thread stalbansrfctreasurer
Martin Thanks. My question was all around how to test for an empty tag and update it - your code does this with (tagset or set()) | set((tagged,)) I tried to do a logic test on if tagset == None: and also if tagset == set():but neither seemed to work. I was going to do if tagset ==

Allocating payments to customer accounts - newbie question

2016-12-13 Thread stalbansrfctreasurer
Hi I want to use beancount to maintain customers and vendors, and so want to be able to allocate payments to invoices (and, by extension, use it to reconcile bank accounts). I'm not sure if this has been solved - I couldn't find anything relating to it on Google. In essence, this would mean