Fail gracefully on missing invoice_id.