2

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?

Navidot
  • 177
  • 6

1 Answers1

4

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
  Assets:Reimbursements                        

The correct form is:

2019/07/31 * Hosting
  Assets:Nest                                 -73.80 GBP
  Assets:Reimbursements                        
Navidot
  • 177
  • 6