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 > Am 11.04.2017 um 04:34 schrieb Martin Blais <[email protected]>: > > As Cheng mentions, using a transfer account would be the correct thing to do. > > Or if you don't have many balance assertions, fudging the date (using either > the outgoing or incoming date in a single transaction) works too. That's what > I do most of the time. > > There have been many discussions in the past about implementing a plugin with > two dates, one that would automatically select a transfer account and split a > transaction declared with the two dates into two transactions. > > > > > On Mon, Apr 10, 2017 at 1:55 PM, <[email protected]> wrote: > Hi everyone, > > Suppose I have an account in an US bank and I want to transfer funds into > this account from another account in a Japan bank. When I do such transfer my > Japan bank would deduct funds almost immediately, but they won't appear in US > bank on the same day. Usually it takes almost business days to compeltely > process transfer and credit my account the US bank. > > How should I reflect such money transfer in my journals? > > -- > Thanks > > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beancount/2710df42-18f4-47f1-b45d-67516ab997d9%40googlegroups.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 [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beancount/CAK21%2BhN9nT%2BUWTSv9jj0W77gxPaLLgTs9g8gw1VtU_RxukqERw%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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/9E63C038-7E95-4B05-93C2-8427D68F7B9B%40aumayr.name. For more options, visit https://groups.google.com/d/optout.
