You may have to prefix your documents with a date in order for them to be found.
OptGroup(""" A list of directory roots, relative to the CWD, which should be searched for document files. For the document files to be automatically found they must have the following filename format: YYYY-MM-DD.(.*) """, [Opt("documents", [], "/path/to/your/documents/archive")]), The source code is located here: https://github.com/beancount/beancount/blob/master/beancount/ops/documents.py#L78 On Sat, Dec 4, 2021 at 4:48 AM 'Vinit Khandagle' via Beancount < beancount@googlegroups.com> wrote: > Hello Everyone, > > So I am trying to understand how to use document directive efficiently. > They way I do is: > have an "option" directive pointing to the directories lets say > "beancoount/Expenses". But the declaration of the "option" directive alone > does not populate the document section in fava. > > Then for each transaction I have to point it explicitly to the scanned > copy in the sub directories in the expense folder for the document to show > up in the documents section on Fava. This seems quite tedious to do for > every transcation esp if have lots of accounts in Expenses with 4-5 levels > deep. > > What is the efficient way of using documents so that you don't spend too > much time recording the entries and you still see the documents in the > documents section in fava. > > -- > You received this message because you are subscribed to the Google Groups > "Beancount" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to beancount+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beancount/82da3624-626b-42a0-8e8f-7971c3f1942bn%40googlegroups.com > <https://groups.google.com/d/msgid/beancount/82da3624-626b-42a0-8e8f-7971c3f1942bn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to beancount+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAK21%2BhPADLKxk3n6142wXe0OQmcPbA3av18LXO%3DuwE6gQ0X2RA%40mail.gmail.com.