Work on Invoices, metadata, error handling, and a bug fix with customer's trial_end.