Thank you both -- this makes sense (and I'm finally getting through the query language documentation which, as I believe / hope I'm correctly understanding, is where that closing-from-whatever-date would occur!)
As a followup: how would I handle account for changes to equity with this approach? To be clear I'm talking about net profit that hasn't be distributed / the asset still exists in the company.
Specifically, we report allocations for each partner to tax authorities based on an annual reporting period; this is where our targeted allocation formulas kick in, etc.
I'm having trouble meshing the "close any time" concept with the ability to track that equity allocation -- particularly in a situation where partners might join or leave over time, or might have different targeted allocations of a given annual profit.
I hope the problem / question makes sense.
Note: one idea I had is that maybe I need to just create parallel register purely to track equity. It would ONLY track contributions, distributions, balanced against cash -- and end-of-year allocations balanced against {some well named account}. The separation and slight duplication makes this an imperfect concept... but I'd love to know if it's my best bet!
Or... is there some way to give beancount a "hint" about how I want equity to get distributed when books close for a given period (e.g. a set of transactions against the `
Equity:Earnings:Current` that only gets recognized when running CLEAR queries?)