singleInvoice($request->type, new SingleMemberQuery($member)); return null === $invoice ? response()->noContent() : Tex::compile($invoice); } }