Real-time bookkeeping