From 550c248088bbb2ab5b9138db41c6739dc1b336ca Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 4 Jan 2023 22:42:45 -1000 Subject: [PATCH] ;doc: csv: note -in and -out are used together for one posting (#1970) --- hledger/hledger.m4.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hledger/hledger.m4.md b/hledger/hledger.m4.md index 6aa2e0113..439b3aa0e 100644 --- a/hledger/hledger.m4.md +++ b/hledger/hledger.m4.md @@ -3412,6 +3412,9 @@ they set both posting 1's and posting 2's amount. Posting 2's amount will be negated, and also converted to cost if there's a [cost price](#costs). +Note: it might sound as if amount-in is for one posting and amount-out for the other posting, but no; +use the -in and -out rules together for the same posting, producing one amount from two CSV fields. + If you have an existing rules file using the unnumbered form, you might want to use the numbered form in certain conditional blocks, without having to update and retest all the old rules.