Support question for the #hledger #plaintextaccounting community:
Prefacing this by acknowledging that I know I'm probably trying to do something weird, but I’m just getting started so please be patient.
I’m trying to import a large CSV file and am running into unbalance transaction errors. For example:
> hledger: Error: /Users/cris/checking.csv:1751-1750:
> 1751 | 2025-03-21 Starting Balance
> | SBA $-100
>
> This transaction is unbalanced.
> The real postings' sum should be 0 but is: $-100
The line from the CSV file is:
> SBA,,03/21/2025,Starting Balance,,,,,$100,$0.00,Cleared
And the relevant rule from my import rules:
> fields account1, , date, description, , , account2, comment, amount-out, amount-in,
I can manually add the above transaction without issues, so I guess I need some clarity as to what I'm doing wrong with my import file.
Thanks!



