Double entry bookkeeping api