[F:1][C:2]1[CH:3]=[C:4]([CH:8]=[C:9]([F:11])[CH:10]=1)[C:5]([OH:7])=[O:6].[C:12](Cl)(=O)C(Cl)=O.CN(C)C=O.CO>ClCCl>[F:1][C:2]1[CH:3]=[C:4]([CH:8]=[C:9]([F:11])[CH:10]=1)[C:5]([O:7][CH3:12])=[O:6]To a solution of 3,5-difluorobenzoic acid (10 gm, 63.2 mmol) in dichloromethane (100 mL) was added oxalyl chloride (11.96 gm, 94.9 mmol) at 0° C. followed by addition of dimethylformamide (2 mL). The resulting reaction mixture was stirred for about 3 hours at room temperature. Methanol (100 mL) was added to the reaction mass and stirring was continued further for 20-30 minutes. Solvents were evaporated to obtain an oily mass which was further purified by column chromatography over silica gel (100-200) using ethyl acetate/hexane gradient elution to afford colorless methyl 3,5-difluorobenzoate (10 gm, 91.91%).