On Thu, Jul 25, 2019 at 11:50 AM <[email protected]> wrote:

> Hi,
>
> New here (and new to beancount in general); I tried doing a search but was
> unsuccessful.
>
> The problem: I have this "transaction"
>
> 2019-07-01 * "amazon.com" "stuff"
>   Expenses:Gadgets 20USD
>   Expenses:Books 30USD
>   Liabilities:CreditCard 60AUD
>
> I don't really care to track USD in my Expenses accounts, so I'd like
> beancount to apportion 60USD in that ratio.
>
> I was hoping that this kind of syntax would work:
>
> 2019-07-01 * "amazon.com" "stuff"
>   Expenses:Gadgets 20
>   Expenses:Books 30
>   Liabilities:CreditCard 60AUD
>
> where amount interpolation occurs on all postings that are commodity-less
> in the ratios specified by the numbers, but this isn't a thing.
>
> I can probably introduce a special commodity (and, depending on whether
> transaction balances are checked before plugins run, a throwaway account
> for interpolation) and write a plugin, but I'm wondering whether there are
> better ways of doing this..
>

There's currently no automatic way to distribute the interpolated amount.
I would write some code.
You can try use a commodity and/or a posting flag.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAK21%2BhOmMcwoW-qKDLz553Z%2BW5AqriPOpfmcZ-CnEEgaVLdT6g%40mail.gmail.com.

Reply via email to