MT#7803 Cleanup tmp after invoice generation.