Preparation of compounds based on phosphates of selected organic amines and their characterization by the methods of vibrational spectroscopy, thermoanalytical and electrochemical methods and x-ray structural analysis