Skip to content

Commit

Permalink
;doc: assertions: mention their behaviour with posting status
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichael committed Nov 21, 2024
1 parent e1d5339 commit a38c09b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hledger/hledger.m4.md
Original file line number Diff line number Diff line change
Expand Up @@ -1752,6 +1752,11 @@ In hledger you can make "**subaccount-inclusive balance assertions**" by adding
assets $0 ==* $20 ; assets + subaccounts contains $20 and nothing else
```

### Assertions and status

Balance assertions always consider postings of all [statuses](#status) (unmarked, pending, or cleared);
they are not affected by the `-U`/`--unmarked` / `-P`/`--pending` / `-C`/`--cleared` flags or the `status:` query.

### Assertions and virtual postings

Balance assertions always consider both real and [virtual](#virtual-postings) postings;
Expand Down

0 comments on commit a38c09b

Please sign in to comment.