How to Calculate Invoice Amounts