Solving the problem of complex document processing for insurance companies