Extensible double-entry accounting