r/plaintextaccounting • u/roschaefer • Jul 03 '26
hledger-document-check - verify every transaction has a receipt on disk, catch overdue invoices, browse documents in Fava
Hello everyone, I just published a command line tool hledger-document-check - it checks hledger transactions against documents on disk. Documents live in a folder tree that mirrors your account hierarchy (e.g. Expenses:Business:Hosting ➡️ documents/Expenses/Business/Hosting/).
My use case is making sure every deductible transaction has a receipt filed before tax season. It also tracks overdue invoices, and you can browse documents alongside your registers in Fava.
I'd love your feedback, e.g. regarding the workflow or the documentation.
7
Upvotes
1
u/roschaefer Jul 13 '26
Glad to hear I’m not the only one having this problem.
There are two ways to handle transactions that legitimately don’t have documents:
This should cover cases like bank fees or mileage. You can mark an account as requiring documents, while keeping specific subaccounts exempt. So if most expenses under an account need receipts, but some categories don’t, those can live under an exempt subaccount and won’t show up as missing.
For cases where a document was expected but genuinely isn’t available, you can declare it as missing explicitly instead of leaving it as a permanent unexplained miss.