invoice management in clojure