Switch from a paper flow of documents to an electronic flow with digital signatures and smart documents