[F:1][C:2]1[CH:7]=[C:6]([F:8])[C:5]([F:9])=[CH:4][C:3]=1[CH2:10][C:11](=O)[CH2:12][C:13]([O:15][CH3:16])=[O:14].C([O-])(=O)C.[NH4+:22]>CO>[NH2:22]/[C:11](/[CH2:10][C:3]1[CH:4]=[C:5]([F:9])[C:6]([F:8])=[CH:7][C:2]=1[F:1])=[CH:12]\[C:13]([O:15][CH3:16])=[O:14]Methyl 4-(2,4,5-trifluorophenyl)acetoacetate (21) was treated with anhydrous ammonium acetate in an alcoholic solvent, preferably methanol, and preferably at higher temperature, preferably at 60-65° C. The methyl(Z)-3-amino-4-(2,4,5-trifluorophenyl)but-2-enoate (28) formed was preferably isolated by complete removal of the solvent under reduced pressure, separation of excess of ammonium acetate by using a polar organic solvent such as ethyl acetate, distillation of the polar organic solvent and triturating the product with non-polar solvents like hexane.