Commit graph

4 commits

Author SHA1 Message Date
08585f7fca
Make import/read-csv more testable, warn about any unexpected categories
Previously import/read-csv opened a file on the filesystem, making it hard to
test. Now it takes a string or java.io.Reader.

The warning about non-zero records with category "PFML ER PU" has now been
generalised to flag any non-zero records with an unknown category.
2026-02-13 18:30:58 +11:00
23cc4657ee
Make CSV file an argument, handle blank amounts and add non-zero PFML warning
Was producing an error due to new PFML field with blank amounts.
2026-02-13 13:36:15 +11:00
5b8951c0f0
Support rename of "Liability" to "Liability Expense" on recent CSVs 2025-07-04 16:14:18 +10:00
47cabfb0a9
Add example data and test, fix ungrouping, extend docs 2024-02-22 14:06:45 +11:00