Workflow accounting system