Concept and types of legal documents