Not being cynical, but you really need to research this subject before you transfer. Your "file it as a mortgage' doesn't really make any sense, and your "do I need to ask permission, or fill specific docs" shows you know nothing of Thailand's complicated rules and regulations, so once again my advice is to research this with a Lawyer or proper authorities.