Add total rate attribute to Invoice