planner-ledger.el provides integration between planner and John Wiegley's ledger accounting program, which can be found at http://newartisans.com/johnw/ledger.tar.gz.
To use planner-ledger to insert a ledger balance overview and a list
of pending transactions into planner day pages, make sure that your
day page includes sections that match
planner-ledger-balance-regexp
and
planner-ledger-pending-regexp
. Example:
* Tasks * Ledger ** Pending transactions * Notes
You can manually update ledger sections with the planner-ledger-insert-maybe command.
You can also automatically update ledger sections with the following hook:
(add-hook 'planner-goto-hook 'planner-ledger-insert-maybe)
You can create ledger entries from specially-formatted tasks using planner-ledger-add-entry-from-task. Tasks should be of the form ‘payment due: payee, amount [comment]’. Example:
#A1 _ payment due: foobar, $1000.00 some comment here #A2 _ payment due: baz, 1000.00
List of accounts to be included or excluded from the balance overview. ‘+’ includes all matching accounts, and ‘-’ excludes matching accounts. See the documentation for ledger-run-ledger for more details.
Regular expression matching section for ledger balance. Do not store other data in this section, as it will be overwritten.
Regular expression matching section for ledger balance. Do not store other data in this section, as it will be overwritten.