{\displaystyle {\ce {RCO2H + ClCOCOCl ->[DMF] RCOCl + CO + CO2 + HCl}}}