A simple document repository with an invoice counter