Hi everyone. I am having trouble understanding how are the open account directives created when using importers.
I wrote a couple importers which work and the ledgers can be ingested by bean-web or interactive bean-query. I wnated to automatize my queries by running the non-interactive version or by running bean-report. However, my ledger (although working well with tools above) has a lot of errors: missing open directives. I checked multiple repositories with examples of how to solve this but full-text search never finds anything matching "open" in the source codes. So, how do these open instructions appear in people's ledgers? Are you guys adding them manually? For all the hundreds of expense types? I find it hard to believe this. Naively, I thought of just going thorugh all accounts from the importer and adding OPEN instruction for them but then, I have multiple importers each of them potentially creating postings accessing the same account so their open directives would be conflicting. Hacking around this seems too complex and I am sure there is a solution to it... So, please, how do you create the open directives? -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/913e7dd1-6be0-4202-9935-a73a9d93871bn%40googlegroups.com.
