Use of 12 months Partpayment for calculate pay from value.

A fix for invoice_fee to check if is_object and object exists

Also fixed a tiny error in Shortcodes.