invoice_data) { return response()->noContent(); } $invoice = BillDocument::from($payment->invoice_data); return Tex::compile($invoice); } }