Skip to content

Commit

Permalink
;doc:journal: note some equity+cost limitations (#2051, #2056)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichael committed Jul 10, 2023
1 parent 0ae007c commit a617778
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions hledger/hledger.m4.md
Original file line number Diff line number Diff line change
Expand Up @@ -5115,6 +5115,15 @@ You can rewrite most conversion transactions to (a variant of) this form with:
$ hledger print -x --infer-costs --infer-equity
```

This (detecting and allowing redundant equity postings and cost) was added in hledger 1.29 and
is still somewhat experimental. Here are some current limitations:

- If the entry is not written in a form that hledger can recognise (see below),
it fails to detect the redundancy and gives a transaction balancing error instead.
Amounts with repeating decimals are one of the things that can trigger this ([#2051](https://github.com/simonmichael/hledger/issues/2051)).

- The [add](#add) command does not accept this kind of entry ([#2056](https://github.com/simonmichael/hledger/issues/2056)).

## --infer-costs

As mentioned above, `--infer-costs` can infer and add the @/@@ cost notation
Expand Down

0 comments on commit a617778

Please sign in to comment.