From 2983b4971f3e616c79d187e8032b4e227a7580e6 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 4 Jan 2023 08:01:54 -1000 Subject: [PATCH] ;doc: csv: clarify amount-in/amount-out docs (#1970) --- hledger/hledger.m4.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hledger/hledger.m4.md b/hledger/hledger.m4.md index 4c9a23327..ea3bb480b 100644 --- a/hledger/hledger.m4.md +++ b/hledger/hledger.m4.md @@ -3402,7 +3402,8 @@ By assigning to `amount1`, `amount2`, ... etc. you can generate up to 99 posting `amountN-in` and `amountN-out` can be used instead, if the CSV uses separate fields for debits and credits (inflows and outflows). hledger assumes both of these CSV fields are unsigned, and will automatically negate the "-out" value. -If they are signed, see ["Setting amounts"](#setting-amounts) below. +It also requires that at least one of them is either empty or zero. +See ["Setting amounts"](#setting-amounts) below for more on this topic. `amount`, or `amount-in` and `amount-out` are a legacy mode, to keep pre-hledger-1.17 CSV rules files working (and for occasional convenience).