Curtoys, Joseph, active 1771-1779, Consul at Barcelona