optimize billing for customers with lots of existing packages and invoices, RT#30238