Yes, that exactly what I do, I have subdirectories with files in it with the date as the prefix. Yet, Unless I give the explicit path to the document I don't see the files in the document setion.
On Saturday, December 4, 2021 at 9:08:27 PM UTC+5:30 bl...@furius.ca wrote: > 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 < > bean...@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+...@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/10ed6949-4521-433c-ae3c-85a732b9bcc3n%40googlegroups.com.