Bug 10401: Add ability to merge invoices