Another method involves the use of oxalyl chloride:
The reaction is catalysed by dimethylformamide (DMF), which reacts with oxalyl chloride to give the Vilsmeier reagent, an iminium intermediate that which reacts with the carboxylic acid to form a mixed imino-anhydride. This structure undergoes an acyl substitution with the liberated chloride, forming the acid anhydride and releasing regenerated molecule of DMF. Relative to thionyl chloride, oxalyl chloride is more expensive but also a milder reagent and therefore more selective.