Catalyzes the oxidation of chloride in the presence of hydrogen peroxide to hypochlorous acid (ClOH), which in turn can react with a nucleophilic acceptor (RH), to form a chlorinated compound. RH + Cl(-) + H2O2 = RCl + 2 H2O. Homotetramer. Expression takes place in the secondary-growth phase initiated by nutrient depletion. The N-terminus is blocked. Belongs to the vanadium-dependent haloperoxidase family.