I think you could write those sort of constraints using ledger's advanced matching expressions. Then have an external script which verifies those reports are empty. shelltestrunner (based on ledger's test harness) is one tool that could help. Or, this might work as a built-in "ledger check" command.

Reply via email to