Again, thanks to all of you.
The solution was in front of my eyes:
var r = await _contextInvoice.Database.ExecuteSqlRawAsync
("EXEC validar_cliente_factura CTE_NUMERO,@RESPUESTA OUTPUT", numero,output);
)
The value i wanted was here: output. Just have to ask for it in this way
(string)output.Value