From db4d7d0dbe95bc11b244576b36f3705f8732ac4c Mon Sep 17 00:00:00 2001 From: Michael Rees Date: Sat, 31 May 2025 21:33:33 -0500 Subject: [PATCH] ;doc: Update manual to describe assertion checking in hledger add --- hledger/hledger.m4.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/hledger/hledger.m4.md b/hledger/hledger.m4.md index 1b62b0eee..9b63be93f 100644 --- a/hledger/hledger.m4.md +++ b/hledger/hledger.m4.md @@ -1806,7 +1806,16 @@ Balance assertion failure messages show exact amounts. Balance assertions can be included in the amounts given in `add`. All types of assertions are supported, and assertions can be used as -in a normal journal file. +in a normal journal file. + +All transactions, not just those that have an explicit assertion, +are validated against the existing assertions in the journal. +This means it is possible for an added transaction to fail even if its +assertions are correct as of the transaction date. + +If this assertion checking is not desired, then it can be disabled with `-I`. + +However, [balance assignments](#balance-assignments) are currently not supported. ## Posting comments