From 91eb899b82228f3f1f4bd765c34577bdc9c26f09 Mon Sep 17 00:00:00 2001 From: Dmitry Astapov Date: Thu, 17 Oct 2019 21:47:55 +0100 Subject: [PATCH] doc: advise on the default account selection --- hledger-lib/hledger_csv.m4.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hledger-lib/hledger_csv.m4.md b/hledger-lib/hledger_csv.m4.md index c31d640e3..7bb33c2e5 100644 --- a/hledger-lib/hledger_csv.m4.md +++ b/hledger-lib/hledger_csv.m4.md @@ -253,8 +253,11 @@ The order of same-day entries will be preserved ## CSV accounts -Each journal entry will have at least two [postings](journal.html#postings), to `account1` and some other account (usually `account2`). -It's conventional and recommended to use `account1` for the account whose CSV we are reading. +Each journal entry will have at least two [postings](journal.html#postings), usually to `account1` and `account2`. + +It is entirely up to you which account field to assign to the account whose CSV we are reading, however you might +consider assigning it to the last posting (`account2` in the simplest case). This way, if the CSV contrains transactions in multiple currencies, +and you don't provide posting [prices](journal.html#transaction-prices) explicitly they will be priced in the currency of the last posting. ## CSV amounts