I have a problem with ledger-cli while trying to transfer money between accounts with currency conversion.

I have following record in ledger:

2020/09/04 * Transfer
  Assets:Monzo                               -149.73 GBP
  Assets:Nest                                 738.00 PLN

When I run ledger -f file.ledger reg "Assets:Nest" I get Error: Incorrect use of thousand-mark period. I don't use --decimal-comma.

Any idea what could cause the problem?

  • 4
    This is a question about programming and not personal finance and money. I vote to close. Sep 24, 2020 at 15:40
  • 7
    @DilipSarwate This is a question about the usage of a personal finance tool. It is on-topic.
    – Ben Miller
    Sep 24, 2020 at 16:07
  • @BenMiller-RememberMonica We have disagreed on this kind of issue in the past and I expect that we will continue to do so in the future too. Sep 24, 2020 at 16:22
  • 6
    @DilipSarwate this question is not about programming, it's about personal finance tool as it was tagged with ledger-cli. The regular programming stackoverflow forum don't have tag "ledger-cli" because it's not programming language, nor tool.
    – Navidot
    Sep 24, 2020 at 20:29
  • 1
    @DilipSarwate not being deliberately contrary, but "there's a comma for a period somewhere else in the file" was in fact what I was thinking...
    – AakashM
    Sep 25, 2020 at 15:27

1 Answer 1


I managed to solve the problem, thanks to Martin from Ledger-cli Google mailing group. One of the records in the ledger was corrupted, I used comma instead of dot:

2019/07/31 * Hosting
  Assets:Nest                                 -73,80 GBP

The correct form is:

2019/07/31 * Hosting
  Assets:Nest                                 -73.80 GBP

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .