Bom dia, 

it is my understanding that the option *--market* the last known market 
value of the USD, in BRL, gives.
My output of your file looks then like this:

$ ledger -f brl_values bal --market
         -905.18 BRL  Assets:Checking
          905.18 BRL  Expenses:Travel
--------------------
                   0
$

Um abraço.


On Sunday, December 3, 2017 at 2:19:46 PM UTC, Paulo Flabiano Smorigo wrote:
>
> Hello all, 
>
> I live in Brazil and from time to time I buy things in USD so I keep 
> my records like: 
>
> 2017-05-15 Car rental 
>     Expenses:Travel                       263.90 USD {=3.43 BRL} 
>     Liabilities:CreditCard 
>
> Then after some days I pay my credit card card in my local currency: 
>
> 2017-05-20 Pay CreditCard 
>     Liabilities:CreditCard                905.18 BRL 
>     Assets:Checking 
>
> So I don't have any more debit in USD but if I print my balance it shows: 
>
> $ ledger -f doubt.ledger bal 
>          -905.18 BRL  Assets:Checking 
>           263.90 USD  Expenses:Travel 
>           905.18 BRL 
>          -263.90 USD  Liabilities:CreditCard 
> -------------------- 
>                    0 
>
> Of course that's right but I want to know how can I tell ledger that 
> when I pay my debits, my liabilities in foreign currency are zero. 
>
> What's the best way to do it? 
>
> -- 
> P. F. Smorigo 
>

-- 

--- 
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