From a38c09be98b1e7b492d989204b69b5126a39fad4 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Thu, 21 Nov 2024 07:57:26 -1000 Subject: [PATCH] ;doc: assertions: mention their behaviour with posting status --- hledger/hledger.m4.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hledger/hledger.m4.md b/hledger/hledger.m4.md index 0a9fb6fc9..0d961845c 100644 --- a/hledger/hledger.m4.md +++ b/hledger/hledger.m4.md @@ -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;