Small changes to make more resilient when not rateAmountId can be determined; added TODO notes about supporting vendor time invoices