Re: Digest for beancount@googlegroups.com - 1 update in 1 topic

27 views
Skip to first unread message

Filippo Tampieri

unread,
Apr 12, 2017, 9:24:39 AM4/12/17
to bean...@googlegroups.com
You can also take a look at my beansoup project on github; it is a collection of importer and plugins for beancount and has a plugin at automatically creates entries for deposit-in-transit transactions (there is also one that can clear them and mark pending transactions); when both legs share the same date, it can merge them too.

You can look at the tests in https://github.com/fxtlabs/beansoup/blob/master/tests/plugins/test_deposit_in_transit.py to see what it does on example data.

I have been using it for over a year and it works really well for me.


On Wed, Apr 12, 2017 at 9:15 AM, <bean...@googlegroups.com> wrote:
Dominik Aumayr <dom...@aumayr.name>: Apr 11 03:21PM +0200

I came up with a quick-and-dirty implementation of the plugin @blais mentioned:
 
https://github.com/beancount/fava/pull/522
 
With this plugin, the following transaction:
 
plugin "fava.plugins.settlement_date" "Assets:Savings:Transfer"
 
2017-04-01 * "" ""
Assets:Savings:US -100.00 USD
Assets:Savings:JP
settle: 2017-04-03
 
becomes
 
2017-04-01 * "" "Doing some saving transfers" ^settle-43be1c
Assets:Savings:US -100.00 USD
Assets:Savings:Transfer
settle: 2017-04-03
 
2017-04-03 * "" "Settle: Doing some saving transfers" ^settle-43be1c
Assets:Savings:Transfer -100.00 USD
Assets:Savings:JP 100.00 USD
 
 
There are no tests, and the code is quite a mess, but it conveys the point. Comments (and contributions) very welcome, either here, or in the PR.
 
- Dominik
 
 
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to beancount+unsubscribe@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages