The reaction of p-fluorobenzamide (I) with phosphorus pentachloride (II) in refluxing CCl4, followed by a treatment with formic acid gives N-(dichlorophosphinyl)-p-fluorobenzamide (III), which is then treated with NH3 in CHCl3.