fix invoice and package reports, RT#13860, RT#12515