In several solid-state synthesis and sol-gel synthesis for similar compounds, sometimes NH4H2PO4 is used and sometimes (NH4)2HPO4 is used instead.
I would like to find out if it is one chosen randomly and could be substituted by the other one or there is an explanation why one is chosen.
I already know their differences in acidity and that P-O bonds where the O is protonated are longer and rarely forms coordinated bonds, but I would appreaciate a further explanation for the aforementioned issue.