>>> "TP" == Tobias Pfeiffer <[email protected]> writes:

> Hi,
> Am Mittwoch, den 29.12.2021, 17:41 +0100 schrieb Uwe Brauer:
>> The question is can this be done automatically?
>> 
>> By this I mean
>> can
>> 2010/07/23 User2:User1-Compensation
>> expenses:User2:User1-Compensation  25.00
>> expenses:User1:User1-Compensation
>> 
>> Somehow be generated automatically?

> For a similar use case I use automated transactions
>  https://www.ledger-cli.org/3.0/doc/ledger3.html#Automated-Transactions
> that split every transaction in two parts, like

> ```
> = expr account =~ /Liabilities:[a-zA-z0-9]*$/ and aux_date >= [2020/05]
>   $account    -1.0
>   $account:from User1    (roundto(0.6*amount, 0))
>   $account:from User2    (amount-roundto(0.6*amount, 0))
> ```

That looks very interesting and I will try it out later.

thanks

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" 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/ledger-cli/87czleeex6.fsf%40mat.ucm.es.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to