Thanks guys for your replies and suggestions.

>     (Expenses:Car:Mileage)      = 109554 km

This is exactly what I was looking for. Previously, I erroneously used
[] (in combination with '=') which caused entries to always balance.

Best,
Sanel

Yuri Khan <[email protected]> writes:

> On Fri, Oct 27, 2017 at 8:44 PM, Ismael Bouya
> <[email protected]> wrote:
>> Actually, you can, just prepend an "=" sign:
>> 2017/09/09 * Gas station
>>     Expenses:Car:Fuel           35.550 L @ EUR 1.70
>>     Expenses:Car:Fuel:Tax       35.550 L @ EUR 0.01
>>     Expenses:Car:Mileage        = 109554 km
>>     Expenses:Car:Washing        $ 6
>>     Assets:Wallet
>
> You’d probably also want to make that a virtual posting, so that you
> don’t get the balancing negative kilometers in your wallet:
>
> 2017/09/09 * Gas station
>     Expenses:Car:Fuel           35.550 L @ EUR 1.70
>     Expenses:Car:Fuel:Tax       35.550 L @ EUR 0.01
>     (Expenses:Car:Mileage)      = 109554 km
>     Expenses:Car:Washing        $ 6
>     Assets:Wallet
>
> -- 
>
> --- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "Ledger" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/ledger-cli/Ojl0Rk96zqg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 

--- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to