The Purge Invoice History component of the Invoicing module is made up of the following program:
For details on this program, click on the link above.