[NH2:1][CH2:2][P:3](=[O:6])([OH:5])[OH:4].O.[C:8]([OH:12])(=[O:11])[CH:9]=O.[CH:13](O)=[O:14]>>[CH:13]([N:1]([CH2:2][P:3]([OH:5])([OH:4])=[O:6])[CH2:9][C:8]([OH:12])=[O:11])=[O:14]Aminomethylphosphonic acid (3.12 g, 0.028 mol) was dissolved in 30 ml of stirred 98% formic acid maintained at 80° C. with an oil bath. Glyoxylic acid hydrate (5.60 g, 0.061 mol) was added to the solution in several portions, resulting in vigorous gas evolution. After one hour, the reaction flask was removed from the oil bath and the solvent removed on a rotary evaporator to afford crude N-formyl-N-phosphonomethylglycine as a viscous yellow oil.