Thanks for reaching out, Ryan, at first glance this seems to be a valid issue as `post.xdata().has_flags(ledger.POST_MUST_BALANCE)` returns `False` when `post.must_balance()` returns `True`. Using `post.must_balance()` might be a viable interim solution.
Unfortunately there is no `is_virtual()` function on the `Posting` type and the exposed `has_flags` fails with the following error for me: ``` did not match C++ signature: has_flags(supports_flags<unsigned char, unsigned char> {lvalue}, unsigned char) ``` It would be greatly appreciated if you could file a bug against ledger for this. Best Alexis -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to ledger-cli+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/20221227161300.zzlpikezcig3qp66%40kei.local.