Documents generation is a very important service in the insurance industry; it is often required to send welcoming letters, insurance policy, payment information and other documents to the users. The models of these documents are consistent, but the internal parameters are different. This service provides the function of generating documents based on user-defined templates, data, and parameters. The document generation service consists of two parts: a. Template maintenance service b. Document generation task management service. Through the template maintenance service, the user can query template, upload template, download template, update template, and delete template. While through the task management service, the user can query the detailed information of document generation task like the template related with the task, the data source related with the task, the status, the task start time and end time.