Cleanup PDF invoice generation.