In ledger negatives go between the commodity and the amount. So instead of
-$100 you should right $-100.

It looks to me like you have 2,300 of the commodity "$" and 2,500 of the
commodity "-$", and ledger is treating them as separate, unrelated
commodities.

If you change your negatives to the $-100 form, I expect it will work like
you want.


On Sat, Aug 8, 2020, 16:55 Remco Rijnders <re...@webconquest.com> wrote:

> On Sat, Aug 08, 2020 at 03:11:45PM -0700, Oliver wrote in
> <0371f69e-5077-4e93-a08c-3a7967ed4d...@googlegroups.com>:
> >If I run a balance inquiry in ledger, at the end of a long list are 2
> >entries:
> >-$2500.00 Liabilities:Credit_Card
> >  $2300.00 Liabilities:Credit_Card
> >
> >The first entry is how much I've charged to the card. The second entry is
> >my latest payment. The $200 difference is how much I
> >currently owe on the card.
> >
> >2 Questions:
> >
> >1) Is this how it is supposed to look when one runs a balance report with
> 2
> >entries for Liabilities:Credit_Card?
>
> No, the entries should show you the "balance", so in this case
> -$200.00 and each account should appear in the balance just once.
>
> >2)Is there a command to run to find what I currently owe or do I always
> >need to pull out a calculator and subtract?
>
> The output you get looks suspect. It should work without a calculator
> and just show you the balance. Can you show us the command you used to
> run the balance report? Do any of your other accounts exhibit this
> same problem, or is it just the Credit_Card account? I notice your
> amounts are all nice and rounded. Did you change the amounts for the
> sake of simplifying your question and/or hiding private details? Are
> the 2500 and 2300 amounts single entries in your ledger file, or are
> they composed of multiple entries?
>
> Kind regards,
>
> Remco
>
> --
>
> ---
> 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 ledger-cli+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ledger-cli/Xy87aIyg0MKMoNDC%40settler.
>

-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/CAFOMguYczyviRJHYCCmKLsHBK2Z9%2B9PCDQyc%3Ddj%2BR_puPSjRAg%40mail.gmail.com.

Reply via email to