Cost Per Invoice Calculation