Internal system for flow of documents